christos
664c057479
Restructure the send and recv buffers slightly to avoid lint warnings and
...
make their treatment symmetric.
1998-11-15 17:30:40 +00:00
christos
c4fda000eb
Use a union again to make sure that we are aligned; this is not necessary
...
in this case, but makes the code easier to read, and avoids lint warnings.
1998-11-15 17:29:17 +00:00
christos
6f2f908d59
avoid potential buffer overflow and alignment problem that was caused
...
by casting a char[24] array to struct rpc_msg (sizeof(struct rpc_msg) == 48)
on i386. Use a union instead.
1998-11-15 17:27:35 +00:00
christos
ee3762617d
delint:
...
- memmove -> memcpy
- check that we don't get a bogus h->h_length
1998-11-15 17:25:39 +00:00
christos
ae3564f2ff
int -> uid_t, gid_t
1998-11-15 17:24:07 +00:00
christos
8cc3f31582
delint
1998-11-15 17:21:49 +00:00
christos
f8dfd806d0
in the __str{error,signal} functions make the third argument size_t since
...
it is really a size. This does not affect the external interface, so there
should be no reason to bump the libc #
1998-11-15 17:21:08 +00:00
christos
e7f7fdba9a
delint
1998-11-15 17:19:53 +00:00
christos
d1d407360d
This is ugly. There is a const castaway inside the print macro, so we cannot
...
use /* LINTED */ comments, since cpp will expand comments only at the macro
definition location, not at every expansion.
1998-11-15 17:19:05 +00:00
christos
6865d51c46
st_blksize cannot be negative
1998-11-15 17:16:27 +00:00
christos
56395b9694
change len from size_t to int so that len = fp->_r does not get promoted
...
to unsigned. cast len appropriately to size_t later.
1998-11-15 17:15:18 +00:00
christos
33edc15a8c
delint
1998-11-15 17:13:51 +00:00
christos
621e32573c
delint:
...
- argsused for len
- use nanosleep instead of select to delay.
1998-11-15 17:11:48 +00:00
christos
f4c1479174
delint
1998-11-15 17:10:30 +00:00
christos
e6bf91675e
s/void/const void/
1998-11-15 16:51:45 +00:00
christos
186efef26d
cast to void * first to avoid lint warning.
1998-11-15 15:57:25 +00:00
drochner
ac9da044b8
fix misplaced parantheses (introduced in last commit), noticed by Sean
...
Doran and Wolfgang Helbig
1998-11-15 12:43:04 +00:00
jonathan
03b30a046d
* make scc_tty_init() callable when very cold: call scc_coldparam() directly.
...
Use scc_tty_init() in scc_consinit(). Declare scc_consinit() in sccvar.h.
* Remove last vestige of special-case console handling in sccparam() code.
* Call scc_consinit() from findcons scc_serial() console-setup.
Dont PROM for scc serial console at all.
1998-11-15 11:21:52 +00:00
jonathan
b6111d03f9
Add mainbus0 and cpu* lines to R4000 config.
1998-11-15 06:27:11 +00:00
jonathan
5ddadfcc95
Remove old model-specific config files.
1998-11-15 06:22:25 +00:00
mhitch
6317908feb
UVM is now the standard VM system on NetBSD/pmax.
1998-11-15 05:43:32 +00:00
jonathan
c18a2859f1
Make UVM default for pmax.
1998-11-15 05:06:43 +00:00
chuck
281eb8b87a
remove bogus permission check in uvm_map_clean(). fixes mmap/msync
...
problem discussed/reported by jonathan and Andreas Wrede <andreas@planix.com>.
1998-11-15 04:38:19 +00:00
jonathan
947b194cdf
Add timestamp files and move-if-change logic for machine-generated source.
...
`make build UPDATE=1' relinks the generators, forcing a rebuild
of insn-*.[ch]. Which, without move-if-change, forces a full recompile.
1998-11-15 04:31:06 +00:00
mhitch
549407b634
Change page modification emulation: don't fiddle with VM flags directly.
...
Track page modification status in the PV entry like the alpha, and let
pmap_is_modified() return current status back to the VM system. UVM now
works reliably.
Garbage collect the old pmap_attribute[] stuff.
1998-11-15 02:34:19 +00:00
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