unix-history/.git
30 years ago8.6.9 -- for 4.4-Lite
Eric Allman [Tue, 19 Apr 1994 13:18:36 +0000 (05:18 -0800)]
8.6.9 -- for 4.4-Lite

SCCS-vsn: usr.sbin/sendmail/RELEASE_NOTES 8.6.9.1

30 years agosee ../RELEASE_NOTES
Eric Allman [Tue, 19 Apr 1994 13:18:09 +0000 (05:18 -0800)]
see ../RELEASE_NOTES

SCCS-vsn: usr.sbin/sendmail/src/version.c 8.6.9.1

30 years agoUUCP hacks to avoid bogus $h problems
Eric Allman [Tue, 19 Apr 1994 13:17:39 +0000 (05:17 -0800)]
UUCP hacks to avoid bogus $h problems

SCCS-vsn: usr.sbin/sendmail/cf/m4/version.m4 8.6.9.1

30 years ago(no message)
Eric Allman [Tue, 19 Apr 1994 13:17:17 +0000 (05:17 -0800)]
(no message)

SCCS-vsn: usr.sbin/sendmail/cf/m4/version.m4 8.6.7.1
SCCS-vsn: usr.sbin/sendmail/cf/m4/version.m4 8.6.8.1

30 years agospell
Keith Bostic [Tue, 19 Apr 1994 12:14:38 +0000 (04:14 -0800)]
spell

SCCS-vsn: usr.bin/tn3270/tn3270/tn3270.1 8.2

30 years agospelling
Keith Bostic [Tue, 19 Apr 1994 12:12:16 +0000 (04:12 -0800)]
spelling

SCCS-vsn: bin/sh/sh.1 8.4
SCCS-vsn: bin/stty/stty.1 8.4

30 years agospell
Keith Bostic [Tue, 19 Apr 1994 12:07:55 +0000 (04:07 -0800)]
spell

SCCS-vsn: usr.bin/leave/leave.1 8.2
SCCS-vsn: bin/ls/ls.1 8.6
SCCS-vsn: usr.bin/more/more.1 8.2
SCCS-vsn: usr.bin/netstat/netstat.1 8.8
SCCS-vsn: bin/pax/pax.1 8.4
SCCS-vsn: usr.bin/pr/pr.1 8.3
SCCS-vsn: lib/librpc/man/man1/rstat.1 1.2

30 years agozopen no longer in the C library
Keith Bostic [Tue, 19 Apr 1994 11:48:19 +0000 (03:48 -0800)]
zopen no longer in the C library

SCCS-vsn: usr.bin/compress/compress.1 8.2

30 years agospelling
Keith Bostic [Tue, 19 Apr 1994 11:46:37 +0000 (03:46 -0800)]
spelling

SCCS-vsn: lib/librpc/secure_rpc/man/chkey.1 8.2

30 years agodate and time created 94/04/18 20:46:12 by bostic
Keith Bostic [Tue, 19 Apr 1994 11:46:12 +0000 (03:46 -0800)]
date and time created 94/04/18 20:46:12 by bostic

SCCS-vsn: lib/librpc/secure_rpc/man/chkey.1 8.1

30 years agospelling
Keith Bostic [Tue, 19 Apr 1994 11:44:30 +0000 (03:44 -0800)]
spelling

SCCS-vsn: usr.bin/basename/basename.1 8.2

30 years agomisspelling
Keith Bostic [Tue, 19 Apr 1994 11:39:33 +0000 (03:39 -0800)]
misspelling

SCCS-vsn: old/adb/common_source/adb.1 5.13

30 years agodelete dead code
Kirk McKusick [Tue, 19 Apr 1994 10:17:39 +0000 (02:17 -0800)]
delete dead code

SCCS-vsn: sys/ufs/ffs/ffs_vfsops.c 8.8

30 years agocount the size of holes as well as blocks
Kirk McKusick [Tue, 19 Apr 1994 10:10:31 +0000 (02:10 -0800)]
count the size of holes as well as blocks

SCCS-vsn: sbin/fsck/inode.c 8.4

30 years agoavoid race between vget and getnewvnode (from Hibler)
Kirk McKusick [Tue, 19 Apr 1994 08:46:40 +0000 (00:46 -0800)]
avoid race between vget and getnewvnode (from Hibler)

SCCS-vsn: sys/kern/vfs_subr.c 8.13

30 years agouse mandoc macros for arp.4, update the Makefil to install it
Keith Bostic [Tue, 19 Apr 1994 07:41:07 +0000 (23:41 -0800)]
use mandoc macros for arp.4, update the Makefil to install it

SCCS-vsn: usr.sbin/arp/Makefile 8.2
SCCS-vsn: usr.sbin/arp/arp4.4 6.5

30 years agoupgrade mh to 6.8.3a
Keith Bostic [Tue, 19 Apr 1994 07:19:06 +0000 (23:19 -0800)]
upgrade mh to 6.8.3a

SCCS-vsn: contrib/Makefile 8.11

30 years agofix relay= logging on queued messages
Eric Allman [Tue, 19 Apr 1994 06:30:29 +0000 (22:30 -0800)]
fix relay= logging on queued messages

SCCS-vsn: usr.sbin/sendmail/src/deliver.c 8.82

30 years agofix UNIXWARE
Eric Allman [Tue, 19 Apr 1994 06:30:08 +0000 (22:30 -0800)]
fix UNIXWARE

SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.89

30 years agoThis man page got lost in the "move to local directories" shuffle
Keith Bostic [Tue, 19 Apr 1994 06:22:27 +0000 (22:22 -0800)]
This man page got lost in the "move to local directories" shuffle
Bring it back, Mike Karels reworked it for 4.4BSD

SCCS-vsn: usr.sbin/arp/arp4.4 6.4

30 years agowhen creating the df file, be sure you truncate any existing file
Eric Allman [Tue, 19 Apr 1994 06:17:12 +0000 (22:17 -0800)]
when creating the df file, be sure you truncate any existing file

SCCS-vsn: usr.sbin/sendmail/src/collect.c 8.14
SCCS-vsn: usr.sbin/sendmail/src/queue.c 8.41

30 years agonew version from Keith Muller (muller@sdcc3.ucsd.edu)
Keith Bostic [Tue, 19 Apr 1994 05:02:30 +0000 (21:02 -0800)]
new version from Keith Muller (muller@sdcc3.ucsd.edu)

SCCS-vsn: bin/pax/ar_io.c 8.2
SCCS-vsn: bin/pax/ar_subs.c 8.2
SCCS-vsn: bin/pax/buf_subs.c 8.2
SCCS-vsn: bin/pax/extern.h 8.2
SCCS-vsn: bin/pax/ftree.c 8.2
SCCS-vsn: bin/pax/options.c 8.2
SCCS-vsn: bin/pax/options.h 8.2
SCCS-vsn: bin/pax/pat_rep.c 8.2
SCCS-vsn: bin/pax/pax.1 8.3
SCCS-vsn: bin/pax/pax.c 8.2
SCCS-vsn: bin/pax/pax.h 8.2
SCCS-vsn: bin/pax/tar.c 8.2
SCCS-vsn: bin/pax/tar.h 8.2
SCCS-vsn: bin/pax/tty_subs.c 8.2

30 years agoback out revision 8.2 - it broke other system Makefiles
Keith Bostic [Tue, 19 Apr 1994 04:52:04 +0000 (20:52 -0800)]
back out revision 8.2 - it broke other system Makefiles

SCCS-vsn: usr.bin/make/suff.c 8.5

30 years agoupgrade nvi to 1.14
Keith Bostic [Tue, 19 Apr 1994 04:35:53 +0000 (20:35 -0800)]
upgrade nvi to 1.14

SCCS-vsn: contrib/Makefile 8.10

30 years agorelocate initialization of `securelevel' variable
Kirk McKusick [Tue, 19 Apr 1994 01:42:49 +0000 (17:42 -0800)]
relocate initialization of `securelevel' variable

SCCS-vsn: sbin/init/init.8 8.3

30 years agozopen is gone (for now anyway)
Kirk McKusick [Tue, 19 Apr 1994 01:38:38 +0000 (17:38 -0800)]
zopen is gone (for now anyway)

SCCS-vsn: share/man/man0/man3 8.3

30 years agoJan-Simon Pendry wrote the current apply
Keith Bostic [Mon, 18 Apr 1994 22:52:36 +0000 (14:52 -0800)]
Jan-Simon Pendry wrote the current apply

SCCS-vsn: admin/admin/contrib/contrib 5.55

30 years agotypo
Keith Bostic [Mon, 18 Apr 1994 22:44:22 +0000 (14:44 -0800)]
typo

SCCS-vsn: bin/ps/ps.1 8.3
SCCS-vsn: bin/ls/ls.1 8.5
SCCS-vsn: usr.bin/mklocale/mklocale.1 8.2
SCCS-vsn: usr.bin/at/at/at.1 8.3
SCCS-vsn: usr.bin/tip/tip.1 8.4
SCCS-vsn: usr.bin/vis/vis.1 8.3
SCCS-vsn: usr.bin/w/uptime.1 8.2
SCCS-vsn: usr.bin/spell/spell.1 8.2

30 years agospelling
Keith Bostic [Mon, 18 Apr 1994 22:30:24 +0000 (14:30 -0800)]
spelling

SCCS-vsn: usr.bin/grep/egrep/grep.1 8.3

30 years agotypo
Keith Bostic [Mon, 18 Apr 1994 22:29:06 +0000 (14:29 -0800)]
typo

SCCS-vsn: usr.bin/size/size.1 8.2
SCCS-vsn: usr.bin/hexdump/hexdump.1 8.2
SCCS-vsn: usr.bin/diff/diff3/diff3.1 8.2
SCCS-vsn: usr.sbin/amd/amq/amq.8 8.3

30 years agotypo, but it was wrong -- su did not come from MIT
Keith Bostic [Mon, 18 Apr 1994 22:17:43 +0000 (14:17 -0800)]
typo, but it was wrong -- su did not come from MIT

SCCS-vsn: usr.bin/su/su.1 8.2

30 years agotypo
Keith Bostic [Mon, 18 Apr 1994 22:13:07 +0000 (14:13 -0800)]
typo

SCCS-vsn: usr.bin/gcore/gcore.1 8.2
SCCS-vsn: usr.bin/tftp/tftp.1 8.2
SCCS-vsn: usr.bin/at/at/at.1 8.2
SCCS-vsn: bin/sleep/sleep.1 8.3
SCCS-vsn: bin/cp/cp.1 8.3
SCCS-vsn: bin/sh/sh.1 8.3
SCCS-vsn: usr.sbin/pstat/pstat.8 8.3

30 years agoavoid using %m in syslog calls because it conflicts with HP-UX
Eric Allman [Mon, 18 Apr 1994 22:03:28 +0000 (14:03 -0800)]
avoid using %m in syslog calls because it conflicts with HP-UX

SCCS-vsn: usr.sbin/sendmail/src/err.c 8.27
SCCS-vsn: usr.sbin/sendmail/src/collect.c 8.13

30 years agotypo
Keith Bostic [Mon, 18 Apr 1994 22:03:00 +0000 (14:03 -0800)]
typo

SCCS-vsn: bin/stty/stty.1 8.3

30 years agosleep between retries
Eric Allman [Mon, 18 Apr 1994 21:48:20 +0000 (13:48 -0800)]
sleep between retries

SCCS-vsn: usr.sbin/sendmail/src/daemon.c 8.48

30 years agofrom Eric Wassenaar: retry socket open if failure is due to
Eric Allman [Mon, 18 Apr 1994 21:47:39 +0000 (13:47 -0800)]
from Eric Wassenaar: retry socket open if failure is due to
transient condition

SCCS-vsn: usr.sbin/sendmail/src/daemon.c 8.47

30 years agoadd the -P (paranoid) option, overwrite regular files
Keith Bostic [Mon, 18 Apr 1994 21:21:47 +0000 (13:21 -0800)]
add the -P (paranoid) option, overwrite regular files

SCCS-vsn: bin/rm/rm.c 8.5
SCCS-vsn: bin/rm/rm.1 8.2

30 years agochanges for 4.4BSD-Lite
Kirk McKusick [Mon, 18 Apr 1994 13:46:00 +0000 (05:46 -0800)]
changes for 4.4BSD-Lite

SCCS-vsn: share/man/man0/man1 8.3
SCCS-vsn: share/man/man0/man8 8.3

30 years agoupdate contrib list; cleanup introduction for Usenix
Kirk McKusick [Mon, 18 Apr 1994 13:45:44 +0000 (05:45 -0800)]
update contrib list; cleanup introduction for Usenix

SCCS-vsn: share/man/man0/title.urm 8.5

30 years agoformatting (make list fit on two pages)
Kirk McKusick [Mon, 18 Apr 1994 13:44:43 +0000 (05:44 -0800)]
formatting (make list fit on two pages)

SCCS-vsn: admin/admin/contrib/contrib 5.54

30 years agoadd -x option to output all messages to stderr
Kirk McKusick [Mon, 18 Apr 1994 12:43:12 +0000 (04:43 -0800)]
add -x option to output all messages to stderr

SCCS-vsn: usr.bin/tcopy/tcopy.1 8.2

30 years agoadd -x option to output all messages to standard out
Kirk McKusick [Mon, 18 Apr 1994 12:38:11 +0000 (04:38 -0800)]
add -x option to output all messages to standard out

SCCS-vsn: usr.bin/tcopy/tcopy.c 8.2

30 years agocleanup to avoid bogus listen() if we are just going to close the socket
Eric Allman [Mon, 18 Apr 1994 02:58:37 +0000 (18:58 -0800)]
cleanup to avoid bogus listen() if we are just going to close the socket

SCCS-vsn: usr.sbin/sendmail/src/daemon.c 8.46

30 years agoinsist on a dot in our hostname if you are running DNS
Eric Allman [Mon, 18 Apr 1994 02:13:24 +0000 (18:13 -0800)]
insist on a dot in our hostname if you are running DNS

SCCS-vsn: usr.sbin/sendmail/src/daemon.c 8.45

30 years agoPOSIX.2 says to print a pipe character after fifo names
Keith Bostic [Mon, 18 Apr 1994 00:45:05 +0000 (16:45 -0800)]
POSIX.2 says to print a pipe character after fifo names

SCCS-vsn: bin/ls/print.c 8.4

30 years agoun is declared as an automatic variable in main(), and isn't
Keith Bostic [Mon, 18 Apr 1994 00:33:01 +0000 (16:33 -0800)]
un is declared as an automatic variable in main(), and isn't
bzero'd before use.
From: "Chris G. Demetriou" <cgd@nobozo.CS.Berkeley.EDU>

SCCS-vsn: usr.sbin/lpr/common_source/startdaemon.c 8.2

30 years agofromunix, frominet are declared as automatic variables in main()
Keith Bostic [Mon, 18 Apr 1994 00:31:18 +0000 (16:31 -0800)]
fromunix, frominet are declared as automatic variables in main()
and aren't bzero()'d before use.
From: "Chris G. Demetriou" <cgd@nobozo.CS.Berkeley.EDU>

SCCS-vsn: usr.sbin/lpr/lpd/lpd.c 8.4

30 years agomove zopen(3) out of the C library, to here; the interface
Keith Bostic [Mon, 18 Apr 1994 00:17:14 +0000 (16:17 -0800)]
move zopen(3) out of the C library, to here; the interface
is wrong for the C library, and I don't have time to fix it

SCCS-vsn: sbin/savecore/Makefile 8.2
SCCS-vsn: lib/libc/stdio/Makefile.inc 8.3

30 years agomove zopen(3) out of the C library, to here
Keith Bostic [Mon, 18 Apr 1994 00:06:44 +0000 (16:06 -0800)]
move zopen(3) out of the C library, to here
the interface is wrong for the C library, and I don't have time to fix it

SCCS-vsn: usr.bin/compress/Makefile 8.2

30 years agomake setreuid and setregid take uid_t/gid_t's, for
Keith Bostic [Sun, 17 Apr 1994 23:58:57 +0000 (15:58 -0800)]
make setreuid and setregid take uid_t/gid_t's, for
consistency with the C library source code.
From: "Chris G. Demetriou" <cgd@vangogh.CS.Berkeley.EDU>

SCCS-vsn: contrib/libg++-2.3/libg++/g++-include/unistd.h 1.5

30 years agoinstead of using accept(0) to turn off connections (which pretty
Eric Allman [Sun, 17 Apr 1994 22:43:30 +0000 (14:43 -0800)]
instead of using accept(0) to turn off connections (which pretty
much never works), close and later re-open the connection

SCCS-vsn: usr.sbin/sendmail/src/daemon.c 8.44

30 years agosysctl is in section 8
Keith Bostic [Sun, 17 Apr 1994 22:20:27 +0000 (14:20 -0800)]
sysctl is in section 8

SCCS-vsn: sbin/init/init.8 8.2

30 years agomake OLD_NEWDB a #if instead of #ifdef; autoconfigure it for old
Eric Allman [Sun, 17 Apr 1994 22:05:49 +0000 (14:05 -0800)]
make OLD_NEWDB a #if instead of #ifdef; autoconfigure it for old
versions of BSD/386

SCCS-vsn: usr.sbin/sendmail/src/conf.h 8.104
SCCS-vsn: usr.sbin/sendmail/src/map.c 8.25
SCCS-vsn: usr.sbin/sendmail/src/READ_ME 8.61

30 years ago"bare linefeed's code should match 226
Keith Bostic [Sun, 17 Apr 1994 06:47:08 +0000 (22:47 -0800)]
"bare linefeed's code should match 226
See RFC959 starting around the bottom of page 35.
From: sms@WLV.IIPO.GTEGSC.COM (Steven M. Schultz)

SCCS-vsn: libexec/ftpd/ftpd.c 8.4

30 years agorun arguments through strvis, so we don't whack the terminal
Keith Bostic [Sun, 17 Apr 1994 06:39:02 +0000 (22:39 -0800)]
run arguments through strvis, so we don't whack the terminal
From: "Chris G. Demetriou" <cgd@nobozo.CS.Berkeley.EDU>

SCCS-vsn: usr.bin/w/w.c 8.4

30 years agorun the environment and arguments through strvis, so we don't
Keith Bostic [Sun, 17 Apr 1994 06:25:21 +0000 (22:25 -0800)]
run the environment and arguments through strvis, so we don't
whack on the terminal
From: "Chris G. Demetriou" <cgd@nobozo.CS.Berkeley.EDU>

SCCS-vsn: bin/ps/print.c 8.6

30 years agoFixed the most major defect in fnmatch(): backslash-escape processing in
Keith Bostic [Sun, 17 Apr 1994 05:13:35 +0000 (21:13 -0800)]
Fixed the most major defect in fnmatch(): backslash-escape processing in
bracket expressions.
Implement the FNM_PERIOD flag.
Random ANSI C cleanups, KNF, prettiness police
From: conklin@ngai.kaleida.com (J.T. Conklin)

SCCS-vsn: lib/libc/gen/fnmatch.3 8.2
SCCS-vsn: lib/libc/gen/fnmatch.c 8.2

30 years agoput the optoins array into text space
Keith Bostic [Sun, 17 Apr 1994 04:56:52 +0000 (20:56 -0800)]
put the optoins array into text space
option() is now static to op

SCCS-vsn: usr.bin/find/option.c 8.2

30 years agooption() is now static to option.c
Keith Bostic [Sun, 17 Apr 1994 04:56:14 +0000 (20:56 -0800)]
option() is now static to option.c

SCCS-vsn: usr.bin/find/extern.h 8.3

30 years agoThe find command used the results of option() to delimit the file list
Keith Bostic [Sun, 17 Apr 1994 04:51:29 +0000 (20:51 -0800)]
The find command used the results of option() to delimit the file list
from its expression.  But misspellings of the expression can cause
disasterous results, and POSIX.2 requires more stringent criteria.
For example: find . -naame '*.o' | xargs rm
will remove every file in the current directory heirarchy.
From: conklin@ngai.kaleida.com (J.T. Conklin)

SCCS-vsn: usr.bin/find/main.c 8.3

30 years agoEmpty fields were not being output for unpairable lines.
Keith Bostic [Sun, 17 Apr 1994 04:39:24 +0000 (20:39 -0800)]
Empty fields were not being output for unpairable lines.
ex: printf "bar b\nbar.ugh bu\n" > f1; printf "bar.ugh 99\n" > f2
join -a1 -e FOO -o 1.1 1.2 2.2 f1 f2 put out "bar b\nbar.ugh bu 99"
not "bar b FOO\nbar.ugh bu 99"
From: henry@zoo.toronto.edu (Henry Spencer)
lots of KNF, prettiness police, use err(3)

SCCS-vsn: usr.bin/join/join.c 8.3

30 years agohistorically, pr permitted -w without a column specification
Keith Bostic [Sun, 17 Apr 1994 03:50:24 +0000 (19:50 -0800)]
historically, pr permitted -w without a column specification
POSIX.2 only requires that it be ignored for single-column, not that
it be disallowed.
From: "John F. Woods" <jfw@jfwhome.funhouse.com>

SCCS-vsn: usr.bin/pr/pr.c 8.2

30 years agolpd was overriding the paper width setting from /etc/printcap
Keith Bostic [Sun, 17 Apr 1994 03:45:56 +0000 (19:45 -0800)]
lpd was overriding the paper width setting from /etc/printcap
From: "John F. Woods" <jfw@jfwhome.funhouse.com>

SCCS-vsn: usr.sbin/lpr/lpd/printjob.c 8.2

30 years agosetgroups now takes gid_t's, they are 32-bits
Keith Bostic [Sun, 17 Apr 1994 03:28:25 +0000 (19:28 -0800)]
setgroups now takes gid_t's, they are 32-bits

SCCS-vsn: include/unistd.h 8.10
SCCS-vsn: lib/libc/sys/setgroups.2 8.2

30 years agogetgroups now takes gid_t's, they are 32-bits
Keith Bostic [Sun, 17 Apr 1994 03:23:34 +0000 (19:23 -0800)]
getgroups now takes gid_t's, they are 32-bits

SCCS-vsn: lib/libc/sys/getgroups.2 8.2

30 years agoIf compressed TCP packets were being received on a SLIP
Keith Bostic [Sun, 17 Apr 1994 03:18:45 +0000 (19:18 -0800)]
If compressed TCP packets were being received on a SLIP
link while it was first configured, the system could
crash if a packet with a compressed connection ID was received.
BSDI's patch SK110-004

SCCS-vsn: sys/net/slcompress.c 8.2

30 years agostrvis, strvisx are links to vis
Keith Bostic [Sun, 17 Apr 1994 03:07:07 +0000 (19:07 -0800)]
strvis, strvisx are links to vis

SCCS-vsn: lib/libc/gen/Makefile.inc 8.3

30 years agoprettiness police
Keith Bostic [Sun, 17 Apr 1994 03:05:47 +0000 (19:05 -0800)]
prettiness police

SCCS-vsn: usr.bin/vis/vis.1 8.2

30 years agodelete reference to wordexp(3), rearrange section order
Keith Bostic [Sun, 17 Apr 1994 03:02:24 +0000 (19:02 -0800)]
delete reference to wordexp(3), rearrange section order

SCCS-vsn: lib/libc/gen/glob.3 8.3

30 years agodelete potential matches if the -a flag isn't set after finding
Keith Bostic [Sun, 17 Apr 1994 02:45:32 +0000 (18:45 -0800)]
delete potential matches if the -a flag isn't set after finding
a match

SCCS-vsn: usr.bin/man/man.c 8.16

30 years agodo most of POSIX.2 compliance, use getopt(3) to parse arguments
Keith Bostic [Sun, 17 Apr 1994 01:41:41 +0000 (17:41 -0800)]
do most of POSIX.2 compliance, use getopt(3) to parse arguments
general ANSI C cleanups, use err(3) functions
original argument parsing was dropping core

SCCS-vsn: usr.bin/split/split.1 8.3
SCCS-vsn: usr.bin/split/split.c 8.2

30 years agobug in sh 'read' with no variable argument...
Keith Bostic [Sat, 16 Apr 1994 23:59:12 +0000 (15:59 -0800)]
bug in sh 'read' with no variable argument...
basically: argptr isn't null (if it were, nextopt() would have problems),
but *argptr is.  the latter is the thing to test in this case.
From: "Chris G. Demetriou" <cgd@sun-lamp.cs.berkeley.edu>

SCCS-vsn: bin/sh/miscbltin.c 8.2

30 years agomake setreuid and setregid take uid_t/gid_t's, for
Keith Bostic [Sat, 16 Apr 1994 23:46:24 +0000 (15:46 -0800)]
make setreuid and setregid take uid_t/gid_t's, for
consistency with the C library source code.
From: "Chris G. Demetriou" <cgd@vangogh.CS.Berkeley.EDU>

SCCS-vsn: lib/libc/compat-43/setregid.2 8.2
SCCS-vsn: lib/libc/compat-43/setreuid.2 8.2

30 years agoadd 1994 to the copyright
Keith Bostic [Sat, 16 Apr 1994 23:43:18 +0000 (15:43 -0800)]
add 1994 to the copyright

SCCS-vsn: include/unistd.h 8.9

30 years agomake setreuid and setregid take uid_t/gid_t's, for
Keith Bostic [Sat, 16 Apr 1994 23:41:05 +0000 (15:41 -0800)]
make setreuid and setregid take uid_t/gid_t's, for
consistency with the C library source code.
From: "Chris G. Demetriou" <cgd@vangogh.CS.Berkeley.EDU>

SCCS-vsn: include/unistd.h 8.8

30 years agoroff bug in termcap man page
Keith Bostic [Sat, 16 Apr 1994 23:38:01 +0000 (15:38 -0800)]
roff bug in termcap man page
From: "Chris G. Demetriou" <cgd@postgres.Berkeley.EDU>

SCCS-vsn: share/termcap/termcap.5 8.3

30 years ago/usr/games/sail uses setruid(), which has been deprecated.
Keith Bostic [Sat, 16 Apr 1994 23:15:01 +0000 (15:15 -0800)]
/usr/games/sail uses setruid(), which has been deprecated.
Take a look at line 51 of dr_main.c, and change the setruid() to
setuid() -- it sets the uid to 'games', etc., and never gives
it back, so 'setuid()' is the thing to do.
From: "Chris G. Demetriou" <cgd@postgres.Berkeley.EDU>

SCCS-vsn: games/sail/dr_main.c 8.2

30 years agoupdate copyright notice
Keith Bostic [Sat, 16 Apr 1994 23:12:21 +0000 (15:12 -0800)]
update copyright notice

SCCS-vsn: usr.bin/sed/process.c 8.3

30 years agoIf pwd_mkdb is invoked with a umask of, say 077, /etc/passwd will end up
Keith Bostic [Sat, 16 Apr 1994 23:00:14 +0000 (15:00 -0800)]
If pwd_mkdb is invoked with a umask of, say 077, /etc/passwd will end up
being unreadable.
From: "Chris G. Demetriou" <cgd@sun-lamp.cs.berkeley.edu>

SCCS-vsn: usr.sbin/pwd_mkdb/pwd_mkdb.c 8.4

30 years agoclnp needs sys/types.h (for u_short, etc.), so BYTE_ORDER isn't
Keith Bostic [Sat, 16 Apr 1994 22:50:59 +0000 (14:50 -0800)]
clnp needs sys/types.h (for u_short, etc.), so BYTE_ORDER isn't
needed.
From: "Chris G. Demetriou" <cgd@sun-lamp.cs.berkeley.edu>

SCCS-vsn: sys/netiso/clnp.h 8.2

30 years agotypo
Keith Bostic [Sat, 16 Apr 1994 22:41:17 +0000 (14:41 -0800)]
typo

SCCS-vsn: lib/libc/gen/fts.3 8.5

30 years agoANSI C cleanups
Keith Bostic [Sat, 16 Apr 1994 22:36:15 +0000 (14:36 -0800)]
ANSI C cleanups

SCCS-vsn: lib/libc/gen/fts.c 8.4

30 years agobug fixes for $j sanity check and hostname must have dot heuristic
Eric Allman [Sat, 16 Apr 1994 22:36:07 +0000 (14:36 -0800)]
bug fixes for $j sanity check and hostname must have dot heuristic

SCCS-vsn: usr.sbin/sendmail/src/daemon.c 8.43

30 years agoFix obscure bug where the working directory would not be restored to its
Keith Bostic [Sat, 16 Apr 1994 22:30:40 +0000 (14:30 -0800)]
Fix obscure bug where the working directory would not be restored to its
proper place (occurs if one of fts_open()'s arguments is a relative path
to a empty directory).
From: conklin@ngai.kaleida.com (J.T. Conklin)

SCCS-vsn: lib/libc/gen/fts.c 8.3

30 years agoneeded socket library
Eric Allman [Sat, 16 Apr 1994 22:27:55 +0000 (14:27 -0800)]
needed socket library

SCCS-vsn: usr.sbin/sendmail/src/Makefiles/Makefile.NCR3000 8.2

30 years agomodes.c was fixed to reflect the fact that MDMBUF is a cflag,
Keith Bostic [Sat, 16 Apr 1994 22:14:46 +0000 (14:14 -0800)]
modes.c was fixed to reflect the fact that MDMBUF is a cflag,
but print.c wasn't.
From: "Chris G. Demetriou" <cgd@sun-lamp.cs.berkeley.edu>

SCCS-vsn: bin/stty/print.c 8.6

30 years agogettytab(5) doesn't document "np".
Keith Bostic [Sat, 16 Apr 1994 22:07:33 +0000 (14:07 -0800)]
gettytab(5) doesn't document "np".
From: "Chris G. Demetriou" <cgd@vangogh.CS.Berkeley.EDU>

SCCS-vsn: libexec/getty/gettytab.5 8.2

30 years agotypos
Keith Bostic [Sat, 16 Apr 1994 21:53:20 +0000 (13:53 -0800)]
typos
From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)

SCCS-vsn: share/man/man4/termios.4 8.3

30 years agosomewhere along the line I broke the "nice --3" syntax
Keith Bostic [Sat, 16 Apr 1994 21:47:31 +0000 (13:47 -0800)]
somewhere along the line I broke the "nice --3" syntax

SCCS-vsn: usr.bin/nice/nice.c 8.2

30 years agomerge ffs_root and lfs_root into ufs_root
Keith Bostic [Sat, 16 Apr 1994 21:32:17 +0000 (13:32 -0800)]
merge ffs_root and lfs_root into ufs_root

SCCS-vsn: sys/ufs/ffs/ffs_extern.h 8.3
SCCS-vsn: sys/ufs/ffs/ffs_vfsops.c 8.7
SCCS-vsn: sys/ufs/ffs/ufs_extern.h 8.3
SCCS-vsn: sys/ufs/ufs/ufs_extern.h 8.3
SCCS-vsn: sys/ufs/ffs/ufs_vfsops.c 8.4
SCCS-vsn: sys/ufs/ufs/ufs_vfsops.c 8.4
SCCS-vsn: sys/ufs/mfs/mfs_vfsops.c 8.4
SCCS-vsn: sys/ufs/lfs/lfs_extern.h 8.2
SCCS-vsn: sys/ufs/lfs/lfs_vfsops.c 8.7

30 years agomove tcppredack, tcppreddat, tcppcbcachemiss into the TCP stats structure
Keith Bostic [Sat, 16 Apr 1994 21:15:01 +0000 (13:15 -0800)]
move tcppredack, tcppreddat, tcppcbcachemiss into the TCP stats structure
Rich Stevens asked, Mike Karels agreed.

SCCS-vsn: usr.bin/netstat/inet.c 8.3

30 years agobetter makedb rule
Jan-Simon Pendry [Sat, 16 Apr 1994 19:21:46 +0000 (11:21 -0800)]
better makedb rule

SCCS-vsn: share/man/Makefile 8.2

30 years agoparanoid check to avoid vrele(NULL) (from polk@bsdi.com)
Kirk McKusick [Sat, 16 Apr 1994 08:30:14 +0000 (00:30 -0800)]
paranoid check to avoid vrele(NULL) (from polk@bsdi.com)

SCCS-vsn: sys/kern/vfs_syscalls.c 8.13

30 years agoavoid hang when given a negative write count (from polk@bsdi.com)
Kirk McKusick [Sat, 16 Apr 1994 08:25:46 +0000 (00:25 -0800)]
avoid hang when given a negative write count (from polk@bsdi.com)

SCCS-vsn: sys/kern/uipc_socket.c 8.3

30 years agoavoid breaking up output when commands have newlines in them (for marc)
Kirk McKusick [Sat, 16 Apr 1994 08:11:57 +0000 (00:11 -0800)]
avoid breaking up output when commands have newlines in them (for marc)

SCCS-vsn: bin/ps/fmt.c 8.4

30 years agoadd return values
Kirk McKusick [Sat, 16 Apr 1994 08:05:37 +0000 (00:05 -0800)]
add return values

SCCS-vsn: lib/libc/sys/munmap.2 8.2

30 years agodo not dump core when invoked with no arguments (from leres@lbl)
Kirk McKusick [Sat, 16 Apr 1994 04:09:39 +0000 (20:09 -0800)]
do not dump core when invoked with no arguments (from leres@lbl)

SCCS-vsn: sbin/dump/main.c 8.4

30 years agodefer error messages until after the collect is done to get around
Eric Allman [Sat, 16 Apr 1994 02:31:44 +0000 (18:31 -0800)]
defer error messages until after the collect is done to get around
a disagreement with MVS about how the SMTP protocol works

SCCS-vsn: usr.sbin/sendmail/src/collect.c 8.12

30 years agoadd %p, so we can load against System V terminfo files
Keith Bostic [Sat, 16 Apr 1994 00:45:26 +0000 (16:45 -0800)]
add %p, so we can load against System V terminfo files
lots of random cleanup

SCCS-vsn: lib/libcurses/tscroll.c 8.2

30 years agodon't print size parameter in error messages during parsing
Eric Allman [Sat, 16 Apr 1994 00:27:11 +0000 (16:27 -0800)]
don't print size parameter in error messages during parsing

SCCS-vsn: usr.sbin/sendmail/src/parseaddr.c 8.31