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
Brian Somers
568b59b9df
Move uucplock into libutil and create a manual page.
1997-03-30 12:12:20 +00:00
Andrey A. Chernov
a080f5787d
Remove orand* code as promised for the next release
1997-03-29 19:55:03 +00:00
Andrey A. Chernov
79d07a3202
Remove unneded define from CFLAGS (from orand* compatibility)
1997-03-29 19:45:07 +00:00
Andrey A. Chernov
ffdb787e62
Remove orand* compatibility as promised (next release)
1997-03-29 19:44:14 +00:00
John Polstra
162fc7cd57
Remove conflicting declaration of sys_errlist, which caused make world
...
breakage.
1997-03-29 17:42:32 +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
6e42740802
Don't overflow buffers, and only open alternative termcap files if we're
...
not running setuid or setgid.
Fixes PR 2586
Submitted by: Julian Assange
1997-03-24 06:41:30 +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
Warner Losh
d1942b2e76
Fix a minor buffer overflow.
...
Obtained from: BSDi by way of Keith Bostic
1997-03-23 23:17:22 +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
Andrey A. Chernov
7b0b1b2f29
Add srandomdev() description
1997-03-23 23:08:31 +00:00
Andrey A. Chernov
301cf5d3e4
Add srandomdev() function (use "/dev/urandom" now)
...
Submitted by: wollman & me (add type casts and remove unneded loop)
1997-03-23 22:40:20 +00:00
Mike Pritchard
1c2eb98219
Remove an extra comma.
1997-03-22 23:48:12 +00:00
Mike Pritchard
8a7f0369b3
Use the .Tn macro for generic FreeBSD references. Other minor cleanup.
1997-03-21 20:57:20 +00:00
Mike Pritchard
9de8ddb8bc
Mdoc cleanup.
1997-03-21 20:46:30 +00:00
Bill Paul
effbdb690f
Document SCM_CREDS changes.
1997-03-21 16:52:05 +00:00
John Polstra
cf49f43912
Add backward compatibility so that static executables built on
...
modern FreeBSD systems will syslog properly on older systems that
still name the logging socket "/dev/log". This includes pre-2.2
versions of FreeBSD as well as BSD/OS systems. If the connect to
"/var/run/log" fails, the function now tries to connect to
"/dev/log" as a fallback.
1997-03-20 16:28:27 +00:00
Mike Pritchard
1bca868c73
Don't use the undocumented .Fr (function return value) macro for function
...
arguments. Use .Fa instead (the output is the same). Also fixed
a formatting error.
1997-03-19 22:09:08 +00:00
Bruce Evans
433671e348
Fixed missing #include of <sys/types.h> and wrong arg types in synopsis.
...
Reviewed by: wollman
1997-03-19 19:41:20 +00:00
Bruce Evans
d06390f68b
Fixed misquoted arg in synopsis.
1997-03-19 02:01:27 +00:00
Bruce Evans
f0821c98f2
Fixed wrong return type for tputs() in synopsis.
1997-03-19 01:57:06 +00:00
Bruce Evans
26838e4e99
Fixed this header to compile with gcc -pedantic -Werror (removed comma
...
at end of enum).
1997-03-19 01:54:04 +00:00
Bruce Evans
8e868ec864
Fixed synopsis (missing #includes and consts).
1997-03-19 01:33:23 +00:00
Bruce Evans
2d2781ff2c
Fixed synopsis. Some float functions claimed to have the same name as
...
the double version.
1997-03-19 01:28:44 +00:00
Bruce Evans
9837ab3f80
Fixed quoting in .Fn macro invocations in synopsis. The args must be
...
quoted individually. Quoting them all together sort of worked, except
for scsreq_build(), the long arg list was chopped near column 80, to
no avail since the closing parentheses was put on new line by itself.
1997-03-19 01:15:44 +00:00
Bruce Evans
1d23531445
FIxed arg types (mostly missing consts) in synopsis.
1997-03-19 00:58:07 +00:00
Bruce Evans
09589ca82e
FIxed arg types (mostly missing consts) in synopsis.
1997-03-19 00:52:58 +00:00
Bruce Evans
7a30f18397
Added missing #include of <stdarg.h> to synopsis. Moved prototypes for
...
`v' functions after this #include (same organisation as in printf.3 for
printf/vprintf).
1997-03-19 00:43:13 +00:00
Bruce Evans
3ce29386aa
Fixed missing function types in synopsis.
1997-03-19 00:32:42 +00:00
Bruce Evans
f68da8d891
Fixed synopsis (put all of the function (return) type info in .Ft and
...
none in .Fn).
1997-03-19 00:06:09 +00:00
Bruce Evans
ea6bd16b04
Removed unnecessary quoting of function names in synopsis to simplify
...
automated checking of synopses.
1997-03-18 23:57:33 +00:00
Eivind Eklund
43ec585267
Re-order terms to avoid potential pointer overflow, and remove one
...
more potential buffer overflow.
Submitted by: bde
1997-03-18 16:09:27 +00:00
Poul-Henning Kamp
753da60320
Check for overflow in size argument.
...
Tested by: Joel Maslak <j@pobox.com>
Closes: PR kern/2964
1997-03-18 07:54:24 +00:00
Andrey A. Chernov
94fa7afda3
Fix arg types to match Lite2
1997-03-17 16:27:16 +00:00
Eivind Eklund
92d1e8a27b
Buffer overflow fix - closes PR bin/2983 for -current. Should really
...
go into 2.2.0 Release, even at the present time. Problem spotted by
Tero Kivinen <kivinen@ssh.fi> - was in BugTraq today :-(
1997-03-17 09:30:19 +00:00
Bruce Evans
1fe82dfebf
Updated prototype for mount() to match Lite2 reality for the 1st arg
...
and Lite1 or earlier reality for the 4th arg.
1997-03-13 21:11:33 +00:00