summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2017-08-25Fix detection whether /usr/share is on a nfs mounted filesystem.Robert Peichaer
2017-08-22descend into reorder_kernelJonathan Gray
2017-08-21Move the kernel relinking code from /etc/rc into a seperate scriptRobert Peichaer
/usr/libexec/reorder_kernel. Requested by ajacoutot@ to be able to relink the kernel from within syspatch(8). OK deraadt@ tb@
2017-08-19Build ld.so with ${DEBUG} which defults to -g, like other "libraries" are.Theo de Raadt
This provides some unwind benefits. ok kettenis dlg
2017-08-16remove accidentally duplicated cpp chunksTheo de Raadt
ok kettenis
2017-08-16Adapt the commit in libc that changes how a string like "0xy" isTodd C. Miller
parsed. OK deraadt@
2017-08-15Align text locations to 16 (instead of 4) to match modern recommendationsTheo de Raadt
(generally associated with hardwired BTC limitations). And then fill those alignments with 0xcc (int 3) to match our trapsled model. Resulting binaries show no sequential nop's. ok mlarkin kettenis mortimer
2017-08-13Get R_MIPS_* defines via <machine/reloc.h>.Visa Hankala
OK guenther@
2017-07-23from libc malloc: only access offset if canaries are enabled *and* size > 0Otto Moerbeek
and initialize ->offset to a definite value in the size == 0 case
2017-07-20When login_skey was called for a user without skey, it crashed withAlexander Bluhm
NULL pointer dereference. It tried to pass a file descriptor that did not exist. This has to be done conditionally. bug found by Raimund Specht with process accounting; OK millert@
2017-07-07allow fetching lists from https:// URLs tooDamien Miller
2017-07-07switch user to _spamd before executing ftp(1) to fetch lists.Damien Miller
sprinkle in some closefrom(2); ok deraadt@ beck@
2017-07-02Fixed a typo in error message.Tobias Stoeckmann
ok jmc@
2017-06-22Do not interpret an empty path as current working directory "." whenSebastian Benoit
parsing LD_LIBRARY_PATH, and in DT_RPATH and DT_RUNPATH attributes and in ld.so.hints. ok deraadt@
2017-06-04Remove the sigprocmask stub that has long been made unused sincePatrick Wildt
the use of kbind. The code was #if 0'd anyway. Reminded by miod@
2017-06-04For the memory operand, clang passes in an address relative to theChristian Weisgerber
stack pointer. We cannot use this twice while pushing values on the stack. Instead load the operand address into a register and use this as base address. Use %edx since it is already marked as clobbered. Also fixes a syntax problem for clang. ok mlarkin@
2017-05-29do not need dev[] wasting bss spaceTheo de Raadt
2017-05-28Do a better job of not printing sequences we cannot reverse in DELETE orTheo de Raadt
KILL. Therefore we can do a better job cleaning up. testing by benno
2017-05-27Stop echoing ANSI sequences back to the console, by expanding ESC characterTheo de Raadt
to literal ^[. This makes getty interaction appear more like login, and stops a mid-ANSI sequence parsing problem that messed up login, making it freeze the session until timeout. ok tedu fcambus
2017-05-27Stop supporting primordial # (erase) and @ (kill) sequences.Theo de Raadt
ok tedu
2017-05-27remove the getname() code trying to handle baud < 1200 terminals.Ted Unangst
leave the special down under code until somebody unearths why it exists.
2017-05-27bzero -> memsetTed Unangst
2017-05-27remove support for OSFTed Unangst
2017-05-27unifdef XXX_DELAY which is older than i amTed Unangst
2017-05-25Xr inetd as a hint about what flavor of crazy you're dealing withTed Unangst
2017-05-08Always use the same callback to unlock as was used to lock. PermitsPhilip Guenther
libpthread initialization from a shared object's init (or fini, I suppose) routines. ok kurt@ kettenis@ espie@
2017-04-27Change len arg of getidle() from size_t to int since it is used asTodd C. Miller
a length parameter to a "%.*s" printf format. Quiets a compiler warning (both gcc and clang).
2017-04-27challenge is an array, not a pointer, therefore cannot be NULL.Todd C. Miller
Quiets a clang warning.
2017-04-27Don't send multiple error messages in response to a single commandMike Belopuhov
While a few commands (such as HELP and NOOP) are allowed in between USER and PASS, most of the others are not. However if such command is issued, ftpd should abort the command evaluation early and reply with "530 Please login with USER and PASS." From form@, with input from deraadt@ and OK millert@
2017-04-17memset() of password field should be explicit_bzero().Theo de Raadt
[Not using freezero() in yacc files yet]
2017-04-17freezero() can be used hereTheo de Raadt
2017-04-06fix missing \ on \n, spotted by Edgar PettijohnBob Beck
2017-04-03check return from pread, don't divide -1 for countTed Unangst
2017-04-03use recallocarray() because the array contains data that can be observedTheo de Raadt
2017-04-02note that some hosts never generate tuples and are ignored;Jason McIntyre
ok beck
2017-04-02Prefer pread() over lseek()+read()Philip Guenther
open() only needs the mode argument if O_CREAT is present ok beck@ deraadt@
2017-03-16define the role of spamd-setup a little better;Jason McIntyre
2017-03-16use one way to show filter rules, not two. the bits and pieces of theJason McIntyre
spamd setup are complex enough without freestyling the pf rules; while here, Bk/Ek no longer required
2017-02-18Add NULL tests to wrterror() to avoid a NULL deref when called fromPhilip Guenther
malloc initialization or a free() error path. Prompted by libc's malloc.c rev 1.214; with correction from jsg@ and otto@ ok jsg@ krw@
2017-02-16correct format strings, ok guentherTheo de Raadt
2017-02-16Match the recent change in the kernel and ask for a generic armv8-aJonathan Gray
encoding rather than one based on and tuned for cortex-a57 when using +nofp+nosimd.
2017-02-15Make this build (and run) with gcc 4.Miod Vallat
2017-02-08Provide size-generic ELF_NO_ADDR in <sys/exec_elf.h> and use that insteadPhilip Guenther
of ELFDEFNNAME(NO_ADDR) ok jca@
2017-01-30Fix ELF64_R_TYPE(reloc->r_info) to have the same type on mips64lePhilip Guenther
as on other LP64 archs, __uint64_t, so that printf-like functions don't require extra casting...then eliminate the extra cast in ld.so/mips64/rtld_machine.c discussed with miod ok visa@
2017-01-29Previous commit broke build on loongson. Refix by addingVisa Hankala
an explicit type cast. Reported and tested by matthieu@
2017-01-25Fix build on mips64.Visa Hankala
2017-01-24make ldso[] const; OK guenther@Todd C. Miller
2017-01-24For consistentcy, use 'void *' with %p instead of 'char *'Philip Guenther
2017-01-24To format r_addr, use %p and cast to 'void *'. From comparison withPhilip Guenther
other archs
2017-01-24On fatal errors, kill ourselves with thrkill(0,9,NULL) instead ofPhilip Guenther
simply exiting, via helper functions _dl_die(), _dl_diedie(), and _dl_oom(). prompted by a complaint from jsing@ ok jsing@ deraadt@