yamt
514d4ffd02
note that setgid doesn't change supplementary groupids.
...
from openbsd.
2002-08-17 18:22:21 +00:00
yamt
572225a82f
document RB_POWERDOWN.
...
from OpenBSD.
2002-08-17 17:52:54 +00:00
yamt
dbb4e0d985
- move return values info into RETURN VALUES section.
...
- note that O_SHLOCK and O_EXLOCK are not portable.
from OpenBSD.
2002-08-17 17:25:37 +00:00
chris
725f3ca1a7
correct comment, it's r0, not a0.
2002-08-17 01:23:36 +00:00
itojun
4005a5250f
set h_errno properly if internal string manipulation fails.
2002-08-16 21:54:00 +00:00
itojun
2abe377059
defend against malicious line in ut_line, which could cause unwanted
...
writes to anything under /dev. revoke setuid/gid privs earlier.
From: xs@kittenz.org
2002-08-16 20:21:48 +00:00
itojun
44ca8f4da1
use sizeof, avoid duplicated use of MAXDNAME
2002-08-16 13:59:39 +00:00
itojun
1173373b45
be more picky about size arg
2002-08-16 12:23:20 +00:00
itojun
1e1a07972c
lint clean
2002-08-16 12:20:19 +00:00
itojun
bb80ac654a
avoid sprintf. use snprintf with picky error traps.
2002-08-16 12:18:06 +00:00
itojun
0de70db9cd
check for pointer overwrap
2002-08-16 12:10:37 +00:00
itojun
b51bffa186
correct cases with zero in the middle
...
(0x00ff00ff should be "0.255.0.255", not "255.255")
2002-08-16 12:05:01 +00:00
itojun
0b6566bcda
avoid sprintf. use snprintf. simplify cases where 1st arg is 0.
2002-08-16 12:03:41 +00:00
itojun
c6a3499c08
use snprintf. don't duplicate MAXDNAME (use sizeof).
2002-08-16 11:53:19 +00:00
itojun
90a8853f46
use strlcat
2002-08-16 11:49:57 +00:00
itojun
f425242dc9
fix weird indent for comment lines
2002-08-16 11:48:25 +00:00
itojun
c5a4255163
eliminate sprintf. use snprintf.
...
XXX loc_ntoa should be changed to take additional size_t as arg
2002-08-16 11:45:55 +00:00
itojun
5c323232e7
eliminate sprintf, use snprintf. check strlcat error.
2002-08-16 11:30:28 +00:00
itojun
3452fa16c4
be more picky about string buffer manipulation. hints from freebsd
2002-08-16 07:39:44 +00:00
enami
38540fc05e
Cosmetic changes.
2002-08-15 04:47:12 +00:00
pooka
b09706dced
add ${MACROS} to roff call to make output paper readable
2002-08-13 20:07:31 +00:00
wiz
03b08c2f0d
Remove duplicate lines.
2002-08-12 21:52:37 +00:00
soren
6ca2d9ac81
Catch up to struct dirent.
2002-08-12 21:26:27 +00:00
soren
7b0d231778
Sort struct members.
2002-08-12 21:18:25 +00:00
soren
e4a72452ec
Take formatting fixes and note about deleted files from getdents.2.
2002-08-12 21:14:12 +00:00
gmcgarry
3e5aabbe90
Clarify what functionality _is_ included and _should be_ included in libutil.
2002-08-12 20:03:05 +00:00
martin
ab77398ff9
Do not assume int64_t is printable with %qd - on 64 bit ports it isn't.
...
Use %lld instead and cast the args to (long long) explicitly.
I'm not sure about our policy vs. the C99 format string macros in
basesrc - should we use those here?
2002-08-12 09:06:59 +00:00
itojun
53ca62040c
calloc() arg mistake. it's (nelem, size). from openbsd
...
sync w/tcpdump.org
2002-08-12 02:39:22 +00:00
yamt
d536e5ccae
add RETURN VALUES section.
...
from OpenBSD.
2002-08-11 14:44:33 +00:00
yamt
e8cb4f166c
bump .Dd .
2002-08-11 14:43:52 +00:00
yamt
03664cd132
- detail protections.
...
- add RETURN VALUES section.
from OpenBSD.
2002-08-11 14:36:33 +00:00
yamt
1c708a4b08
bring in RETURN VALUES from openbsd.
2002-08-11 13:17:35 +00:00
yamt
e52744d883
- document generic ioctls.
...
- mention EFAULT.
from OpenBSD.
2002-08-11 12:40:46 +00:00
yamt
a63161243b
more description from openbsd.
2002-08-11 12:22:48 +00:00
yamt
eaf49dbcad
backout previous partly:
...
we don't check if processes are in the same session or not.
2002-08-11 12:12:54 +00:00
yamt
74b1a91d8e
bring in ERRORS from openbsd.
2002-08-11 12:09:11 +00:00
yamt
906f41fac5
- include typical uses.
...
from openbsd.
2002-08-11 12:04:25 +00:00
blymn
67d86161c7
Added MLINK entries to link all function names to their respective
...
man page.
2002-08-11 11:57:44 +00:00
yamt
731cbc6eb3
bring in warnings from freebsd via openbsd.
2002-08-11 11:46:21 +00:00
yamt
a86e2e3273
note that child should use _exit instead of exit.
...
from OpenBSD.
2002-08-11 10:35:48 +00:00
yamt
b09419c060
bump .Dd .
2002-08-11 10:28:23 +00:00
yamt
740bfa56b7
document a hack about setuid programs and fd 0, 1 and 2.
...
from OpenBSD.
2002-08-11 10:27:49 +00:00
yamt
0997545d18
bring in EXAMPLES from openbsd.
2002-08-11 09:39:10 +00:00
yamt
0da40e1ed0
- correct how to check empty field.
...
- improve examples.
from OpenBSD.
2002-08-11 09:36:15 +00:00
yamt
10a7dd0256
bring in EXAMPLES from openbsd.
2002-08-11 08:22:30 +00:00
yamt
cdac947b04
bring in EXAMPLES and ERRORS from openbsd.
2002-08-11 07:53:06 +00:00
yamt
049fa38b0c
bring in EXAMPLES from openbsd.
2002-08-11 07:50:04 +00:00
yamt
fd80262662
improve EXAMPLES.
...
from openbsd.
2002-08-11 07:46:56 +00:00
yamt
517ec26f7b
bring in EXAMPLES from OpenBSD.
2002-08-11 07:36:19 +00:00
yamt
4e0ec2a042
bump .Dd .
2002-08-11 07:31:56 +00:00