John Dyson
5ae9116a7d
Clean-up my modification of popen.c for vfork. Bruce's (this) is better.
...
Submitted by: Bruce Evans <bde@freebsd.org>
1997-04-20 20:17:04 +00:00
Bruce Evans
e23b7f75de
Use separate routines for memmove() and memcpy(). This lets me drop
...
the (buggy) support for alternative entry points. ALTENTRY() was only
used for memmove(). Optimizing for space was particularly silly because
memcpy() is rarely used (gcc normally inlines it).
Obtained from: NetBSD
1997-04-20 13:02:48 +00:00
Bruce Evans
8009c566df
Use separate routines for memmove() and memcpy(). This lets me drop
...
the (buggy) support for alternative entry points. ALTENTRY() was only
used for memmove(). Optimizing for space was particularly silly because
memcpy() is rarely used (gcc normally inlines it).
Obtained from: NetBSD
1997-04-20 12:46:12 +00:00
Bruce Evans
1c33c5a76b
Merged with the 1996/11/12 NetBSD version:
...
- use a slightly less bogus copyright. This file was never contributed
to Berkeley. It still claims to be copright by the Regents.
- use <machine/asm.h> instead of "DEFS.h".
- use RCSID($Id$) instead of explicit assembly code and messy ifdefs.
The rcsid won't be put into the object file until we make RCSID()
non-null. NetBSD uses a LIBC_SCCS ifdef here. We used a LIBC_RCS
instead, but I want RCSID() to be controlled directly by LIBC_RCS
(actually by LIB_RCS). This is the only difference with the NetBSD
version.
- added ifdefs to support generation of memcpy() and memmove(). The
other changes are "while I'm here" to get this.
- improved style of the copy backwards case.
1997-04-20 12:09:18 +00:00
Bruce Evans
7df534462e
Fixed long lines.
...
Removed unused macros CALL() and ASMSTR.
Reviewed by: jdp
1997-04-19 17:05:30 +00:00
Bruce Evans
a3315650db
Fixed #include and/or prototype bugs in synopsis.
1997-04-19 15:57:20 +00:00
Daniel O'Callaghan
a6f96c4131
Fix punctuation: "it's" -> "its"
1997-04-17 23:31:47 +00:00
John Dyson
1174d9f9df
Fix the problem in popen that makes correct vfork semantics fail.
...
Specifically, popen modifies a variable "pdes[1]" in the child
in such a way that it breaks code in the parent (due to the address
space sharing.)
1997-04-16 03:26:50 +00:00
Bruce Evans
21774a3cea
Second stage of moving this to in <machine/asm.h>: just include
...
<machine/asm.h> here.
1997-04-15 14:18:17 +00:00
Bruce Evans
11663637b8
Fixed missing const. Include <unistd.h> so that the function type gets
...
checked.
Submitted by: partly by roberto
1997-04-14 15:14:58 +00:00
Bruce Evans
69b10155b5
Fixed another prototype bug in synopsis.
1997-04-14 13:37:18 +00:00
David Nugent
5afcddae37
Fix typo.
1997-04-13 16:55:56 +00:00
David Nugent
b06ebb3255
Implement two new keywords and status flags for entries in /etc/ttys;
...
TTY_NETWORK (network), TTY_DIALUP (dialup), which determine a basic
connection type. TTY_DIALUP in particular will replace the old out of
date heuristic "tty[dD]*" in login.c (and better than the current
hard-coded method).
1997-04-13 15:16:03 +00:00
David Nugent
c8207e03ba
Add MLINKS for isdialuptty(3) & isnetworktty(3).
1997-04-13 15:12:14 +00:00
Bruce Evans
e37d0e2391
Fixed #includes in synopsis.
1997-04-13 13:48:43 +00:00
Bruce Evans
cc2680f7dd
Updated the LOCK_* #defines in the synopsis to be lexically identical
...
with the (Lite1) ones in fcntl.h).
1997-04-13 13:43:06 +00:00
Bruce Evans
6333eac64f
Fixed missing consts in synopsis.
1997-04-13 13:37:56 +00:00
Bruce Evans
23f0c1fcf6
Fixed #include and/or prototype bugs in synopsis.
1997-04-13 13:35:33 +00:00
Bruce Evans
a88d7a4bc2
Fixed wrong #include in synopsis.
1997-04-13 13:29:06 +00:00
Bruce Evans
1eda21cbb6
Fixed #include and/or prototype bugs in synopsis.
1997-04-13 13:26:42 +00:00
Bruce Evans
08398af376
Fixed #include and/or prototype bugs in synopsis.
1997-04-13 13:16:20 +00:00
Bruce Evans
f2b1d9af2d
Fixed wrong/incomplete #includes in synopsis.
1997-04-13 13:02:07 +00:00
Bruce Evans
a8eb6d60ee
Fixed wrong function return type in synopsis.
1997-04-13 13:01:05 +00:00
Bruce Evans
330f606e46
Don't use literal semicolons in .Fn macro invocations.
1997-04-13 12:55:36 +00:00
Jordan K. Hubbard
6eb5e456f1
Support GLOBAL style tags.
1997-04-13 06:44:25 +00:00
Bruce Evans
b60f740fec
Fixed missing #include in synopsis.
1997-04-11 18:57:26 +00:00
Bruce Evans
d154848cd1
Fixed return type of __syscall() in synopsis.
...
Don't quote "..." in synopsis. Quoting here is unnecessary and unusual.
1997-04-11 18:54:05 +00:00
Bruce Evans
1fd2a774d4
Fixed missing const(s) or #include(s) in synopsis.
1997-04-11 18:47:10 +00:00
Bruce Evans
99566cdcca
Fixed synopsis (the #include was bogus and the return type for brk() was
...
wrong).
1997-04-11 18:39:44 +00:00
Bruce Evans
0574ea641c
Fixed missing header in synopsis.
1997-04-11 18:09:29 +00:00
Bruce Evans
f6e90f37db
Fixed synopsis (prototype was missing a const).
1997-04-11 18:07:45 +00:00
Bill Paul
6e8caff794
Don't even think about processing bogus domain names here.
1997-04-10 20:26:04 +00:00
Mike Pritchard
b0b21f924b
Typo police. Part of PR# 3242.
...
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
1997-04-09 23:05:04 +00:00
Peter Wemm
3b6bf52958
Missing newline caused too much text to be fed to the macro.
...
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3228
1997-04-08 10:45:10 +00:00
Peter Wemm
165dc08286
setsid is declared in <unistd.h>, which is self sufficient (doesn't need
...
prior <sys/types.h>)
Fixes PR#3229, from Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1997-04-08 10:43:47 +00:00
Guido van Rooij
0fb28c0973
Fix race
...
Obtained from: Keith Bostic
1997-04-07 18:01:10 +00:00
Andrey A. Chernov
21b4da0751
Restore PATH_LOCALE functionality using issetugid() call now
1997-04-07 08:54:38 +00:00
Andrey A. Chernov
b5a6eb1833
Speedup in case locale not used
1997-04-04 19:40:49 +00:00
Andrey A. Chernov
21d58869ce
Speedup in case locale not used
1997-04-04 19:16:08 +00:00
Andrey A. Chernov
6a575f6e24
Eliminate some function calls when locale not used
1997-04-04 19:08:19 +00:00
Andrey A. Chernov
ed2bf9a999
Eliminate yet one function call when locale not used
1997-04-04 19:07:02 +00:00
Andrey A. Chernov
5058254947
Speedup in case locale not used
1997-04-04 18:44:19 +00:00
Andrey A. Chernov
350498c58e
Speedup in case locale not used
1997-04-04 18:28:38 +00:00
Mike Pritchard
5d00c0a499
Honor the nouser/nogroup flag when determing if NULL should
...
be returned if a cached uid/gid does not exist in the password
file.
1997-04-03 01:51:34 +00:00
Peter Wemm
8959b2546d
Update to include details about the changes to setuid/setgid.
1997-04-02 17:24:16 +00:00
Mike Pritchard
1595890a1f
The user_from_{uid,gid} routines would return garbage if the
...
uid/gid in question was in the cache, but did not exist
in the password file. This causes the -nouser and -nogroup
options to find(1) to only print the first file owned by
an unknown user/group in some cases.
1997-04-02 06:20:04 +00:00
John Polstra
6f78fb0cc1
Correct the most glaring errors. I have a feeling there are some
...
left.
1997-04-02 01:42:07 +00:00
Andrey A. Chernov
72daaae383
Link chown with lchown
1997-04-01 23:07:55 +00:00
Andrey A. Chernov
f7000016df
Add issetugid.2 to MAN2 list
1997-04-01 22:57:56 +00:00
Mike Pritchard
02dd678d7e
Xref the new issetugid(2) man page where appropriate.
...
Also add additional set*id(2) xrefs where appropriate.
1997-04-01 18:58:38 +00:00