| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
ok deraadt@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Convert __cerror to hidden visibility.
from miod@
|
|
|
|
|
|
| |
to look up the mapping for the futex address.
ok visa@, mpi@
|
|
|
|
| |
"See witness(4)" is unneccessary, and just bulks this already large page: remove it;
|
|
|
|
| |
ok drahm@
|
|
|
|
|
|
|
|
|
|
|
| |
This prevents a panic due to a double free if a program exits after having
called accept(2) and dup2(2) on the same fd but without the corresponding
connect(5).
It will also allows us to simplify file descriptor locking. The error code
has been choosed to match Linux's behavior.
Pointed by Mathieu on tech@ after a discussion with guenther@. ok visa@
|
|
|
|
|
|
| |
so passing "nan" and "-nan" produces a NaN with the right sign.
Bug reported and diff provided by George Koehler.
ok kettenis@
|
| |
|
|
|
|
| |
ok visa@
|
|
|
|
|
|
| |
take care of this.
ok visa@, mpi@
|
|
|
|
| |
Reminded by jmc@
|
|
|
|
| |
OK mpi@, kettenis@
|
|
|
|
|
|
|
|
|
|
| |
serialize memory accesses properly.
_spinlock()'s backend, _atomic_lock(), already issues an entry barrier
on some architectures, but that practice has not been consistent. This
patch generalizes the barrier use.
OK kettenis@, mpi@
|
|
|
|
| |
ok benno
|
|
|
|
|
|
| |
With advice from jca@
OK jca@ millert@
|
| |
|
| |
|
|
|
|
|
|
| |
and reference gethostby*(3) and /etc/hosts instead.
Say that setnetent(3), getnetent(3), and endnetent(3) now do nothing.
With feedback from guenther and significant help from deraadt@.
|
|
|
|
|
|
| |
While here, stop implying plans to support additional address
families in the future, and do not call gethostbyname2(3) "advanced".
OK deraadt@ guenther@
|
|
|
|
|
|
| |
wrappers around gethostby*_async(3). If you had anything of
importance in /etc/networks, specify it in /etc/hosts instead.
Feedback and OK eric@, OK deraadt@
|
|
|
|
|
|
|
| |
Remove unused headers and a comment implying that we might consider
reviving these dead horses in the future, which we do not intend
to do.
OK deraadt@ guenther@
|
|
|
|
|
|
| |
getnetent(3), and endnetent(3) do nothing, just like sethostent(3),
gethostent(3), and endhostent(3) years ago.
OK deraadt@ guenther@
|
| |
|
|
|
|
| |
ok krw@
|
|
|
|
| |
Prodded by and ok mpi@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Discussing with mpi@ and guenther@, we decided to first fix the existing
semaphore implementation with regards to SA_RESTART and POSIX compliant
returns in the case where we deal with restartable signals.
Currently we return EINTR everywhere which is mostly incorrect as the
user can not know if she needs to recall the syscall or not. Return
ECANCELED to signal that SA_RESTART was set and EINTR otherwise.
Regression tests pass and so does the posixsuite. Timespec validation
bits are needed to pass the later.
OK mpi@, guenther@
|
| |
|
|
|
|
|
|
| |
describe how an inner-region is found for applying MAP_STACK, and that
currently MAP_STACK remains set when the sigaltstack is disabled.
ok kettenis guenther schwarze
|
|
|
|
|
| |
that aren't even small bugs. And stop talking about AF_LOCAL.
Feedback and OK guenther@, OK jmc@.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
setlocale(3) manual page, such that the latter becomes easier
to read. No text change.
|
| |
|
| |
|
|
|
|
|
| |
Minus eight lines of code, no functional change.
OK martijn@.
|
|
|
|
|
|
|
|
|
|
|
| |
1. setlocale(LC_ALL, "A"); setlocale(LC_CTYPE, "T"); setlocale(LC_ALL, NULL);
must return "A/T/A/A/A/A", not "A". Fix this by always initializing the
LC_ALL entry of newgl to "" in dupgl(). Reported by Karl Williamson
<public at khwilliamson dot com> on bugs@, thanks!
2. Do not leak newgl when strdup(3) fails in setlocale(3).
3. For setlocale(LC_ALL, "C/C/fr_FR.UTF-8/C/C/C"); correctly set
_GlobalRuneLocale; i found 2. and 3. while looking at the code.
Feedback on a buggy earlier version and OK martijn@.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
noticed that this was no good.
* More relevant one line description.
* Generally more precision, less handwaving.
* Delete details regarding features we deliberate do not support.
* Write a real RETURN VALUES section.
* Delete pointless SEE ALSO section.
* Add two useful EXAMPLES.
* Do not talk about BUGS we don't have because we avoid the facilities.
Using several suggestions from martijn@ and one from stsp@,
OK jmc@ stsp@ martijn@ on earlier versions.
|
|
|
|
| |
OK deraadt
|
| |
|
|
|
|
|
|
|
| |
floating-point exceptions, simplify the functions that control the exception
masks just like we did on armv7.
ok tom@
|
|
|
|
|
|
|
| |
(unknown to me) relevant ordering of the various promises; restore
them now to their original order;
partial revert requested by deraadt too
|
|
|
|
| |
ok eric@ a while ago
|
|
|
|
|
|
| |
don't need to use sys/param.h at all, guess which one i believe is
greater namespace polution
ok otto
|
| |
|
|
|
|
| |
ok guenther kettenis
|