openbsd
27 years agosetgid games, not setuid games. closes a neat set of holes
deraadt [Thu, 19 Dec 1996 22:19:48 +0000 (22:19 +0000)]
setgid games, not setuid games. closes a neat set of holes

27 years agotoast shell escape code
deraadt [Thu, 19 Dec 1996 21:02:35 +0000 (21:02 +0000)]
toast shell escape code

27 years agoavoid oflows, thanks also to todd
deraadt [Thu, 19 Dec 1996 18:38:40 +0000 (18:38 +0000)]
avoid oflows, thanks also to todd

27 years agonetbsd fix to problem found by m4@nts.umn.edu
deraadt [Thu, 19 Dec 1996 18:26:58 +0000 (18:26 +0000)]
netbsd fix to problem found by m4@nts.umn.edu

27 years agorepair; david@mono.org
deraadt [Thu, 19 Dec 1996 18:21:02 +0000 (18:21 +0000)]
repair; david@mono.org

27 years agosync to 2.3b3
mickey [Thu, 19 Dec 1996 13:45:16 +0000 (13:45 +0000)]
sync to 2.3b3

27 years agodo SIOCGIFADDR
mickey [Thu, 19 Dec 1996 12:58:14 +0000 (12:58 +0000)]
do SIOCGIFADDR

27 years agodo SIOCGIFADDR in ether_ioctl
mickey [Thu, 19 Dec 1996 12:49:53 +0000 (12:49 +0000)]
do SIOCGIFADDR in ether_ioctl

27 years agotreat only ether II type packets for ipx.
mickey [Thu, 19 Dec 1996 10:59:21 +0000 (10:59 +0000)]
treat only ether II type packets for ipx.

27 years agoReally set column to 0 when outputting a carriage return...
tholo [Thu, 19 Dec 1996 07:54:06 +0000 (07:54 +0000)]
Really set column to 0 when outputting a carriage return...

27 years agomake mode/group on /usr/src/ consistent with mtree/special
millert [Thu, 19 Dec 1996 02:38:08 +0000 (02:38 +0000)]
make mode/group on /usr/src/ consistent with mtree/special

27 years agosync with mtree/special
millert [Thu, 19 Dec 1996 02:31:17 +0000 (02:31 +0000)]
sync with mtree/special

27 years agoConditionalize GCC and ANSI/ISO C dependencies
niklas [Wed, 18 Dec 1996 18:30:58 +0000 (18:30 +0000)]
Conditionalize GCC and ANSI/ISO C dependencies

27 years agoUp limit of available user file descriptors (e.g. for redirections) to 32
niklas [Wed, 18 Dec 1996 18:28:37 +0000 (18:28 +0000)]
Up limit of available user file descriptors (e.g. for redirections) to 32

27 years agoMake pccom compile. This stull really needs to be merged into the
millert [Wed, 18 Dec 1996 16:51:44 +0000 (16:51 +0000)]
Make pccom compile.  This stull really needs to be merged into the
normal com driver.

27 years agoBack out strcpy() -> strncpy() change. Not needed as the array is malloc'd
millert [Wed, 18 Dec 1996 16:50:07 +0000 (16:50 +0000)]
Back out strcpy() -> strncpy() change.  Not needed as the array is malloc'd
with enough space.  Guess that's why I didn't commit this before ;-)

27 years agoUse strncpy() instead of strcpy() where useful, check strdup()
millert [Wed, 18 Dec 1996 04:55:53 +0000 (04:55 +0000)]
Use strncpy() instead of strcpy() where useful, check strdup()
ret val, and pass -Wall.

27 years agomake commented-out stuff secure just in case anyone uncomments it.
millert [Wed, 18 Dec 1996 04:32:57 +0000 (04:32 +0000)]
make commented-out stuff secure just in case anyone uncomments it.

27 years agornd -> random
millert [Wed, 18 Dec 1996 04:29:49 +0000 (04:29 +0000)]
rnd -> random

27 years agotodd is under post-exam stress relief
deraadt [Wed, 18 Dec 1996 04:07:35 +0000 (04:07 +0000)]
todd is under post-exam stress relief

27 years agosupport getting multiple files at once, e.g
michaels [Wed, 18 Dec 1996 01:59:15 +0000 (01:59 +0000)]
support getting multiple files at once, e.g
"ftp host:pub/tst/test /pub/tst/test2 /pub/tst" will get files
"test", then "test2" and then the cd to "pub/tst" on the same host and
become interactive without closing/reopening connection each time.
(needs leading '/' on every path but the first, as the rest are
relative to the first. (a feauture, really))

27 years agomissing unsigned caused bad sign-extension
niklas [Tue, 17 Dec 1996 23:50:51 +0000 (23:50 +0000)]
missing unsigned caused bad sign-extension

27 years agornd -> random doncha know
millert [Tue, 17 Dec 1996 22:56:02 +0000 (22:56 +0000)]
rnd -> random doncha know

27 years agoAdd traditional handling of all upper-case input
tholo [Tue, 17 Dec 1996 19:33:53 +0000 (19:33 +0000)]
Add traditional handling of all upper-case input

27 years agoFix oversight in column handling with OCRNL enabled
tholo [Tue, 17 Dec 1996 19:19:33 +0000 (19:19 +0000)]
Fix oversight in column handling with OCRNL enabled

27 years agoReset output column when outputting \r with ONLCR
tholo [Tue, 17 Dec 1996 19:15:24 +0000 (19:15 +0000)]
Reset output column when outputting \r with ONLCR

27 years agoFix typo
tholo [Tue, 17 Dec 1996 19:09:30 +0000 (19:09 +0000)]
Fix typo

27 years agoGet TAB expansion right
tholo [Tue, 17 Dec 1996 18:52:52 +0000 (18:52 +0000)]
Get TAB expansion right

27 years agoNFS attribute cache timeout mount param
dm [Tue, 17 Dec 1996 03:46:36 +0000 (03:46 +0000)]
NFS attribute cache timeout mount param

27 years agostrncpy that strerror, found by oliver@secnet.com
deraadt [Tue, 17 Dec 1996 02:38:39 +0000 (02:38 +0000)]
strncpy that strerror, found by oliver@secnet.com

27 years agouse snprintf when storing the string from strerror(). Who knows how
millert [Tue, 17 Dec 1996 02:17:09 +0000 (02:17 +0000)]
use snprintf when storing the string from strerror().  Who knows how
long it could be esp. when locales come into the picture.

27 years agoif pathname given is a valid directory, cd to it at remote, also
michaels [Tue, 17 Dec 1996 02:11:45 +0000 (02:11 +0000)]
if pathname given is a valid directory, cd to it at remote, also
assume empty pathname means cd to '/', like ncftp (?).

27 years agoImplement more tty flags for better portability from other systems:
tholo [Mon, 16 Dec 1996 20:04:39 +0000 (20:04 +0000)]
Implement more tty flags for better portability from other systems:

XCASE - canonical input/output processing
IUCLC - translate uppercase to lowercase on input
OLCUC - translate lowercase to uppercase on output
OCRNL - translate carriage return to newline on output
ONOCR - do not output carriage return at column 0
ONLRET - newline performs carriage return function

In addition the tty compatibility interface supports LCASE properly.

Look at termios(4) for a more complete description of the above flags.

27 years agoavoid more oflows; at this stage paranoia exceeds reality by a lot since our passwd...
deraadt [Mon, 16 Dec 1996 18:40:53 +0000 (18:40 +0000)]
avoid more oflows; at this stage paranoia exceeds reality by a lot since our passwd suite is fascist

27 years agostrncat like THIS
deraadt [Mon, 16 Dec 1996 17:14:03 +0000 (17:14 +0000)]
strncat like THIS

27 years agodoes noone know how to use strncat correctly?
deraadt [Mon, 16 Dec 1996 17:11:32 +0000 (17:11 +0000)]
does noone know how to use strncat correctly?

27 years agostrncat related oflows
deraadt [Mon, 16 Dec 1996 17:09:03 +0000 (17:09 +0000)]
strncat related oflows

27 years agostrncat botches
deraadt [Mon, 16 Dec 1996 16:53:41 +0000 (16:53 +0000)]
strncat botches

27 years agofix .Nm stuff so that man -k works
deraadt [Mon, 16 Dec 1996 16:08:52 +0000 (16:08 +0000)]
fix .Nm stuff so that man -k works

27 years agobe more careful with select
deraadt [Mon, 16 Dec 1996 15:57:16 +0000 (15:57 +0000)]
be more careful with select

27 years agostrncat botch
deraadt [Mon, 16 Dec 1996 15:51:28 +0000 (15:51 +0000)]
strncat botch

27 years agostncat misuse
deraadt [Mon, 16 Dec 1996 15:09:45 +0000 (15:09 +0000)]
stncat misuse

27 years agoyet another strncat botch
deraadt [Mon, 16 Dec 1996 14:54:12 +0000 (14:54 +0000)]
yet another strncat botch

27 years agouiomove not checked for failure; wpaul@skynet.ctr.columbia.edu
deraadt [Mon, 16 Dec 1996 14:30:17 +0000 (14:30 +0000)]
uiomove not checked for failure; wpaul@skynet.ctr.columbia.edu

27 years agoGenerate library versions of macro implementations as well
tholo [Mon, 16 Dec 1996 08:43:21 +0000 (08:43 +0000)]
Generate library versions of macro implementations as well

27 years agoadd gomoku
downsj [Mon, 16 Dec 1996 07:02:50 +0000 (07:02 +0000)]
add gomoku

27 years agoImport of gomoku from 4.4BSD Lite2. Uses ocurses.
downsj [Mon, 16 Dec 1996 06:56:07 +0000 (06:56 +0000)]
Import of gomoku from 4.4BSD Lite2.  Uses ocurses.

27 years agochanged not to hardcode sun console name as "console"
kstailey [Mon, 16 Dec 1996 03:49:50 +0000 (03:49 +0000)]
changed not to hardcode sun console name as "console"

27 years agoCompatibility
downsj [Mon, 16 Dec 1996 03:17:16 +0000 (03:17 +0000)]
Compatibility

27 years ago"Opps"
downsj [Mon, 16 Dec 1996 01:08:59 +0000 (01:08 +0000)]
"Opps"

27 years agoCloser to being correct; set local_prefix as well so it stays out of
downsj [Mon, 16 Dec 1996 01:07:22 +0000 (01:07 +0000)]
Closer to being correct; set local_prefix as well so it stays out of
/usr/local.

27 years agoadd "return (0)" to end of zsstop() since it's not a void function anymore
kstailey [Mon, 16 Dec 1996 00:11:58 +0000 (00:11 +0000)]
add "return (0)" to end of zsstop() since it's not a void function anymore

27 years agoUpdate to g77 0.5.19
downsj [Sun, 15 Dec 1996 23:34:33 +0000 (23:34 +0000)]
Update to g77 0.5.19

27 years agoUse inet_aton() instead of inet_addr()
millert [Sun, 15 Dec 1996 23:20:32 +0000 (23:20 +0000)]
Use inet_aton() instead of inet_addr()

27 years agoCompile
downsj [Sun, 15 Dec 1996 22:33:56 +0000 (22:33 +0000)]
Compile

27 years agoConflict, conflict, conflict. Who wants a conflict?
downsj [Sun, 15 Dec 1996 22:21:02 +0000 (22:21 +0000)]
Conflict, conflict, conflict.  Who wants a conflict?

27 years agoImport of texinfo-3.9.
downsj [Sun, 15 Dec 1996 21:37:43 +0000 (21:37 +0000)]
Import of texinfo-3.9.

27 years agoman page update for -c and -s flags
kstailey [Sun, 15 Dec 1996 20:57:59 +0000 (20:57 +0000)]
man page update for -c and -s flags

27 years agoAdded /var/cron/{log,tabs} /var/log/authlog
millert [Sun, 15 Dec 1996 20:21:56 +0000 (20:21 +0000)]
Added /var/cron/{log,tabs} /var/log/authlog

27 years agoSync'd with new syslog.conf changes
millert [Sun, 15 Dec 1996 20:04:06 +0000 (20:04 +0000)]
Sync'd with new syslog.conf changes

27 years agoNow with more fiber. Now is more of a "real world" config. Some ideas
millert [Sun, 15 Dec 1996 19:59:27 +0000 (19:59 +0000)]
Now with more fiber.  Now is more of a "real world" config.  Some ideas
taken from NetBSD.

27 years agoLog to LOG_AUTHPRIV not LOG_LOCAL2 (which conflicts with chat)
millert [Sun, 15 Dec 1996 19:19:40 +0000 (19:19 +0000)]
Log to LOG_AUTHPRIV not LOG_LOCAL2 (which conflicts with chat)

27 years agoLess output when not needed.
millert [Sun, 15 Dec 1996 19:11:54 +0000 (19:11 +0000)]
Less output when not needed.

27 years agoadded -s (display server report only) and -c (ditto client) flags
kstailey [Sun, 15 Dec 1996 18:52:19 +0000 (18:52 +0000)]
added -s (display server report only) and -c (ditto client) flags

27 years agoFix strncpy usage and correct strncat length field, from Theo.
millert [Sun, 15 Dec 1996 18:49:24 +0000 (18:49 +0000)]
Fix strncpy usage and correct strncat length field, from Theo.
Also change some occurrence of MAXPATHLEN with sizeof(foo).

27 years agoFIxed an ofF-by-one error.
bitblt [Sun, 15 Dec 1996 05:57:20 +0000 (05:57 +0000)]
FIxed an ofF-by-one error.

27 years agoallow sd0a for root device prompt
deraadt [Sun, 15 Dec 1996 01:34:49 +0000 (01:34 +0000)]
allow sd0a for root device prompt

27 years agostop gunique() open/fopen race
deraadt [Sat, 14 Dec 1996 23:09:46 +0000 (23:09 +0000)]
stop gunique() open/fopen race

27 years agosolve /tmp-style race spotted by bitblt
deraadt [Sat, 14 Dec 1996 22:47:38 +0000 (22:47 +0000)]
solve /tmp-style race spotted by bitblt

27 years agoAdd Theo's changes to yppush, some very ugly debugging code is now gone. -moj
maja [Sat, 14 Dec 1996 22:10:27 +0000 (22:10 +0000)]
Add Theo's changes to yppush, some very ugly debugging code is now gone. -moj

27 years agoperl location
downsj [Sat, 14 Dec 1996 21:49:36 +0000 (21:49 +0000)]
perl location

27 years agoDeletes and remaining changes.
downsj [Sat, 14 Dec 1996 21:31:04 +0000 (21:31 +0000)]
Deletes and remaining changes.

27 years agoUpdate to Sendmail 8.8.4, plus recent patches, plus OpenBSD support.
downsj [Sat, 14 Dec 1996 21:15:04 +0000 (21:15 +0000)]
Update to Sendmail 8.8.4, plus recent patches, plus OpenBSD support.
Also include entire example configuration subset.
Includes smrsh (using /usr/libexec/sm.bin).

Of the top of my head, the only things I removed from the distribution were
contrib/mail.local.linux, src/Makefiles, all the *.0 and *.ps files.
Our praliases man page replaces the distributed one, ours is better.

27 years agoCheck to make sure first char of command is not '*' since that will
millert [Sat, 14 Dec 1996 20:20:42 +0000 (20:20 +0000)]
Check to make sure first char of command is not '*' since that will
alway be a syntax error.

27 years agosendmail and skey stuff is now optional. Pointed out by Thorsten.
millert [Sat, 14 Dec 1996 19:40:14 +0000 (19:40 +0000)]
sendmail and skey stuff is now optional.  Pointed out by Thorsten.

27 years agobe more careful with setgroups()
deraadt [Sat, 14 Dec 1996 19:19:09 +0000 (19:19 +0000)]
be more careful with setgroups()

27 years agoMake optional things marked as optional and watch some more files.
millert [Sat, 14 Dec 1996 18:52:23 +0000 (18:52 +0000)]
Make optional things marked as optional and watch some more files.

27 years agoinane
deraadt [Sat, 14 Dec 1996 18:41:37 +0000 (18:41 +0000)]
inane

27 years ago/dev/fd should be owned by root.wheel
millert [Sat, 14 Dec 1996 18:23:49 +0000 (18:23 +0000)]
/dev/fd should be owned by root.wheel

27 years agobit more paranoia
deraadt [Sat, 14 Dec 1996 17:36:33 +0000 (17:36 +0000)]
bit more paranoia

27 years agomerge netbsd changes for show command
deraadt [Sat, 14 Dec 1996 17:23:51 +0000 (17:23 +0000)]
merge netbsd changes for show command
yet more buf oflows (provided by netbsd!)
an attempt at 64 bit cleanliness
-Wall

27 years agoclamp kvm useage
deraadt [Sat, 14 Dec 1996 15:37:16 +0000 (15:37 +0000)]
clamp kvm useage

27 years agobetter nfsrv_access() control, from netbsd
deraadt [Sat, 14 Dec 1996 15:36:50 +0000 (15:36 +0000)]
better nfsrv_access() control, from netbsd

27 years agoindent correctly
deraadt [Sat, 14 Dec 1996 15:35:26 +0000 (15:35 +0000)]
indent correctly

27 years agosome cleanup from bde@freebsd
deraadt [Sat, 14 Dec 1996 15:21:26 +0000 (15:21 +0000)]
some cleanup from bde@freebsd

27 years ago-Wall'ing.
mickey [Sat, 14 Dec 1996 12:17:33 +0000 (12:17 +0000)]
-Wall'ing.

27 years agoUse size_t more places
tholo [Sat, 14 Dec 1996 07:18:47 +0000 (07:18 +0000)]
Use size_t more places

27 years agoSilence lint
tholo [Sat, 14 Dec 1996 07:07:56 +0000 (07:07 +0000)]
Silence lint

27 years agoClean up lint & compile warnings
tholo [Sat, 14 Dec 1996 07:01:27 +0000 (07:01 +0000)]
Clean up lint & compile warnings

27 years agolean up lint & compile warnings
tholo [Sat, 14 Dec 1996 06:55:56 +0000 (06:55 +0000)]
lean up lint & compile warnings

27 years agoClean up lint and compile warnings
tholo [Sat, 14 Dec 1996 06:49:36 +0000 (06:49 +0000)]
Clean up lint and compile warnings

27 years agoNow does not display responses to other peoples stuff, like UDP packets
bitblt [Sat, 14 Dec 1996 02:16:42 +0000 (02:16 +0000)]
Now does not display responses to other peoples stuff, like UDP packets
or other peoples network unreachables when you do a ping -v.

27 years agomake UIO_MAXIOV visible to userland.
michaels [Fri, 13 Dec 1996 21:26:39 +0000 (21:26 +0000)]
make UIO_MAXIOV visible to userland.

27 years agocorrect function declaration and return
michaels [Fri, 13 Dec 1996 21:24:12 +0000 (21:24 +0000)]
correct function declaration and return

27 years agomake UIO_MAXIOV note more prominent
michaels [Fri, 13 Dec 1996 21:20:50 +0000 (21:20 +0000)]
make UIO_MAXIOV note more prominent

27 years agofix comments regarding {*path,sys}conf()
deraadt [Fri, 13 Dec 1996 17:06:23 +0000 (17:06 +0000)]
fix comments regarding {*path,sys}conf()

27 years agoIf max number of partitions in the label is < highest partition defined,
millert [Fri, 13 Dec 1996 16:58:25 +0000 (16:58 +0000)]
If max number of partitions in the label is < highest partition defined,
increase d_npartitions as long as we don't go above MAXPARTITIONS.

27 years agoldconfig hack for the mips
deraadt [Fri, 13 Dec 1996 15:45:58 +0000 (15:45 +0000)]
ldconfig hack for the mips

27 years agoadd quotactl
deraadt [Thu, 12 Dec 1996 23:42:22 +0000 (23:42 +0000)]
add quotactl

27 years agofix a typical use; -Wall
deraadt [Thu, 12 Dec 1996 20:32:17 +0000 (20:32 +0000)]
fix a typical use; -Wall