Age | Commit message (Collapse) | Author |
|
around in the address space. Don't bother doing so for the buffer
which contains aslr'd pointers...
ok millert
|
|
|
|
|
|
- remove some XXX i no longer need
|
|
includes some fixes from schwarze, as well as some general tweaking;
ok deraadt schwarze
|
|
As reported by Yuri Pankov, some versions of GCC whine that "tmp"
might be used uninitialized in fts_open(3). Clearly, that cannot
actually happen, but explicitly setting it to NULL is safer anyway.
While here, rename the badly named variable "tmp" and make the
inner "if" easier to understand.
Feedback and OK guenther@
|
|
ok tom@
|
|
closedir() outside the loop. OK deraadt@ guenther@ markus@
|
|
Previously, syslog_r() would avoid calling strerror() since the latter
is not reentrant. OK bluhm@
|
|
SIGTTOU it means the process is not in the foreground process group
which, in most cases, means that the shell has taken control of the
tty. Requiring the user the fg the process in this case doesn't
make sense and can result in both SIGTSTP and SIGTTOU being sent
which can lead to the process being suspended again immediately
after being brought into the foreground.
|
|
|
|
all dns socket connections will be redirected to localhost:port.
this could be a sockopt on the listening socket, but sysctl is
an easier interface to work with right now.
ok deraadt
|
|
|
|
|
|
OK guenther@
|
|
|
|
or prototypes. Ditto for some of the char* and void* casts too.
verified no change to instructions on ILP32 (i386) and LP64 (amd64)
ok natano@ abluhm@ deraadt@ millert@
|
|
|
|
|
|
|
|
|
|
ok deraadt@
|
|
remove some references to differences between versions 6 and 7.
ok jmc, millert, tedu
|
|
swapping between two syn caches for random reseeding anyway, this
feature can be added easily. When the cache is empty, there is an
opportunity to change the hash size. This allows an admin under
SYN flood attack to defend his machine.
Suggested by claudio@; OK jung@ claudio@ jmc@
|
|
ok deraadt
|
|
bug catching and ok millert@
|
|
|
|
|
|
one path. When the list is empty (contain only a NULL pointer), return
EINVAL instead of pretending to succeed, which will cause a NULL pointer
deference in a later fts_read() call. From FreeBSD.
|
|
entries) and net.inet.ip.arpdown (expire timer for unresolved entries)
ok mpi@
|
|
is empty. Otherwise, programs using fts(3) will report an error
if one of the paths is empty instead of just treating it as a
non-existent file. OK guenther@
|
|
okay millert@
|
|
based on the actual device, not any kind of inode equality which won't hold
for duplicates of the dev tree in a chroot)
no bump as it doesn't change any API.
okay and improvements guenther@
|
|
|
|
cannot be bound to by non-root users.
Ok millert@ bluhm@
|
|
|
|
We don't support Router Renumbering and there are no plans to change
that. ok mpi@
|
|
|
|
syntactically correct" roff mess. Follow the mdoc style guide on
function pointers to improve this a little. Neglect and remove a
comment that advises against trying to fix this.
guidance and ok schwarze@
|
|
|
|
longjmp performs can't really be relied upon, even after we got rid of the
false positives...
ok millert@ deraadt@
|
|
|
|
from Edgar Pettijohn <edgar at pettijohn minus web dot com>.
OK jmc@ deraadt@
While here, remove two instances of inconsistent future tense.
|
|
|
|
hppa reverse-stack gives us a valuable test case, but most developers don't
have a 2nd one to proceed further with this.
ok kettenis
|
|
via the _shadow functions will open now, preventing some programs running
as root from accidentally loading password hashes it into their memory.
ok deraadt
|
|
slightly better code on some archs
|
|
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!
Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!
Clean up libpthread's symbol exports like libc.
On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.
Testing by various, particularly sthen@ and patrick@
ok kettenis@
|
|
syscall behave exactly like userspace getlogin_r() and rename it to
match. Eliminate the reduced-to-no-op wrappers of the syscalls.
Eliminate the unnecessary per-thread static buffering by getlogin().
ok kettenis@ deraadt@
|
|
|