Jordan K. Hubbard
db527a35ad
Put the dir file in the correct distribution.
1997-12-24 10:16:49 +00:00
Brian Somers
70ee81ff6b
Cosmetic (style):
...
sizeof(var) -> sizeof var
sizeof type -> sizeof(type)
Suggested by: J Wunsch <j@uriah.heep.sax.de>
1997-12-24 09:29:17 +00:00
Brian Somers
f9925914f1
Use sizeof cftypes128 for NCFTYPES128 macro, not sizeof cftypes !
...
Lucky that sizeof cftypes < sizeof cftypes128
1997-12-24 09:28:11 +00:00
Nate Williams
cd36a479fb
- Add prototype for adjust_timeout_calltodo().
...
Submitted/forgotten by: Ken Key <key@cs.utk.edu>
1997-12-24 01:33:45 +00:00
Warner Losh
5635438650
Be extra paranoid about trusting the length of the data returned by
...
gethostbyaddr.
Submitted by: Julian Assange
1997-12-24 01:00:24 +00:00
Warner Losh
006b3faebb
Two fixes:
...
1) Correct strncpy usage
2) gethostbyaddr paranoia from Julian Assange
1997-12-24 00:59:49 +00:00
Alexander Langer
71116d9863
Added cross references for apm, cron, inetd, lpd, moused, mrouted,
...
nfsd, nfsiod, portmap, rpc.lockd, rpc.statd, syslogd, tickadj, and
ypbind.
1997-12-24 00:59:28 +00:00
Warner Losh
b10d9d5f10
Minor style nit noticed by bde.
1997-12-24 00:59:02 +00:00
Warner Losh
164309e22e
Be extra paranoid about trusting the length returned by gethostbyaddr.
...
Submitted by: Julian Assange
1997-12-24 00:58:39 +00:00
Warner Losh
9ae323c5f0
Be extra paranoid about trusting the size of the address returned from
...
gethostbyaddr.
Submitted by: Julian Assange
1997-12-24 00:57:41 +00:00
Brian Somers
6fefd43684
strncpy(x,y,sizeof(x)) --> strncpy(x,y,sizeof(x)-1)
...
Suggested by: Philippe Charnier <charnier@lirmm.fr>
Theo de Raadt <deraadt@cvs.openbsd.org>
1997-12-23 22:38:55 +00:00
Brian Somers
db44d014b3
Add a PARITITON arg to SCSI_MKFIXED, and use it to
...
specify RAW_PART for the suopen() in sscioctl().
Now you can `scsi -f /dev/ssc -p'.
1997-12-23 19:44:45 +00:00
Nate Williams
e1d6dc656d
This patch causes the "calltodo" timer list to be decremented by the amount
...
of time that the laptop was suspending. Thus, select() calls that might have
suspended rather than firing at 1hr + "time suspended" since the timer was
posted.
Adding:
options APM_FIXUP_CALLTODO
to the kernel config enables the patch.
[
This patch was slightly modified to use a consistant indent style and
I removed some unused local variables. After this has been tested a
few weeks we'll make the options the default, so for now I'm now
documenting it in LINT. Mike can later if he wants.
]
Reviewed by: Mike Smith <msmith@freebsd.org>
Submitted by: Ken Key <key@cs.utk.edu>
1997-12-23 16:32:35 +00:00
Kazutaka YOKOTA
30ee7535d4
- Added support for a new MouseMan model (4 buttons, no wheel).
...
Based on the report from Dave Bodenstab.
- Turn off PnP COM device enumeration procedure if the user explicitly
specifies a protocol type with the "-t" option.
- Accept "-t auto". Now the user may entirely omit the "-t" option
in the command line, or specify "-t auto" in order to make moused
detect an appropriate protocol type automatically. In the
previous version, moused did so only if the "-t" option is absent
in the command line. ("-t auto" won't disable PnP COM device
enumeration.)
- Updated the man page.
1997-12-23 08:04:38 +00:00
Kazutaka YOKOTA
3e176bdf69
Document `flags' for the psm driver.
1997-12-23 08:01:16 +00:00
Alexander Langer
90d0144c05
Removed unnecessary setting of 'error' -- binding to a privileged port
...
by a non-root user always returns EACCES.
1997-12-23 01:40:40 +00:00
Alexander Langer
c62b41d9d5
YTK fix.
1997-12-22 23:00:35 +00:00
John Birrell
f1129700ee
Reviewed by: William LeFebvre <wnl@groupsys.com>
...
Change errno -> error in local structure to avoid a clash with the
thread-aware version of errno which is required for a thread-safe libc.
Have discussed this with the author and he has agreed to this change. 8-)
1997-12-22 19:39:20 +00:00
Andrey A. Chernov
0832039284
Fix sysctl path /usr/sbin->/sbin
1997-12-22 19:11:28 +00:00
Eivind Eklund
079e1f7586
Remove unused include files
...
Submitted by: bde
1997-12-22 13:46:08 +00:00
John Dyson
6d94bea461
Improve my copyright.
1997-12-22 11:54:00 +00:00
John Dyson
998d8cd662
Improve my copyright.
1997-12-22 11:48:13 +00:00
John Dyson
841fc3681b
Correct my previous fix for the UPAGES problem.
1997-12-22 10:06:09 +00:00
Philippe Charnier
c414c30925
Remove obsolete /etc/hostname.ep? reference.
...
PR: kern/5310
Submitted by: tom@sdf.com
1997-12-22 07:37:50 +00:00
Philippe Charnier
00e68c0d73
Use .Tn, .Bx Free and .An.
1997-12-22 07:35:40 +00:00
Brian Somers
4401489a4a
Don't forget to ntohs(sin.sin_port) (DUH!)
1997-12-22 02:28:18 +00:00
John Dyson
adbf9b6f86
Hopefully fix the problem with the TLB not being updated correctly.
...
Problem tracked down by bde@freebsd.org , but this is an attempted
efficient fix.
1997-12-22 00:36:48 +00:00
Joerg Wunsch
7301b27b15
Properly clean out the SI_MOUNTEDON flag iff the mount attempt fails
...
half the way down. Otherwise, further attempts to mount the device
will be rejected with BUSY.
IMHO, this flag can completely go away for cd9660. There's no reason
you need to prevent CDs from being mounted multiple times, and in case
of multisession CDs it can even make sense to mount two different
sessions by the same time (to different mount points, otherwise it
would be pointless ;).
1997-12-21 21:40:02 +00:00
Wolfram Schneider
15ec2a04f8
When called as `zgrep', the -Z argument is assumed. Make a
...
link from zgrep to grep.
Pointed out by: Tim Vanderhoek <hoek@hwcn.org> and
Mike Smith <mike@smith.net.au>
1997-12-21 19:15:12 +00:00
Bruce Evans
cb3453e80f
Moved some declarations from <sys/socket.h> to the correct places, and
...
fixed everything that depended on them being misplaced.
1997-12-21 16:35:12 +00:00
Masafumi Max NAKANE
c456b727db
Typo fix in the message displayed.
1997-12-21 15:40:11 +00:00
Eivind Eklund
82bc2dfa32
Remove unused private header.
...
Submitted by: max
1997-12-21 15:35:22 +00:00
Brian Somers
abbdf4e916
Charles Mott created these (and told me via email that
...
they were BSD copyright). Use his name, not mine.
1997-12-21 14:28:24 +00:00
Eivind Eklund
3690cf7295
Remove unused private include files from slattach.
...
Submitted by: bde
1997-12-21 13:42:27 +00:00
Brian Somers
c39934ea32
Add (BSD) copyright headers.
1997-12-21 12:11:13 +00:00
John Dyson
4854f102a0
I added vfs_ioopt prematurely, disabled.
1997-12-21 10:41:19 +00:00
Chris Timmons
50f69900e8
Remove private install rule in favor of INTERNALLIB and
...
INTERNALSTATICLIB.
Suggested by: bde
1997-12-21 08:31:50 +00:00
Brian Somers
0ec82e961e
Cosmetic: Test for comment lines after the lenght has been established.
...
Pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>
1997-12-21 03:41:23 +00:00
Brian Somers
8fe71e0656
Allow multiple (comma seperated) devices on the "set device" line.
...
Submitted by: Derek Inksetter <derek@saidev.com>
1997-12-21 03:16:19 +00:00
Brian Somers
25ee22f573
Cosmetic: Tidy up.
...
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org>
1997-12-21 02:37:49 +00:00
Brian Somers
857a4bf337
Mention that leading whitespace is ignored when identifying comments.
1997-12-21 02:34:27 +00:00
Brian Somers
2e14bb4605
Zero struct sockaddr_??s before filling them in.
...
Suggested by: Theo de Raadt <deraadt@cvs.openbsd.org>
1997-12-21 02:27:32 +00:00
Brian Somers
aa2e5be7ae
Allow leading whitespace before '#' when identifying comments.
...
Submitted by: Dave Bodenstab <imdave@mcs.net>
1997-12-21 02:11:48 +00:00
Brian Somers
bb1d272c41
Correct the "how to find out if the line is up" example.
1997-12-21 01:21:40 +00:00
Brian Somers
0ecc184e10
Cosmetic: Remove blank lines, add .Pp where necessary.
...
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org>
1997-12-21 01:07:13 +00:00
Bruce Evans
db398a8bd4
Fixed overflow in chkrange(). Some out of bounds block numbers,
...
e.g. -1, were not detected. Use a bulletproof check that doesn't
depend on special properties of the args or the limit.
PR: 3528
1997-12-21 00:00:44 +00:00
Joerg Wunsch
8578f44149
Duplicate the entry for the Plasmon CD-R device, so both possibilities
...
(read/only and write/once) will be covered. This is necessary in order
to fill in the proper device information record.
1997-12-20 23:05:14 +00:00
Joerg Wunsch
1cb18ce25d
Protect against a null pointer dereferencation in the case of an
...
unknown drive. Such a drive will be configured by worm(4)
nevertheless (albeit with a warning), but cannot be opened except of
the SCSI control device (so scsi(8) or cdrecord will continue to
work).
1997-12-20 23:03:49 +00:00
James Raynard
675c4fdb61
Year 2000 fixes
...
PR: 4930
Submitted by: Stephen J. Roznowski <sjr@home.net>
1997-12-20 22:31:37 +00:00
James Raynard
002706979c
Year 2000 fixes for groff
...
PR: 4930
Submitted by: Stephen J. Roznowski
1997-12-20 22:29:55 +00:00