Commit Graph

2861 Commits

Author SHA1 Message Date
lukem
3ebdcecd65 don't use warn() in initgroups(); it's not documented to do that, and
if stderr isn't valid the caller may dump core.
from Giles Lean <giles@nemeton.com.au> in [lib/7273]
1999-03-31 12:19:32 +00:00
kleink
5af7e7a902 Change references to end' to _end' as not to invade (or being invaded by)
the user's name space.
1999-03-31 11:53:07 +00:00
abs
ac83f64eca Cast argument to isspace to (unsigned char) to pass zoularis. 1999-03-29 09:27:29 +00:00
sommerfe
d70c7c2004 Document new chroot-related restrictions on fchdir, chroot, and ptrace
made possible by the kernel getcwd infrastructure
1999-03-26 23:37:27 +00:00
sommerfe
bb8c6c869a move __getcwd prototypes to libc-private header file.
XXX duplicate the prototype in getcwd regression test (which needs to
call the syscall directly for reasonably complete testing).
1999-03-26 22:23:57 +00:00
kristerw
8dab0300c3 Corrected an off-by-one error (lib/6314 Torbjorn Granlund) 1999-03-26 21:04:24 +00:00
sommerfe
27a01cc18e Use __getcwd() system call in getcwd() unless OLD_GETCWD is defined 1999-03-26 04:04:13 +00:00
perry
d4076f1ce9 argument is void *, not char * (at least, to the extent that it is a pointer. 1999-03-25 18:48:16 +00:00
perry
3601ed9448 fix to note that arg is void * but is used by some commands as an int 1999-03-25 18:37:06 +00:00
lukem
15896e79fe * don't close the socket unless it was opened by the function
* note (in the comments) that the client is responsible for closing
  the socket if they opened it, or they didn't use CLNT_DESTROY()

fixes a couple of unnecessary closing of already-closed sockets.
noted by: Matthias Drochner <M.Drochner@fz-juelich.de>
1999-03-25 01:16:10 +00:00
mycroft
1b0b50098d Fix a few things that were out of date or just plain wrong, and clean up some
formatting glitches.
1999-03-24 16:36:10 +00:00
hubertf
eb5057aab5 Better explain possible EBADF causes.
Patches submitted by Greg A. Woods <woods@planix.com> in PR lib/7206.
1999-03-24 13:40:51 +00:00
mycroft
68d6f4bf44 Remove spurious .ne's. 1999-03-24 06:27:49 +00:00
mycroft
66902a3cfd Remove blank lines. 1999-03-24 06:14:18 +00:00
lukem
0a10e5dd4b document new bind() restrictions 1999-03-23 10:59:11 +00:00
abs
5e69f8317f Fix 'suggest parentheses' warning noted by Erik E. Fair <fair@clock.org> 1999-03-23 02:58:50 +00:00
garbled
38c96853cf Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!
1999-03-22 19:44:33 +00:00
kleink
61c3516908 Introduce _PC_FILESIZEBITS. 1999-03-22 19:14:22 +00:00
kleink
29fc254df0 Bump the date. 1999-03-22 19:11:16 +00:00
kleink
10ec438820 Add 3 additional slots to the statically allocated exit handler array to
guarantee the ANSI-defined 32 registrations being possible despite those exit
handler registrations made by the startup code (a.out: 2, ELF: 3).
1999-03-22 19:09:10 +00:00
kleink
4d282292e2 Introduce EOVERFLOW. 1999-03-22 19:03:38 +00:00
sommerfe
1d1d30a611 Bump minor number due to new syscalls 1999-03-22 17:57:26 +00:00
sommerfe
60a179e6aa Build fchroot and __getcwd syscall stubs 1999-03-22 17:56:42 +00:00
abs
6c70403fe8 If we push a cap entry (usually from the environment), strip : deliminated
entries that only contain whitespace, in a similar fashion to reading from
a file.
1999-03-22 03:28:09 +00:00
christos
1452d0f916 braces for gcc-2.8.1 1999-03-19 12:56:16 +00:00
christos
7d0129b726 include <fcntl.h> instead of <sys/file.h> 1999-03-19 12:55:52 +00:00
mrg
32783bf7e7 -> <sys/swap.h> 1999-03-18 04:48:03 +00:00
fair
0204f38aae Several things: a patch from PR#6355, nroff/mandoc cleanup, and
update a reference to RFC 1884 to RFC 2373.
1999-03-17 23:19:43 +00:00
christos
d4639c815b Adding missing braces that gcc-2.8.1 likes. 1999-03-16 18:17:56 +00:00
christos
3bb2365914 - fix gcc-2.8.1 warnings
- portability fix: Don't use bindresvport() if !BSD4_4 because we could
  be on an operating system where it takes different arguments (hint, hint).
1999-03-16 18:15:13 +00:00
christos
3eeda4afc6 Fix gcc-2.8.1 warnings. 1999-03-16 18:13:44 +00:00
is
592e2783ea Use SUN_LEN, not sizeof. 1999-03-16 14:00:58 +00:00
is
9f6e89f0d8 Use a struct sockaddr_un, so that the new _PATH_LOG actually fits into it. 1999-03-16 13:48:00 +00:00
jonathan
cd6244f1cc Assembly-coded, word-at-a-time unrolled memset(). 1999-03-15 06:37:43 +00:00
kristerw
c068cca51b EACESS -> EACCES. From OpenBSD. 1999-03-14 20:15:40 +00:00
kristerw
a37972b8d8 daemon returns int. From OpenBSD. 1999-03-14 18:10:02 +00:00
hubertf
4e308589b1 Fix RB_STRING, per PR 7147 by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-14 01:30:16 +00:00
kleink
65a39c939e Sync with declaration in <unistd.h>. 1999-03-10 09:52:54 +00:00
mycroft
2b504929fa Just some minor cleanup. 1999-03-10 08:15:43 +00:00
mycroft
f1c544b6a8 Use ieee.h structs and macros. 1999-03-10 08:14:44 +00:00
kleink
1f173d29a8 Fix a .Fa vs. .Fn bogon, and clarify somewhat. 1999-03-09 20:35:18 +00:00
kleink
e2a4add9f7 brk(2) actually returns an int indicating success (0) or failure (-1). Also,
change its argument to void *.  (Both XSH5).
1999-03-09 20:33:22 +00:00
erh
bdfd2b2770 Add missing .El lines. 1999-03-09 19:45:09 +00:00
kleink
55cb8b09ce Functionally back out namespace.h revision 1.7 and perror.c revision 1.15;
perror() is an identifier reserved by ANSI/ISO C, and in case of a redefition
the behavior is undefined.
1999-03-09 13:14:36 +00:00
ross
53dc7656a3 More missing .El's. 1999-03-09 03:58:14 +00:00
ross
baa8fc090f Missing .El.
Rewrite cheap .Bd -literal as a nice .Bl -column.
1999-03-09 03:49:46 +00:00
ross
0f9d1274e7 Missing .El. 1999-03-09 03:37:41 +00:00
kleink
cbab327fc8 Manual page for hcreate(3) and friends. 1999-03-08 18:43:21 +00:00
kleink
be94d3fe24 Const poisoning, integer argument promotion. 1999-03-08 10:35:43 +00:00
kleink
dde7993b2f Const poisoning. 1999-03-08 10:27:34 +00:00