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
Mike Pritchard
625fe116e7
Don't xref setregid(2) twice - one of them should be setreuid(2).
1997-04-01 18:50:56 +00:00
Mike Pritchard
51aa564f75
Fix one very minor mdoc problem. Gentle enough, Peter? :-)
1997-04-01 18:45:57 +00:00
Mike Pritchard
13bf59efdc
Fix a minor grammar problem.
1997-04-01 18:06:33 +00:00
Peter Wemm
0e1cf9a328
General cleanup and update to specify exactly how our implementation
...
passes on the status across fork/exec.
The previous version had some typos, referred to itself as link(2) in
one place :-), and didn't really match openbsd's implementation either.
Now that I've mentioned typos, hopefully our Typo Police and Xref Police
will be gentle with me. :-)
1997-03-31 16:36:14 +00:00
Peter Wemm
8996ff49a1
Steal issetugid man page from OpenBSD. Needs work..
...
Obtained from: OpenBSD
1997-03-31 15:59:14 +00:00
Peter Wemm
374506988c
Add libc hook for issetugid()
1997-03-31 15:43:22 +00:00
Peter Wemm
30493bb81b
Create lchown() in libc and document it as a variation of chown().
1997-03-31 12:37:35 +00:00
Bruce Evans
7288802ce0
Fixed wording of previous change.
...
Obtained from: fgets.3
Guided by: ISO C standard
1997-03-31 05:18:27 +00:00
Warner Losh
e57e56abf0
Revert my last few changes. They were bogus. Replaced them with
...
the original text plus a statement saying that if strftime fails,
the results are undefined.
Requested a long time ago by: bde
1997-03-31 04:51:13 +00:00
Andrey A. Chernov
a080f5787d
Remove orand* code as promised for the next release
1997-03-29 19:55:03 +00:00
Bruce Evans
58d6cb893a
Fixed #includes in synopsis to compile.
...
Fixed #includes in synopsis to declare the prototype in the synopsis.
Fixed stale types in description of struct dirent.
1997-03-28 12:27:42 +00:00
Mike Pritchard
6c0aebfa90
The w+ entry description was misformatted.
...
Pointed out by: bde
1997-03-27 18:08:23 +00:00
David Nugent
c333ae82c1
Remove minor warning (for -Wall -Wshadow); clarifies code.
1997-03-26 15:42:09 +00:00
Mike Pritchard
6629a7327d
Get my last commit right. The NOTE section now reads:
...
The sa_mask field specified in act is not allowed to block SIGKILL or
SIGSTOP. Any attempt to do so will be silently ignored.
Now where did I leave that pointy hat...
1997-03-25 18:33:23 +00:00
Warner Losh
4545c5b7a4
Restricting $LANG was a really bad idea
...
Pointed out by: Everybody but Jordan.
1997-03-25 05:36:37 +00:00
Warner Losh
99a0772b8d
Back out 1.14 until I reproduce trouble reports
1997-03-25 05:34:31 +00:00
Mike Pritchard
eb5ca91408
Change the description of how attempts to block SIGKILL and SIGSTOP
...
are handled. The system call will actually fail in this case - the
system doesn't silently ignore the request. Closes PR# 3047
Pointed out by: fenner
1997-03-25 03:39:54 +00:00
Warner Losh
3f2c98c480
Don't honor LANG or NLSPATH if we're setuid/setgid.
...
Fixes PR 2582
Submitted by: Julian Assange
1997-03-24 06:15:07 +00:00
Warner Losh
79d71652cf
If we're running setuid/setguid then don't open the host alias file to
...
prevent information leakage.
Closes PR 2578
Submitted by: Julian Assange
1997-03-24 06:11:44 +00:00
Warner Losh
418d4a9817
Don't open the tz file if we're running setuid or setgid to prevent infomration
...
leakage.
Submitted by: Julian Assange
1997-03-24 06:09:50 +00:00
John-Mark Gurney
bb135fe9a1
add xrefs for getpeername, so other people that look for it can find it.. :)
1997-03-24 01:22:01 +00:00
Warner Losh
62f187a4cf
Buffer overflow. Similar, but different, to the fix that Julian A submitted
...
in PR 2580.
Obtained from: BSDi by way of Keith Bostic
Should be in 2.2 and 2.1.x. I'll merge into 2.2.
1997-03-23 23:31:50 +00:00
Andrey A. Chernov
92936d823f
Add srandomdev.3 link
1997-03-23 23:12:59 +00:00
Andrey A. Chernov
f409763500
Fix urandom reference in the comment
1997-03-23 23:09:31 +00:00