Commit Graph

25260 Commits

Author SHA1 Message Date
ache
057b21a8cd Changes in spirit of OpenGroup Singe Unix specs:
1) Limit max allowed argument to 1000000
2) Change return type from void to int to indicate premature termination
(by signal)
1997-10-22 10:55:49 +00:00
joerg
914ab5d893 Document EINVAL as a possible return value from open(2). 1997-10-22 07:29:13 +00:00
joerg
ba61555b2c Reject attempts to call open() with an illegal combination of O_RDONLY,
O_WRONLY, O_RDWR.
1997-10-22 07:28:51 +00:00
charnier
99d20eba13 Use err(3). Add usage() and prototypes.
Hide reference to trsp(8) that does not exist.
1997-10-22 06:23:12 +00:00
charnier
8f143d3b1e Use err(3).
Sync man page and usage string.
Strcpy -> strncpy from OpenBSD.
-Wall cleaning.
Obtained from: OpenBSD
1997-10-22 06:20:04 +00:00
brian
4fbfd0ce36 Fix HDLC logging (actually LogDumpBp()). It was only
outputting the first mbuf in the chain.
1997-10-22 01:22:51 +00:00
peter
bc9e2b0507 Put in an initial %VERSREQ field. This will cause existing config(8)'s
to give a non-fatal warning about unknown directives, so there is no
hurry to rebuild config(8) yet, apart from shutting up the warning.
1997-10-22 00:48:36 +00:00
peter
d0be36d6a4 For safety's sake, explicitly depend all objects on the configvers.h header
to make sure that it's all recompiled even if there is no 'make depend'.
This is overkill, but should be one less thing that someone can do wrong.
1997-10-22 00:44:08 +00:00
peter
32866367f5 Recognize a %VERSREQ=nnnnn string in the system Makefile. Both config(8)
and the kernel will have a 'config interface version number'.  If an
incompatable change is made to the kernel that requires a rebuild of
config(8) (such as the cam devtab stuff), then the version number would be
bumped in both places.  If a user neglects to rebuild config, then they
will get a nagging (but non-fatal) warning that they need to rebuild
config.
1997-10-22 00:38:48 +00:00
roberto
08cd37ab4a Fix the same leak as in nullfs. Now the lowervp is properly marked inactive.
Reviewed by:	phk
1997-10-21 21:08:17 +00:00
roberto
9e2f46192a Fix the file leak bug. The lower layer wasn't informed the vnode was inactive
and kept a reference, preventing the blocks to be reclaimed.

Changed the comment in null_inactive to reflect the current situation.

Reviewed by:	phk
1997-10-21 21:01:34 +00:00
nate
80c218094f - Update the Adaptect SlimSCSI CIS tuple so that it works with FreeBSD's
default pccard daemon.
1997-10-21 18:07:36 +00:00
nate
978c4d0767 - PCCARD support to the much maligned SCSI driver. This gives up support
for a couple of external CD's (notably the Sony PRD-650).

Note: In order to get my CD recognized, I had to configure the CD under
      Win95, but it seems to work now even if I turn it off.

Submitted by:	PAO [minor mods by me]
1997-10-21 17:57:31 +00:00
phk
6377ac72be Add const to a couple of casts to silence some of the warnings Bruce
has let loose on us.
1997-10-21 13:28:36 +00:00
bde
bb43e4903b Oops, comment lines can't be indented either. 1997-10-21 10:39:27 +00:00
bde
2a3699ccf2 Oops, comment lines can't be continued. 1997-10-21 10:36:07 +00:00
jmg
74a9b83647 a few code style changes:
o start function names in column 1
    o sort order of flags in getopt and switch
    o don't try to reference progname
    o unspam some changes introduced by a 2.2.1-R build box instead of a
	-current build box

doc changes:
    o document when these commands first appeared
    o put email address in angle brakets
    o minor mdoc clean up
1997-10-21 09:59:26 +00:00
kato
f5dacd4ee0 Merge from RELENG_2_2. Bandaid for 'lockmgr panic' on the VN device. 1997-10-21 09:51:47 +00:00
kato
581bcc903c Synchronize with sys/i386/isa/fd.c revision 1.105. 1997-10-21 09:48:38 +00:00
bde
5368c6cec2 Sorted lists. 1997-10-21 08:41:15 +00:00
msmith
51e5957348 Reference the DMI table inside the SMBIOS table correctly, not using a variable
that won't be initialised until a later test.
Submitted by:	bde via -Wunused
1997-10-21 07:40:22 +00:00
bde
f552c8432d Don't install mount_msdos setuid root. Lite2's mount(2) handles
permissions centrally and a setuid root mount utility just breaks
its security.  There was no new breakage in practice because
mfdosfs_mount() still checks the ruid.
1997-10-21 07:26:50 +00:00
bde
5b4baee31e Added -Wuninitialized to CWARNFLAGS. Warnings about uninitialialized
variables were lost when we removed -W, and 23 new ones including at
least one serious one have crept in for LINT.

Restored -Winline to CFLAGS.  This gives only 3 old warnings and 1 new
for LINT.
1997-10-21 06:53:24 +00:00
danny
ea76c052b2 MF22 - make firewall_type a little more robust 1997-10-21 00:54:08 +00:00
joerg
b3097ef3b3 MF22: rev 1.246.2.65, put the bootstrap files onto the fixit floppy. 1997-10-20 21:57:14 +00:00
phk
e4d13682be I belive this fixes MFS after I broke it. 1997-10-20 19:53:26 +00:00
ache
088a225fb5 Fix returned sleep period for large values
Submitted by: bde
1997-10-20 18:43:49 +00:00
ache
3db61f0e35 Remove terminfo manpage we don't have it 1997-10-20 17:53:55 +00:00
charnier
c7eb7628d4 Cosmetic in usage string. 1997-10-20 12:55:49 +00:00
charnier
f6e0080970 Use err(3). Change err(-1,... to err(1,... 1997-10-20 12:53:54 +00:00
charnier
2f54e816bb Use err(3). Remove progname. 1997-10-20 12:51:34 +00:00
charnier
7d61a1f5bc Use err(3). Remove progname. Remove stli.4 with is a duplicate of stl.4,
use MLINKS instead.
1997-10-20 12:50:57 +00:00
charnier
42687434a5 Fix usage in man page. Remove progname. 1997-10-20 12:44:53 +00:00
charnier
d48ab1e4e1 Typo. 1997-10-20 12:43:03 +00:00
charnier
b49abb6d51 Hardcode progname in usage string. 1997-10-20 12:41:41 +00:00
danny
6ccbe580f5 Make rc.conf man page reflect reality w.r.t firewall_{*}. 1997-10-20 08:37:59 +00:00
jkh
128cf5a42c Document 100Mbit media selection flag. 1997-10-20 08:11:25 +00:00
jmb
8f8743fc66 add /etc/mail--the anti-spam files
branches affected: -current, RELENG_2_2, and RELENG_2_1_0
1997-10-20 00:35:38 +00:00
dg
9c64109081 kern.maxproc is not writable since there are tables that are statically
sized at startup.
PR: 4675
1997-10-19 18:45:59 +00:00
dg
6587419322 "Fixed" pstat -T by avoiding the vnode stats. Disabled pstat -v since
we no longer support that sysctl (in my opinion, pstat -v is a security
hole in any case).
1997-10-19 18:41:23 +00:00
joerg
c8e39b3bc9 Declare the various 2-byte values in TFTP as being `unsigned short'.
RFC 1350 isn't very explicit about this, but the use of signed
integers doesn't seem to make sense.

Should be in 2.2.5, but is probably too late to be verified completely.

PR:		bin/4502
Submitted by:	Dirk Nehrling <nerle@pdv.de> via Lars Koeller
1997-10-19 16:48:50 +00:00
jmb
a047f9279a anti-spam filter used by the FreeBSD mailing lists. 1997-10-19 16:40:10 +00:00
joerg
67a3078615 Introduce a -N option that disables the use of reserved ports, now
that -P is on by default.  Remove do-nothing code in the -P case (but
leave the option itself for backward compatibility).

PR:	bin/4500
1997-10-19 16:40:01 +00:00
jraynard
f2a337912d <gnuregex.h> is rather old and breaks AWK's regex matching. Use a newer
version instead.
1997-10-19 13:39:55 +00:00
joerg
b23e81771f Add the hint how to install on a Compaq `Aero'. 1997-10-19 13:13:04 +00:00
joerg
f748481c8b Document the new fdc(4) flags. 1997-10-19 13:12:35 +00:00
joerg
d2f786d520 Introduce a device flags value of 0x1 to always pretend a 1.44 MB
floppy drive #0, regardless of what the CMOS says.  This is intended
as a bandaid for those plagued with Compaq's idea to not announce the
floppy drive on their `Aero' notebook.

Using the device flags is not very nice (in particular since they
aren't per-drive but per-controller), but still looks a lot better to
me than the disgusting guesswork hack that was recently posted to
-hackers.

Doc update will follow shortly.
1997-10-19 13:12:02 +00:00
jmg
c8ed73c6ed activate the programs that will be used to manipulate kld modules
fix a few problems with missing headers, warn called with an exit
value, and undeclared getopt vars

these programs now compile -Wall clean (and yes, I know I should use
more than just -Wall) :)
1997-10-19 11:15:45 +00:00
yokota
8378640784 Rename MOUSE_GETINFO to MOUSE_GETHWINFO. The name collided with the one
in console.h.
Pointed out by bde.
1997-10-19 10:45:18 +00:00
joerg
f157e0abc1 Fix a number of buffer overflow conditions.
PR:		bin/4610
Submitted by:	David Holland (dholland@burgundy.eecs.harvard.edu)
1997-10-19 10:42:39 +00:00