Commit Graph

45472 Commits

Author SHA1 Message Date
hubertf 3f1c86b59e compile with DEBUG=1 1998-11-15 00:01:24 +00:00
scottr 9aad2a5d21 Grammar police: comprised of -> comprising 1998-11-14 22:22:49 +00:00
mhitch f6adcd4690 Some CyberStorm MK I SCSI modules use the same product ID as the Fastlane.
Add a check for that product ID and not a Zorro III address.
1998-11-14 21:48:22 +00:00
perry eea7ba805e Per Charles, turn back on egcs on port-i386. If this causes problems,
the methodology is now to fix the problems instead of backing out.
1998-11-14 20:43:44 +00:00
christos 7c990e0c7b delint 1998-11-14 19:31:01 +00:00
christos 4523c05fa8 Delint:
- we don't need to use longs; convert to use int32_t.
	- remove break statements after returns.
	- cast things properly.
1998-11-14 16:43:49 +00:00
christos 6f27a975b9 ifdef out __warn_references if we are linting. 1998-11-14 16:40:50 +00:00
drochner 047a7756d8 use mi register definitions 1998-11-14 16:31:34 +00:00
christos e5571040ba Define assert and _assert macros for lint when NDEBUG is present as nothing. 1998-11-14 16:30:07 +00:00
ragge 104df2d354 Add some often-used floppy entries. 1998-11-14 10:33:27 +00:00
tls f6f55150e7 document ipf change at securelevel >= 2 1998-11-14 07:47:36 +00:00
tls da1c106b85 In 'highly secure' mode (securelevel >= 2), the filter lists may not be tampered with. It might be desirable to allow enabling of preset filter lists, but it seems too good a candidate for a denial-of-service attack, so we don't. 1998-11-14 07:42:37 +00:00
tls 88aaa797c9 reflect new securelevel 2 changes 1998-11-14 07:25:35 +00:00
tls 566ff31cb7 When downgrading from 'highly secure' mode (securelevel >= 2) to 'insecure' mode (securelevel 0) and the root password is set, always require it before giving a shell on the console. Reasoning: if an attacker has access to the machine console, he doesn't necessarily have access to the hardware itself; on a 'highly secure' machine, we may as well make his life hard. 1998-11-14 07:17:58 +00:00
tls 6321478a33 At securelevel >=2, don't allow new mounts, only allow change from rw to ro. 1998-11-14 06:38:54 +00:00
dbj 87cb8573e1 Finished changes to use UVM on next68k.
Turn on UVM by default in GENERIC kernel.
1998-11-14 04:32:50 +00:00
tv c33b9ddf0b Conflict resolution from 1.1.1pre2 import. 1998-11-14 04:27:16 +00:00
tv 7500a991df Import egcs 1.1.1 prerelease 2 1998-11-14 04:14:09 +00:00
briggs 0659054b8b Make this compile _and_ link with DEBUG / ADB_DEBUG defined. 1998-11-14 03:20:47 +00:00
briggs 94125bb185 Allow this to compile with DEBUG defined. 1998-11-14 03:01:31 +00:00
mrg b0c0c01da6 add a disklabel -W 1998-11-14 01:55:39 +00:00
thorpej 3e6164e173 Make a comment about what pcmcia_detach_card() should do. 1998-11-14 01:54:25 +00:00
mrg ff30fbbef4 add a disklabel -W 1998-11-14 01:45:23 +00:00
thorpej 1d03badef0 Implement a way to queue kernel threads for creation after init,
pagedaemon, reaper, etc.  Caller provides a callback function and
argument which will be called to create the threads.
1998-11-14 00:08:49 +00:00
abs b0ebb38178 momentarily -> in a moment, to avoid ambiguity. 1998-11-13 22:44:17 +00:00
is be4fc8e1b9 Simplify program structure to save a few bytes. 1998-11-13 22:12:35 +00:00
abs 78aeeb96c6 Fix typo 'with routing loop' to 'with a routing loop' 1998-11-13 22:06:56 +00:00
thorpej e22f339ee7 Direct the user to use nfsstat to print nfs statistics. 1998-11-13 20:56:21 +00:00
thorpej 54ac7be242 Implement support for the vfs. toplevel. 1998-11-13 20:16:49 +00:00
thorpej d23593a784 Make vfs_sysctl() work. 1998-11-13 20:15:32 +00:00
thorpej a3574d12b6 Clean up the NFS sysctl variables. 1998-11-13 20:09:54 +00:00
thorpej 1eebbab4db Some changes to make the vfs. sysctl toplevel work. Wow, we really need
a new sysctl interface.
1998-11-13 20:08:06 +00:00
thorpej faf2211fef {b,c}dev_decl(raid), like some other disk devices. 1998-11-13 20:04:11 +00:00
mycroft 1115f2e840 Er, NSIG is one *more* than the number of signals. 1998-11-13 17:23:52 +00:00
mycroft d6ffecf67c Oops; signal numbers are 1..NSIG, not 0..NSIG-1. 1998-11-13 17:12:54 +00:00
christos e79f03e595 Fix problems with LINTED comment:
if (a) b;
	/*LINTED*/
	c;

	if (a) { b; }
	/*LINTED*/
	c;

	do { b; }
	/*LINTED*/
	while (c);

Produced warnings for c.
1998-11-13 16:48:01 +00:00
christos 2c89343c25 delint 1998-11-13 15:46:52 +00:00
christos 36b0b72f6f const poisoning 1998-11-13 15:45:10 +00:00
christos 9a95622add cast _mcount args to u_long, to avoid lint warnings. 1998-11-13 13:50:52 +00:00
drochner a0c0e7eff1 fix egcs warning 1998-11-13 13:47:56 +00:00
drochner acdd660ace fix callback type 1998-11-13 13:45:15 +00:00
oster ed77a60f62 Oops. Forgot the man-page for 'raidctl' when the rest of 'raidctl' went in. 1998-11-13 13:16:46 +00:00
christos d6f530541f delint 1998-11-13 12:31:50 +00:00
christos a2d26395a8 change the second arg of unvis from char -> int, to avoid K&R vs. ansi
portability problems.
1998-11-13 12:20:18 +00:00
christos 0da3503ec5 make sysctl newp argument const void * to avoid const castaway warnings in
many places in the source. Unfortunately I am not fixing right now the
second argument from u_int to size_t because it is going to break some
ports. In anycase, the sysctl interface will change shortly.
1998-11-13 12:07:51 +00:00
christos f44085b9f0 cast lh of shift operator to unsigned to avoid lint "non portable" warnings. 1998-11-13 12:06:05 +00:00
christos d9616f8756 cast args of ntohl() and htonl() to u_int32_t to avoid lint warnings. 1998-11-13 12:04:49 +00:00
christos f83d49b87d document the return value of ualarm when setitimer fails to (useconds_t)-1,
also cast the return value in the source to the same to shut up lint.
1998-11-13 11:57:15 +00:00
simonb a9c167b273 prototype un-prototyped functions 1998-11-13 11:51:55 +00:00
simonb 8e893eff9e Add braces around 'if' to pacify egcs 1998-11-13 11:48:26 +00:00