wiz
846092f009
Various minor improvements.
2011-06-27 08:21:07 +00:00
christos
e2bebf7172
* Arrange for interfaces that create new file descriptors to be able to
...
set close-on-exec on creation (http://udrepper.livejournal.com/20407.html ).
- Add F_DUPFD_CLOEXEC to fcntl(2).
- Add MSG_CMSG_CLOEXEC to recvmsg(2) for unix file descriptor passing.
- Add dup3(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
- Add pipe2(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
- Add flags SOCK_CLOEXEC, SOCK_NONBLOCK to the socket type parameter
for socket(2) and socketpair(2).
- Add new paccept(2) syscall that takes an additional sigset_t to alter
the sigmask temporarily and a flags argument to set SOCK_CLOEXEC,
SOCK_NONBLOCK.
- Add new mode character 'e' to fopen(3) and popen(3) to open pipes
and file descriptors for close on exec.
- Add new kqueue1(2) syscall with a new flags argument to open the
kqueue file descriptor with O_CLOEXEC, O_NONBLOCK.
* Fix the system calls that take socklen_t arguments to actually do so.
* Don't include userland header files (signal.h) from system header files
(rump_syscallargs.h).
* Bump libc version for the new syscalls.
2011-06-26 16:42:39 +00:00
sjg
82f4eed556
_gr_copy() can get called with fromgrp->gr_mem == NULL.
2011-06-09 05:11:17 +00:00
dholland
d392ff6e7a
Clarify paragraph about calling setprogname, requested by Tobias Ulmer on
...
freenode. Bump date.
2011-05-21 19:06:44 +00:00
joerg
c98c805c05
Trailing white space
2011-05-17 07:10:39 +00:00
enami
bde048cc49
Use Pq or Po macro for better output rather than putting raw open paren
...
at the end of line.
2011-05-17 03:35:38 +00:00
christos
ec3000cfb2
PR/44959: Henning Petersen: glob forgets to closedir on out of space condition.
2011-05-14 22:44:06 +00:00
jruoho
fa096afe20
Xref raise_default_signal(3).
2011-05-09 09:06:21 +00:00
jruoho
db3b8477d4
Clarify STANDARDS (i.e. cf. ualarm(3) is no longer in POSIX).
2011-05-02 17:34:05 +00:00
christos
89d0622f3e
Start eliminating "super-user" from the documentation.
2011-05-01 02:54:22 +00:00
christos
0a101028d4
nice should always return EPERM, not EACCES
2011-05-01 02:49:54 +00:00
wiz
3ecc6ccf87
Mark up NULL.
2011-04-29 09:43:28 +00:00
wiz
83e8266979
Sort sections and errors.
2011-04-28 16:34:01 +00:00
wiz
dbd13d8219
Spelling.
2011-04-28 11:22:44 +00:00
wiz
3f4e964f9f
Sort errors.
2011-04-25 22:38:34 +00:00
jruoho
28629a5be1
Use RETURN VALUES rather than DIAGNOSTIC for... return values.
2011-04-12 04:55:05 +00:00
jruoho
32e685d288
Markup improvements.
2011-04-11 05:59:11 +00:00
jruoho
88d19f0f7c
.Li -> .Em.
2011-03-30 16:41:00 +00:00
jruoho
d1a07d838a
+ .Pp.
2011-03-30 16:37:09 +00:00
jruoho
423f8d7704
Improve -width.
2011-03-30 16:29:26 +00:00
wiz
7091eebfa9
Whitespace and punctuation.
2011-03-27 22:55:07 +00:00
christos
2587e6e437
add fpgetprec/fpsetprec
2011-03-26 19:51:41 +00:00
martin
30b9b129ac
Test the proper array index. Discovered by sparc64 automatic test runs.
2011-03-18 09:07:20 +00:00
wiz
b8e9a97310
Fix SYNOPSIS. Error found by martin.
2011-03-17 14:06:29 +00:00
erh
dba1735a6e
Remove one last reference to commaize_number.3
2011-03-16 01:30:24 +00:00
christos
ab077958c3
goodbye short-live commaize_number(3), if you liked it:
...
#define commaize_number(s, l, n) snprintf(s, l, "%'llu", (unsigned long long)n)
2011-03-16 00:50:28 +00:00
wiz
f675b9e58c
Shorten Nd by putting the comment there in a paragraph in the body.
...
Use more markup. Sort SEE ALSO. Fix typo. Capitalize NetBSD like
we all love it.
2011-03-15 08:33:35 +00:00
erh
9a5590a540
PR#7540, add a commaize_number function, which inserts comma into a string
...
of digits to make it more readable. This is soon to be used in /bin/ls.
2011-03-15 03:47:04 +00:00
wiz
b84d433045
Add serial comma, quote minus, fix NetBSD version in HISTORY.
2011-03-13 09:12:35 +00:00
wiz
afb4355ad9
Add serial comma, quote minus, add HISTORY for strnunvis and strnunvisx.
2011-03-13 09:11:54 +00:00
mrg
8254d24b84
cast "~0" to (size_t) when passing to a size_t taking function.
...
fixes lint build errors.
2011-03-13 07:40:44 +00:00
christos
2d8f83e77b
Fix various vis/unvis issues:
...
- no need for all the weak symbols
- define a new _VIS_END flag for UNVIS_END so that there are no collisions
between and vis and unvis flags.
- add bound versions of the vis and unvis functions that take the length of
the destination buffer. Unlike the OpenBSD ones they return -1 or NULL if
the buffer is not large enough, instead of silently truncating.
2011-03-12 19:52:45 +00:00
christos
2dec048cbe
avoid c99
2011-03-12 05:23:41 +00:00
christos
5dc359e2dd
Prepare for strnvis functionality by providing a length to the encoding
...
functions.
2011-03-12 03:24:08 +00:00
christos
ebc56329ec
Add <stdint.h> for uint8_t from Jess Thrysoee
2011-02-27 01:53:22 +00:00
joerg
4bf46019d9
Redo the SSP wrappers to be transparent on the resulting object files.
...
This works by having the inline wrapper calling a second function which
uses renaming to output the correct function name.
2011-02-21 00:40:07 +00:00
tron
f1f20d6adf
Fix build with SSP enabled.
2011-02-16 20:20:25 +00:00
christos
c464e0ebc5
Fix non-fortify build.
2011-02-15 16:29:09 +00:00
joerg
2c39cf5f91
Don't define weak aliases in the SMALL case. They conflict with the real
...
function name since SMALL doesn't use the normal rename logic.
2011-02-07 21:39:47 +00:00
wiz
6ef76bc469
Remove trailing whitespace.
2011-02-05 00:24:08 +00:00
christos
a52c04784a
add arc4random_{buf,uniform}, from OpenBSD.
2011-02-04 22:07:07 +00:00
christos
2d5180b4b9
add braces, per joerg.
2011-01-31 19:10:18 +00:00
christos
984dfe5f9f
bump down the recursion limit to 64.
2011-01-31 15:07:29 +00:00
christos
0f6e9a96aa
Limit recursions to avoid DoS attacks from Maksymilian Arciemowicz
2011-01-31 04:20:50 +00:00
christos
5b63bdc2ba
remove stray printf.
2011-01-22 16:24:44 +00:00
christos
e6d36a6ae6
prevent resource DoS from brace expansion (from Maksymilian Arciemowicz)
2011-01-21 23:30:31 +00:00
christos
b493b4d721
provide a _sys_getcwd() entry like all the rest of the system calls to be
...
used by SSP.
2011-01-20 02:57:00 +00:00
matt
bd081d44b9
Make the MIPS N32/N64 ABIs properly support 128-bit long doubles. With this
...
change, we should be fully conformant with the N32 and N64 ABIs.
Add {fpclassify,infinity,isnan,ininf,signbit}l_ieee754.c back to lib/libc/gen.
Note that infinityl_ieee754.c will work with either 64-bit, 80-bit, or
128-bit long doubles.
2011-01-17 23:53:03 +00:00
matt
e4100763e4
cleanup format of #ifdef
2011-01-17 23:32:31 +00:00
jruoho
b19fbfbfda
Xref strsuftoll(3) and orders(7).
2011-01-14 10:08:57 +00:00