Commit Graph

435 Commits

Author SHA1 Message Date
mouse ff44468136 alternate -> alternative, per PR 2643 1997-03-08 13:36:38 +00:00
cjs 93eb52853b PR 3279, from <david@mono.org>.
Bugs section changed to clarify that static passwd structure
used for return value is shared among all functions.
1997-03-03 19:43:45 +00:00
fvdl 1ed7a0186a Check for both the filesystem name and the filesystem flags to determine
whether a directory is a union mount, and thus needs to have double
entries filtered out.
1997-02-25 13:16:39 +00:00
lukem a3fc812065 man page for stringlist functions 1997-02-24 11:47:10 +00:00
mikel 28acf64f40 clarify what is printed; from Arne Henrik Juul in PR 3242, with some
minor editing by myself.
1997-02-21 07:44:50 +00:00
scottr 48b6b629bf getdiskbyname() was broken by previous change, adversely affecting
newfs(8) and disklabel(8).  Back this out, and note instead that all
instances of strcpy() here are safe.
1997-02-14 08:30:32 +00:00
christos 50c92675a9 I ``who'' was not specified, set the appropriate bits as the manual page
states. chmod +s foo  and chmod +t . now work.
1997-02-07 22:21:06 +00:00
mrg 9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
thorpej 30ec3e8a63 Don't transfer the entire YP database using yp_{first,next}(); instead
use yp_match(), which is much more efficient.

From Michael.Eriksson@era-t.ericsson.se, PR #3114.
1997-01-22 01:21:06 +00:00
lukem f694f3b120 Add stringlist implementation
Convert getnetgrent from private stringlist to public version
1997-01-17 07:26:18 +00:00
perry 44f0373a13 change sigpause(2) to sigsuspend(2) or sigpause(3), depending
Also try to fix other bad references to sig* man pages.
Fixes pr-2885 from Jonathan Stone
These SEE ALSO sections are still bloody messes (sigh)
1997-01-17 03:44:59 +00:00
perry 0ec29f87c1 add setitimer (mentioned in text) to SEE ALSO 1997-01-17 03:14:02 +00:00
perry 4023eb8dfd close 2885 -- sigpause->sigsuspend 1997-01-17 03:12:24 +00:00
thorpej 2e0f6cf5bb Document CTL_DDB MIB nodes. 1997-01-09 05:39:26 +00:00
mikel d40586fc26 there is no sysctl(2); reference sysctl(3) instead. 1997-01-03 06:43:56 +00:00
cgd 22eee680d6 ifdef YP, needs rpcsvc/ypclnt.h for protos 1996-12-20 20:46:19 +00:00
cgd c97004a9b9 string.h for prototypes 1996-12-20 20:44:55 +00:00
sommerfe f218af3428 Longer login name support: use MAXLOGNAME, not UT_NAMESIZE 1996-12-20 20:16:05 +00:00
cgd a1971a18d9 pull in unistd.h, const poisoning 1996-12-20 19:38:57 +00:00
cgd 7edc9015ae grscan()'s last arg has to be a const char *, not just a char * 1996-12-20 19:38:16 +00:00
lukem 64af799db3 fix example, from bgrayson@ece.utexas.edu (Brian C. Grayson) in [misc/2735] 1996-11-09 08:41:46 +00:00
jtc a13179edf1 Declare global errno 1996-11-08 00:27:35 +00:00
jtc 8610f496a7 New __errno() function, returns the address of the errno variable. 1996-11-07 05:37:34 +00:00
lukem d7578a89cf man page is "toupper" not "tolower". from msaitoh@spa.is.uec.ac.jp [misc/2902] 1996-10-29 05:49:04 +00:00
perry 90dac65cbf Nuked tahoe machine specific conditionals. 1996-10-16 17:53:44 +00:00
cgd 61dc0e200c fix pasto: Elf_{Off,Word} rather than Elf32_{Off,Word} 1996-10-03 04:55:31 +00:00
cgd e5629b37cc clone from nlist_elf32.c (with ECOFF mods). Adds comments,
optimization, cleanup.
1996-10-01 13:37:05 +00:00
cgd 802cbd1ba7 clean up comments a bit. 1996-10-01 13:35:34 +00:00
cgd 561e189aaa "do over." Rewrite from scratch, or, more precisely, based on a high-speed
merge of libc's ECOFF nlist support (written by me, a while ago), and the
(relatively new, but again written by me) kvm_mkdb ELF support.
1996-10-01 00:32:52 +00:00
cgd 571692b849 fix a thinko in the check-removal changes 1996-10-01 00:27:38 +00:00
cgd e5699c2fe3 kill recently added 'check' functions, since they only add code to be more
expensive, i.e. they save nothing and add code.  also, beat it with the
style stick.
1996-09-30 23:51:05 +00:00
cgd 80fde3aab4 kill recently added 'check' functions, since they only add code to be more
expensive, i.e. they save nothing and add code.
1996-09-30 23:49:27 +00:00
cgd 9a5eb71903 slightly tune what gets compiled in: On the Alpha, we need ECOFF and
ELF64.  On other architectures only include a.out support, since we don't
know whether or not they'll have the headers necessary for ECOFF and/or
ELF, and since they only want a.out for now (execpt the mips archs, but
they do Special things).  There should be a better way to select which
bits of nlist code get compiled in, but currently there is not.
1996-09-27 22:41:59 +00:00
cgd d1bae5c5d5 rename rcsid to e64rcsid, so it doesn't conflict with the one in nlist_elf32.c 1996-09-27 22:38:06 +00:00
cgd c8365a76b4 Seriously revamp libc's nlist()/__fdnlist() support:
(1) split nlist() into multiple files, for clarity and to make
	    ELF 32/64 support easier,
	(2) support multiple executable types at the same time, and
	(3) add support for 32- and 64-bit ELF (32-bit ELF support
	    originally from OpenBSD, but with several bug fixes so
	    that it actually handles symbols types more correctly
	    (and therefore _works_ for some of the more tricky uses
	    of the nlist routines) and changes for 64-bit ELF support).
1996-09-27 22:23:03 +00:00
thorpej 95c870f69b Update for the new internal name for __getlogin(). 1996-09-23 02:43:11 +00:00
phil 8bcbf9b3bb Make it correctly return unslept seconds if interrupted for any other
reason than SIGALRM.  (Was ALWAYS returning 0.)
1996-08-02 17:52:50 +00:00
explorer 24ff249a08 document AUTONICETIME and AUTONICEVAL sysctls 1996-07-17 18:06:36 +00:00
jtc a0d2fe2548 Thanks to the calling conventions used by some cpus, the argument lists
passed to the execl(), execle(), and execlp() functions are in the form
of the argument vector to be passed to execve().  On these architectures,
it is unnecessary to count the number of arguments, allocate space on
the stack, copy the arguments, etc.  The vector already on the stack
can be used instead.

When some arguments are passed in registers (like most RISC CPU's), it
should be possible to allocate stack space adjacent such that the
registers can be copied to that memory.  After that, the same
approach described above can be used.

This change takes advantage of this on the i386, m68k, and ns32k.  It
is probably true on the vax, but I am unable to check.  RISC CPU's
probably need assembly language implementations to ensure everything
is placed exactly as needed when registers are copied to the stack...
1996-07-04 07:18:56 +00:00
jtc 614420255a Split all exec*() functions out of exec.c into their own files. 1996-07-03 21:41:46 +00:00
jtc a174b58e2c Added a new VA_START macro to hide the differences between varargs.h
and stdargs.h.  This cleans up a lot of conditionals throughout this
file.
1996-07-03 19:53:46 +00:00
jtc b021f209c3 Changed to conform to POSIX.2 B.3.2.2 "popen() shall ensure that any streams
from previous popen() calls that remain open in the parent process are closed
in the new child process."  Fixes PR #2575.
1996-06-29 00:51:49 +00:00
jtc 9647f42d70 Signal mask was not restored correctly.
Fix from James Chacon <jmc@pobox.com> in PR #2442.
1996-05-20 06:13:07 +00:00
cgd 85b3fc5c34 update for ecoff header changes. Most changes taken from PR 2413,
submitted by Jason Thorpe.
1996-05-16 20:49:20 +00:00
christos b2459dacce Use the POSIX signal mask interface 1996-05-16 19:39:13 +00:00
mycroft c2102b50ad Slight simplification. 1996-05-11 11:04:51 +00:00
christos e904bb0ffc Close PR 2376 1996-05-06 13:45:44 +00:00
christos b078384e49 - grab prototypes from netgroup.h
- added _ng_print, netgroup pretty printing function
1996-04-27 18:59:05 +00:00
scottr 7fde8d9997 comprised -> composed. Closes PR 2345. 1996-04-23 05:18:06 +00:00
cgd 4e82cb0a0a fix a couple of typesetting and grammatical errors in GLOB_BRACE's description 1996-04-19 00:12:16 +00:00