| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
ok tedu@
|
|
|
|
| |
ok jsg@
|
|
|
|
| |
fix suggested by and ok guenther@
|
|
|
|
|
|
| |
Makes exceptions work in C++ code work again om armv7.
ok guenther@
|
|
|
|
|
| |
requested by mpf@
ok deraadt tedu@
|
| |
|
|
|
|
| |
ok deraadt@ millert@
|
|
|
|
| |
without wxallowed causes EACCES
|
|
|
|
|
|
|
| |
move it from before ENTRY() to after END(). Keeps brk(2) and sbrk(2) weak
when comping libc with clang.
ok guenther@
|
| |
|
|
|
|
|
|
| |
functions and delete a macro that is used in only one place;
no functional change.
This completes the audit of the citrus directory (only 3 files left).
|
|
|
|
| |
leave that decision to the compiler; no functional change
|
|
|
|
|
|
|
|
|
|
| |
- delete unused headers
- add missing function prototype
- delete needless casts of return values
- KNF: return is not a function
- KNF: do not use a pointer as a boolean
- consistent wording in comments: s/octets/bytes/
OK gcc: no object change after strip -g
|
|
|
|
|
|
|
|
| |
used or defined, as clang isn't as forgiving as gcc. Also, declare
__flt_rounds() so that libc can build it despire clang providing its own
<float.h>
ok stefan@ kettenis@
|
|
|
|
|
|
| |
from the aux vector.
ok patrick@ kettenis@
|
|
|
|
|
|
|
| |
hints are not recognized by clang's builtin assembler and the opcode prefixes
they generate have been no-ops for all CPUs after the Pentium 4.
ok guenther@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Declare functions rather than generating declarations with macros.
Just call functions rather than mainting function pointer tables.
Purge unused arguments. Simplify mbstate_t casting.
Garbage collect one empty and one unused function.
As a bonus, make mbsinit(3) work at all, it returned garbage
in the past due to a missing cast when passing mbstate_t.
Apart from that, no functional change.
No libc bump needed; only private functions are removed and
change prototype and only private structs change size.
OK stsp@ mpi@; deraadt@ likes the general direction.
|
| |
|
| |
|
| |
|
| |
|
| |
|