| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
| |
From FreeBSD (glebius)
|
| |
|
|
| |
From Henri Kemppainen
|
| |
|
|
|
|
|
| |
A specially crafted struct sockaddr_dl argument can trigger a stack
overflow of a static buffer in libc. An attacker may be able to
use this to write to arbitrary locations in the data segment.
From FreeBSD (glebius); OK deraadt@ mestre@
|
| |
|
|
|
|
| |
issue reported by scott cheloha
ok otto
|
| |
|
|
| |
closedir() outside the loop. OK deraadt@ guenther@ markus@
|
| | |
|
| | |
|
| |
|
|
|
| |
been the default for ages, and I see no valid reason to be able to
disable it. ok natano@
|
| | |
|
| |
|
|
|
|
| |
quickly. In both cases it does not make sense to set hints on them.
So remove that option, which is just a remainder of old times when
malloc used to hold on to pages. ok stefan@
|
| |
|
|
|
|
| |
no need to wait until the first program using it breaks...
"could make sense" semarie@ (and thanks for the cluestick)
OK deraadt@
|
| | |
|
| |
|
|
| |
- redundant cast is redundant
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
time when we had national language support.
OK millert@
|
| |
|
|
|
| |
Previously, syslog_r() would avoid calling strerror() since the latter
is not reentrant. OK bluhm@
|
| |
|
|
|
|
|
| |
while there, super-user -> superuser for internal consistency;
diff from kirill miazine, tweaked by myself;
ok deraadt millert guenther
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
others.
C11 6.5.6.9 says:
When two pointers are subtracted, both shall point to elements of the
same array object, or one past the last element of the array object; the
result is the difference of the subscripts of the two array elements.
In these cases the objects are arrays of char so the result is defined,
and we believe that the report is based on a compiler incorrectly trapping
on defined behaviour.
|
| |
|
|
|
| |
prodded by otto@
ok kettenis@ otto@
|
| |
|
|
|
| |
Based on patch from yuanjie.huang at windriver.com via OpenSSH bz#2608,
with & ok millert, ok deraadt.
|
| | |
|
| |
|
|
| |
recomputing it all the time
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
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
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
instead of chunk itself; does not change actual allocated size; ok tedu@
|
| |
|
|
|
|
|
| |
of indirecting through __errno().
Register naming tweaks and clang testing by patrick@ and jsg@
ok kettenis@
|
| |
|
|
|
|
|
|
|
|
|
| |
Years ago Theo made read(2) return 0 on directories, instead of dumping
the directory content. Another behavior is allowed as an extension by
POSIX, returning an EISDIR error, as used on a few other systems. This
behavior is deemed more useful as it helps spotting errors. This
implies that it might break some setups.
Ports bulk builds by ajacoutot@ and naddy@, ok millert@ bluhm@ naddy@
deraadt@
|
| | |
|
| | |
|
| |
|
|
|
| |
so the internal hidden names are unused; switch to PROTO_DEPRECATED()
and drop the DEF_WEAK()s
|
| |
|
|
| |
OK guenther@
|
| | |
|
| |
|
|
|
|
|
|
| |
sigprocmask syscall.
abort() can't return, so simplify the call, and use the internal name to
avoid the PLT.
no-return observation by Miod Vallat, testing by aoyama@
|
| | |
|
| |
|
|
|
|
|
| |
Don't need a PLT relocation for __cerror.
Move macros for doing internal aliases in ASM from SYS.h to DEFS.h
__cerror tweaks by Miod Vallat, testing by aoyama@
|
| | |
|
| |
|
|
|
|
|
| |
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@
|
| |
|
|
| |
parameter that was passed in. From Carlin Bingham.
|