| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
whitespace in this page;
ok deraadt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The latest POSIX description of times(3) (and all others I can find)
suggests that times(3) should return monotonically increasing values
and that these values are only useful for real time interval measurement.
All extant uses of times(3) confirm that this expectation is shared by
application programmers.
So, change gettimeofday(2) to clock_gettime(2)/CLOCK_MONOTONIC to ensure
the return value increases monotonically, even if the system clock is
changed by the superuser. Then update the manpage accordingly.
While we're updating the manpage, move the information about the return
values to a new RETURN VALUES section to bring times.3 up to speed with
other library man pages.
Manpage changes kicked around on tech@ with millert@ and jmc@.
times.3 ok millert@ tb@ jmc@
times.c ok millert@ tb@
|
|
|
|
|
|
|
|
|
|
| |
both the hardfloat (FPU registers) and softfloat (software) state. This
makes these functions work correctly when mixing hardfloat and softfloat
code. Disable trapping for softfloat since most (if not all) ARMv7 and
ARMv8 hardware that is on the market doesn't support trapping of
floating-point exceptions.
ok patrick@
|
|
|
|
| |
from <Edgar at Pettijohn dash web dot com> on tech@
|
| |
|
|
|
|
|
|
|
|
|
| |
this attribute. The kernel does so for main-process stacks at execve() time,
pthread stack functions do so for new stacks, and stacks provided to
sigaltstack() and other user-provided stacks will need to be allocated
in that way.
Not required yet, but paving the way.
Work done with stefan
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strings.
this was part of a demo showing how to implement the kernel side of
sysctl(3) for setting Semantically Opaque Interface Identifier key
material (for RFC 7217), but it seems to be the most straightforward
path toward integrating soiikey handling and rc.
Originally written by dlg, who commited it some time ago on my request.
I then backed it out again, now it's time to put it back in.
ok florian@ sthen@ naddy@ tb@
Man page bits tweaked & OK jmc
|
| |
|
|
|
|
|
|
|
| |
and that the result is always properly set when the functions returns.
fix issues spotted by claudio@.
ok claudio@
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Start with a full page of struct region_info's
- Save an mprotect in the init code: allocate 3 pages with none and
make the middle page r/w instead of a r/w allocation and two calls to make the
guard pages none
|
|
|
|
|
| |
junked
- freezero(): only clear requested size
|
| |
|
|
|
|
|
|
|
|
|
| |
since ARMv5. Should be much faster but more importantly it removes the
data table from .text which could introduce unwanted ROP gadgets.
Based on changes in Android/Bionic by Elliott Hughes.
ok patrick@
|
|
|
|
|
|
| |
compiled with clang.
ok visa@
|
|
|
|
|
|
|
|
|
|
|
| |
The error was:
--8<--
ffs.S:57:2: error: unsupported relocation on symbol
adrne r2, .L_ffs_table
^
-->8--
Minimal workaround suggested by deraadt@, ok guenther@ kettenis@
|
| |
|
|
|
|
|
| |
came also up with this diff. Simple, no bias and benchmarks show the extra
random calls disappear in te measurement noise.
|
| |
|
|
|
|
|
|
|
| |
but at that time ffs function calls were generated instead of the
compiler inlining the code. Now that ffs is marked protected in
libc this is handled better. Thanks to kshe who prompted me to
look at this again.
|
|
|
|
|
|
|
| |
dance, mark it protected. This works better for both gcc and clang: gcc
blocks overriding of internal calls, while clang permits inlining again.
ok otto@
|
|
|
|
|
|
| |
bump.
"just go ahead -- crank" deraadt@
|
| |
|
|
|
|
|
|
|
| |
listeners of device state changes.
currently only supports NOTE_CHANGE that will be used by drm(4)
ok kettenis@
|
| |
|
| |
|
|
|
|
|
|
| |
so that <machine/signal.h> is not needed in setjmp.S.
Suggested by kettenis@ long ago, OK deraadt@
|
| |
|
|
|
|
| |
Reminded by jmc@
|