Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-12 | Hook auxcpp | Matthieu Herrb | |
2014-07-12 | Eliminate strcpy() and sprintf() in auxcpp. ok deraadt@ | Matthieu Herrb | |
2014-07-12 | Local tweaks to ucpp: | Matthieu Herrb | |
- exit on the 1st error it finds. Better than stopping processing input - accept -P as a synonym for -l since this is what xrdb uses to suppress #line markers. | |||
2014-07-12 | Rename the manual page to auxcpp.1 | Matthieu Herrb | |
2014-07-12 | BSD Makefile for auxcpp | Matthieu Herrb | |
2014-07-12 | Import a copy of ucpp, lightweight cpp that doesn't depend | Matthieu Herrb | |
on the 'comp' set. Moving from xenocara with a new name. ok deraadt@. | |||
2014-07-11 | using COPTS is probably better than CFLAGS | Theo de Raadt | |
2014-07-10 | check all memory allocations; ok miod@ guenther@ | Otto Moerbeek | |
2014-07-10 | typo in previous | Miod Vallat | |
2014-07-09 | Use O_CLOEXEC to make sure fork+exec in a threaded process can't | Philip Guenther | |
see the fds used by dlopen() ok otto@ miod@ | |||
2014-07-09 | _dl_fcntl() is no longer used; kill the stubs | Philip Guenther | |
ok otto@ miod@ | |||
2014-07-09 | Resync _dl_opendir() with libc: use O_CLOEXEC and O_DIRECTORY instead | Philip Guenther | |
of post-open tests and fixups. Also, reorder _dl_dirdesc to save 8 bytes on LP64. ok otto@ miod@ | |||
2014-07-09 | Fix backtraces through _dl_bind_start by adding dwarf annotations for | Philip Guenther | |
the stack adjustments/handling in the asm. Based on FreeBSD. ok kettenis@ matthew@ | |||
2014-07-08 | decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.h | Theo de Raadt | |
don't need to be married. ok guenther miod beck jsing kettenis | |||
2014-07-06 | allocate two things, test two pointers; ok miod@ guenther@ | Otto Moerbeek | |
2014-07-06 | int all fields, so calloc can become malloc; ok miod@ | Otto Moerbeek | |
2014-07-06 | enable -Wall, explicitly call _dl_strsep, and zap some redundant includes | Otto Moerbeek | |
ok miod@ | |||
2014-07-06 | Apply ld.so's sod.c 1.25 (do not divide by zero in _dl_findhit if there is a | Miod Vallat | |
valid hints file but no buckets in it) here too, in order to keep both instances of this code in sync. | |||
2014-07-06 | this version of malloc does not need string.h | Otto Moerbeek | |
2014-07-06 | rm unneeded includes; prompted (partly) by kettenis@ | Otto Moerbeek | |
2014-07-06 | move from sysclt(KERN_ARND) to getentropy(2); ok miod@, kettenis@ | Otto Moerbeek | |
2014-07-05 | Mark _dl_exit __dead. | Miod Vallat | |
2014-07-05 | Implement _dl_mmap as direct mmap(2) wrapper, without needing to use | Miod Vallat | |
__syscall(2) - calling convention will conveniently provide the padding argument. | |||
2014-07-05 | Add more sugar to build syscall stubs, and turn them from inlines to real | Miod Vallat | |
entry points; also, make sure syscall failures return -errno rather than -1. | |||
2014-07-05 | Add more sugar to build syscall stubs, and turn them from inlines to real | Miod Vallat | |
entry points, now that we no longer need _dl_mprotect to be inline; also, make sure syscall failures return -errno rather than -1. | |||
2014-07-05 | Add more sugar to generate syscall stubs; and make sure errors are reported | Miod Vallat | |
with a negative value (I'm looking at you, _dl_mmap); | |||
2014-07-05 | Unlike libc syscall stubs, ld.so syscall stubs are expected to return -errno, | Miod Vallat | |
rather than -1, upon failure. Even though nothing in ld.so currently needs to explicitely check for specific error values, consistency doesn't hurt. | |||
2014-07-05 | No need to redefine DT_PROCNUM and DT_BIND_NOW here, these are provided by MI | Miod Vallat | |
<elf_abi.h>. | |||
2014-07-04 | Remove bogus mprotect call from RELOC_REL() - this macro is used to relocate | Miod Vallat | |
ld.so itself only, and ld.so on mips only has relocations in the .data section, which is writable. | |||
2014-06-26 | Do not redirect STDERR of the main security(8) script to /dev/null, | Ingo Schwarze | |
not even for calling three particular functions, as that carries a risk of hiding serious errors in the security(8) script itself: otto@ found and reported a bug (already fixed by now) where that hurt him. Instead, only do the redirection where it is really needed, that is, inside the forked csh(1) child process. The csh(1) "eval" builtin is required because the csh(1) "source" builtin apparently ignores redirections. No objections came up when showing this diff on tech@. | |||
2014-06-24 | The Perl close() function, when called on pipe file descriptors, | Ingo Schwarze | |
provides information from wait(2), which needs careful inspection in order to not hide errors. Problem identified by florian@ after a bug report from otto@. Fix based on a patch from florian@, considerably tweaked by me. OK florian@ | |||
2014-06-24 | Do not try to pass potentially non-existent array elements into | Ingo Schwarze | |
functions since that is going to kill the Perl interpreter. While here, do not attempt to parse $PATH or $ENV when undefined. Crash found the hard way with a dubious /root/.login file by otto@ who declares himself unable to read perl code even though he can apparently debug it with ktrace(1) - thanks for the excellent bug report! Feedback and ok florian@. | |||
2014-06-21 | Move to a non-zeroing _dl_malloc, a _dl_calloc and _dl_reallocarry and | Otto Moerbeek | |
fix _dl_strdup to return NULL instead of crash; ok deraadt@ | |||
2014-06-15 | move to a smaller rbytes buffer; ok miod@ deraadt@ | Otto Moerbeek | |
2014-06-21 | Move to a non-zeroing _dl_malloc, a _dl_calloc and _dl_reallocarry and | Otto Moerbeek | |
fix _dl_strdup to return NULL instead of crash; ok deraadt@ | |||
2014-06-14 | Make _dl_randombuf invoke sysctl KERN_ARND in 256-byte chunks, for this is | Miod Vallat | |
(currently) the largest output you can get from it. ok deraadt@ | |||
2014-06-05 | add malloc.c | Otto Moerbeek | |
2014-06-05 | Move to (slightly stripped) version of libc malloc; ok deraadt@ | Otto Moerbeek | |
2014-05-28 | Remove additional files generated during ld.so build on make clean. | Brad Smith | |
From drahn Bitrig ok miod@ guenther@ | |||
2014-05-28 | missing space in error message | Otto Moerbeek | |
2014-05-25 | Appease LLVM warnings.. | Brad Smith | |
error: shift count >= width of type [-Werror,-Wshift-count-overflow] Rework the ld.so relocation mask initialization. Clang complained about the shift code in the old versions of these, so improve the code. From drahn Bitrig ok miod@ | |||
2014-05-24 | Remove errant double quote; from Jean-Philippe Ouellet | Todd C. Miller | |
2014-05-02 | No need to figure out the area spanned by .got in _dl_md_reloc(); only | Miod Vallat | |
_dl_md_reloc_boot() needs to compute this. | |||
2014-04-29 | tedu ~/.klogin | David Coppa | |
ok henning@ deraadt@ | |||
2014-04-23 | Remove more Kerberos cruft. | Antoine Jacoutot | |
ok jca@ jmc@ | |||
2014-04-22 | Remove the kerberos login methods. | Reyk Floeter | |
2014-04-22 | Remove the kerberos login methods. | Reyk Floeter | |
ok henning@ | |||
2014-04-22 | Remove the kerberos login methods. | Reyk Floeter | |
ok henning@ | |||
2014-04-22 | Remove KERBEROS5 from the Makefiles (except ssh for now, where it is | Reyk Floeter | |
already manually disabled). ok deraadt@ | |||
2014-04-21 | check perms on .ssh/id_ed25519; Fritjof Bornebusch | Stuart Henderson | |