| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
OK deraadt@
|
|
|
|
|
|
|
|
|
|
|
| |
some of these functions were returning. That makes the +1word address
a fairly strong and easily located gadget. Put a hard-trap
instruction after the syscall. This remains a gadget for 'terminal
system' calls (such as execve), but hey that's why we have pledge w/o
"exec" throughout the tree.
Quite surprisingly, hppa's delay-slot load of SYS_exit makes it the
safest of the bunch, not that this helps anyone.
ok kettenis
|
|
|
|
| |
ok kettenis
|
|
|
|
|
|
|
|
|
| |
The assembler does not handle undeclared local symbols properly
and generates R_MIPS_CALL16 relocations where it should generate
local GOT references. For now, get along with the problem by
declaring local symbols where necessary.
OK kettenis@ guenther@
|
|
|
|
|
|
| |
to make clang happier.
No binary change with gas.
|
|
|
|
| |
ok kettenis@
|
|
|
|
| |
mips64be testing by deraadt@
|
|
|
|
|
|
|
|
|
|
|
| |
move their definitions and initialization in static links to libc.a
Make crt0 always invoke a new func _csu_finish() in libc to process the auxv
and to either register the ld.so cleanup function (in dynamic links) or
initialize environ and __progname and do MC_DISABLE_KBIND (in static links).
In libc, get pagesize from auxv; cache that between getpagesize() and
sysconf(_SC_PAGESIZE)
ok mpi@ "good time" deraadt@
|
|
|
|
| |
ok kettenis@ mpi@
|
|
|
|
|
| |
With much assistance from miod@
ok deraadt@@
|
|
|
|
| |
other ports do.
|
|
|
|
| |
value, which we have no use for. ok kettenis@
|
|
|
|
|
|
| |
fails.
ok kurt@
|
|
|
|
|
| |
instead handle it internally as $ra
solution from kettenis, ok guenther
|
|
|
|
|
|
|
| |
build flags into conditionals in the Makefile, fixing a few inconsistencies
in the process.
\o/ miod@
|
|
|
|
|
|
|
| |
to a 16 byte boundary in csu (similar to what the other arches where
_STACKALIGNBYTES != _ALIGNBYTES do).
This is necessary for long double variables on the stack to be correctly
aligned.
|
|
|
|
|
|
|
| |
means we no longer rely on how the C compiler sets up the initial stack frame
and allows us to get rid of MD_NO_CLEANUP.
ok deraadt@, guenther@
|
|
|
|
|
|
| |
work.
ok deraadt@, guenther@
|
|
|
|
| |
with and ok guenther
|
|
|
|
|
|
| |
the md_init.h files.
Worked out with and ok miod@; ok matthew@
|
|
|
|
|
|
| |
Delete unused #ifndef SCRT0 conditionals.
ok miod@
|
|
|
|
|
|
|
| |
executable (by mode or content), which can trip up builds with 'make -j'
(The generic fix is in share/mk/*; some Makefiles have their own INSTALL lines)
ok millert@ deraadt@
|
|
|
|
|
|
| |
deal with this.
ok miod@
|
|
|
|
|
| |
in the prologue; this gives a chance for binaries loaded with their stack over
2GB virtual, to run. Who's your daddi now?
|
|
|
|
|
|
|
| |
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
| |
|
| |
|
|
|
|
| |
the ports tree; ok pefo
|
|
|