tobez
390c9f0f6e
Do not write warning messages on stderr - a caller is expected to check
...
the return code and errno instead. Those warnings did not do any good
for daemonized users of initgroups(3), and confused cvs clients that
communicated with non-root cvs pserver.
The committed fix differs from the one suggested in the PR, and was
submitted by ru.
PR: 15421
Approved by: markm
Discussed on: -stable, -current at various times
2001-11-28 10:55:02 +00:00
ache
3a5ef92343
Don't ever assume that isdigit() is always subset of isxdigit()
2001-11-28 06:06:27 +00:00
ache
f320d6c29a
Fix typo
2001-11-28 05:43:24 +00:00
ache
10211a493a
Use stricter tests to disallow national digits > 9
...
Optimize national digits code a bit
2001-11-28 05:39:21 +00:00
ache
0c87565de6
Allow national (non-ASCII) digits
2001-11-28 04:57:48 +00:00
ache
32ca7fdc02
Allow national (non-ASCII) digits
2001-11-28 03:57:12 +00:00
fenner
b624c038d2
Implement strtoimax() and strtoumax()
2001-11-28 03:37:06 +00:00
fenner
b52e8932fd
Also mention "long long" in synopsis.
2001-11-28 03:36:05 +00:00
jwd
2a6f1a68f9
Return a more meaningful errno when the length of the interpreter
...
exceeds MAXSHELLCMDLEN to avoid secondary /bin/sh execution.
Update execve man page to reflect change.
Increase MAXSHELLCMDLEN to a slightly more meaningful value.
PR: kern/32106
Submitted by: b@etek.chalmers.se
Reviewed by: bsd
MFC after: 2 weeks
2001-11-28 03:26:58 +00:00
fenner
b43213c533
Base 36 is allowed.
2001-11-28 02:35:35 +00:00
ache
e27de1447a
Put back base > 35 check. If someone dislike it, plese discuss it with
...
standards group first.
2001-11-28 02:17:22 +00:00
ache
58de837716
Add atoll(3) to conform POSIX and C99
2001-11-28 01:22:08 +00:00
ache
950bfdf509
Understand national (non-ASCII) digits now
...
Allow bases >=36 again
Misc cleanup
2001-11-28 00:48:11 +00:00
jhb
1dc519633c
Use 'mov' instead of 'lea' for setting the syscall number in %eax as that
...
is clearer about what we are actually doing.
Requested by: bde
2001-11-27 20:51:26 +00:00
wes
925df35947
Must link strerror manpage to strerror_r.
...
Thanks for the review, Mike.
Submitted by: Mike Barcroft <mike@FreeBSD.org>
2001-11-27 07:57:31 +00:00
wes
bdb2c68332
Add strerror_r function per Posix prototype.
...
Reviewed by: Mike Barcroft <mike@FreeBSD.org>
MFC after: 2 weeks
2001-11-27 07:39:46 +00:00
keramida
472fe40c00
Be more explicit about the fact that realloc() might return a
...
different pointer than the one passed to it.
PR: docs/31925
Submitted by: Andrew <andrew@ugh.net.au>
2001-11-24 03:05:40 +00:00
ru
c6fd839478
mdoc(7) police: markup cleanup.
2001-11-22 11:17:58 +00:00
ru
46ad89b6ed
mdoc(7) police: add missing comma.
2001-11-22 09:48:54 +00:00
fjoe
2ffd6edcd1
fix compilation (include -> #include)
2001-11-21 20:40:21 +00:00
ru
a7f5495c62
mdoc(7) police: fixed typos and minor markup nits.
2001-11-21 16:19:50 +00:00
ru
b12b774518
mdoc(7) police: general cleanup.
2001-11-21 15:41:49 +00:00
green
371c8a0a71
Should also include namespace.h
...
Submitted by: ru
2001-11-21 15:33:40 +00:00
green
6c0292d0cd
Change certain syscalls from x to _x.
...
Prodded by: bde
2001-11-21 14:44:52 +00:00
green
0deda355ca
Introduce readpassphrase(3), a superset of getpass(3). This
...
comes originally from Todd Miller.
Obtained from: OpenBSD
2001-11-20 15:15:42 +00:00
ru
1863197c29
mdoc(7) police: minor markup and spelling fixes.
2001-11-20 14:11:07 +00:00
ru
b766bdc199
mdoc(7) police: sort xrefs.
2001-11-20 13:58:21 +00:00
ru
161533f155
mdoc(7) police: consistently use the .Ux macro.
2001-11-20 13:54:11 +00:00
ru
c6b45ef12b
mdoc(7) police: remove whitespace at EOL.
2001-11-20 13:43:58 +00:00
jake
6a36fe07de
Actually build new files.
...
Forgotten by: jake
2001-11-19 00:19:49 +00:00
jake
7ba51fcfef
Need .type and .size here too.
2001-11-18 04:48:34 +00:00
jake
710eac603d
Add more libc stuff.
...
Obtained from: netbsd
2001-11-18 04:40:30 +00:00
jake
a85982e09c
Catch up to jmpbuf changes. Define offsets used from assmebly language
...
in another file so that it is easy to see what they are and keep them in
sync with the headers (grafted from the kernel generated assym.s).
2001-11-18 04:35:09 +00:00
jake
00a4946854
Remove fork and vfork wrappers. The kernel does the right thing.
2001-11-18 04:31:36 +00:00
jake
d7cd5a1a91
Add .type and .size pseudo-ops to system call macros so that dynamic binaries
...
will link. They must be used for weak symbols as well as strong ones.
2001-11-18 04:29:20 +00:00
iedowse
6fc9a08cbf
Remove a sentence from the BUGS section that claims non page-aligned
...
offsets don't work. It should really be documented that the returned
pointer can be in the middle of a fully-valid page when the offset
is not page-aligned, but I couldn't come up with suitable wording.
PR: kern/22754
2001-11-18 00:47:45 +00:00
phk
30e4ff53d3
If 'VX' is given, realloc(foo,0) will bail, it shouldn't.
...
PR: 29376
Submitted by: Farooq Mela <fmela0@sm.socccd.cc.ca.us>
2001-11-17 10:57:04 +00:00
phk
1fb8368599
Correctly call THREAD_UNLOCK() if the recursive call trap is sprung.
...
Pointed out by: knu
2001-11-16 18:15:33 +00:00
dd
a4f22e24f9
Create link from directory.3 to readdir_r.3.
...
PR: 32028
Submitted by: andrew@ugh.net.au
2001-11-16 15:49:38 +00:00
rwatson
a86bfc340f
o Reflect repo-copy of extattr.[c3] from libutil to libc, moving
...
extattr namespace routines to the libc/posix1e directory. While
the extattr calls are not strictly POSIX.1e, POSIX.1e wasn't
strictly ever approved, so I think that's OK.
Obtained from: TrustedBSD Project
2001-11-16 05:09:45 +00:00
mike
77077eee7a
o Implement imaxabs(), imaxdiv(), llabs(), lldiv().
...
o Update abs(3), div(3), labs(3), ldiv(3) to reflect standards
conformance and add additional references.
Reviewed by: bde, wollman
2001-11-15 02:05:03 +00:00
murray
54ff7ae91a
Cross-reference the fdopen and fileno manpages.
...
PR: docs/31866
Submitted by: W. Campbell <wcampbel@botbay.net>
2001-11-14 16:24:51 +00:00
jhb
28f45ce3d0
Cleanups after previous change:
...
- Renumber labels since the previous revision removed one.
- Remove useless and wrong comment.
- Repeating the function name is just redundant.
- The previous revision made the comment about %edx useless.
- The comment about %eax was wrong (but did explain why %eax used to be
fixed up).
Submitted by: bde
2001-11-13 16:58:43 +00:00
jhb
a2b7af5b3c
The kernel already fixes up %eax for parents that return from fork, so
...
don't bother manually fixing up %eax for the parent process by testing
the value in %edx and zeroing and already zeroed %eax.
2001-11-13 06:36:43 +00:00
bde
eb58f0f1a8
Fixed namespace pollution related to `err' in libc in the same way as for
...
`warn'. Now a whole 2 members of the err() family don't cause pollution.
This fixes world breakage in awk for NOSHARED worlds. contrib/awk/msg.c
has had its own version of err() for a long time, but this somehow
didn't cause problems until the update to awk-3.1.0.
2001-11-11 02:48:09 +00:00
des
bb36960b9a
Increment the loop counter.
...
PR: bin/29218
Submitted by: Goran Lowkrantz <goran.lowkrantz@ismobile.com>
2001-11-10 17:36:58 +00:00
ru
77df879d01
- Put missing prototype for rcmd() in <unistd.h>.
...
- Clean up the manpage.
- style(9) rcmdsh.c.
Committed from: BSDCon/EU 2k+1 terminal room
2001-11-09 15:19:25 +00:00
dcs
652ecfdbf3
The algorithm that computes the tables used in the BM search algorithm sometimes
...
access an array beyond it's length. This only happens in the last iteration of
a loop, and the value fetched is not used then, so the bug is a relatively
innocent one. Fix this by not fetching any value on the last iteration of said
loop.
Submitted by: MKI <mki@mozone.net>
MFC after: 1 week
2001-11-09 10:17:44 +00:00
peter
b77568ce81
Note that the manpage is incorrect about the vector argument.
2001-11-09 01:01:50 +00:00
obrien
f1605e3295
Fix vendor ID's.
2001-11-07 22:12:52 +00:00