| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
relocation of ld.so's GOT without using it, so _reloc_alpha_got()
merely made the call to _dl_boot_bind() from asm simpler...while
itself being a call that required special handling.
diff and muild baking by miod@
ok guenther@
|
|
|
|
| |
ok kettenis@
|
|
|
|
| |
ok phessler@ deraadt@
|
|
|
|
| |
save that and pass it to _dl_boot_bind() too
|
|
|
|
|
|
|
|
|
|
|
| |
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@@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds alpha-specific first-pass GOT relocation code to boot.h.
The assembly code is pure magic. The numeric register
names don't make it easier to understand (or compare with the
equivalent ld.so code). Unfortunately the assembler only understands
a few symbolic register names.
Renames the crt0.o entry point to __start. Our compiler was already using
__start and the linker will soon follow.
ok kurt@
|
|
|
|
|
|
|
| |
build flags into conditionals in the Makefile, fixing a few inconsistencies
in the process.
\o/ miod@
|
|
|
|
|
|
| |
the md_init.h files.
Worked out with and ok miod@; ok matthew@
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
gcc with pie support to be built first.
ok kettenis@
|
|
|
|
|
|
|
| |
these previously ignored PICFLAG settings become active. Remove PICFLAG
overrides to restore -fpic/-fPIC modes. In snaps for a week.
okay drahn@
|
|
|
|
| |
ok deraadt@
|
| |
|
|
|
|
| |
ok drahn@, deraadt@
|
|
|
|
|
|
| |
be a section which code stubs (branches) can be added to initialize/destructor
This adds MD stubs to allow this to operate as expected. should fix wine
and behave according to ELF specs. ok miod@
|
| |
|
|
|
|
| |
to build startup code the same on all (ELF) archs. hppa ok mickey@
|
|
|
|
| |
does not make propolice reporting ineffective; millert miod ok
|
| |
|
| |
|
|
|
|
| |
path of least surprise. Ok millert@
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Zap dead code.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|