Commit Graph

151232 Commits

Author SHA1 Message Date
skrll
05f8bc59e4 Timecounters for hp700 from Garrett. Tested by me. 2006-09-16 15:43:24 +00:00
tsutsui
dfef23e0d0 Tweak status value in struct clockframe before calling mips3_clockintr()
so that spllowersoftclock(9) in hardclock(9) will be handled properly.
2006-09-16 13:31:44 +00:00
elad
b77c058061 We now have CARP, so don't skip IFT_CARP in link_print(). 2006-09-16 12:25:11 +00:00
yamt
f349782fa8 add workqueue_destroy. 2006-09-16 11:15:50 +00:00
yamt
14cd84c266 add workqueue_destroy(). 2006-09-16 11:15:00 +00:00
yamt
466a92def9 workqueue_create: use kmem_alloc rather than malloc. 2006-09-16 11:14:36 +00:00
gdamore
16a1b71a56 sgimips is now tc'd. 2006-09-16 09:10:06 +00:00
wiz
db06aa87ca Use macro for HTML output. 2006-09-16 08:54:22 +00:00
gdamore
5a87ca8ef8 sgimips converted to timecounters. Systems that can do them get mips_cp0
based logic.  We also use the common mips3_clock functions for those systems,
removing some port-specific code.

Tested by martin@.
2006-09-16 08:50:27 +00:00
yamt
c76c4d01d3 VOP_ADVLOCK: document the current unnatural handling of SEEK_CUR.
pointed by efnbl06 at bn2.maus.net.
2006-09-16 08:47:18 +00:00
elad
2c4556dbe4 Refer to the secmodel_{bsd44,overlay}(9) man-pages and the examples
directory.

Bump date.
2006-09-16 08:46:14 +00:00
nakayama
63ba7c8fe3 From OpenBSD:
- reload %fprs for checking it again.
- use symbolic names for checking in %fprs.

  revision 1.51
  date: 2005/07/18 14:50:11;  author: deraadt;  state: Exp;  lines: +2 -1
  cache a copy of the fprs so we know what fp restore we should do after

  revision 1.50
  date: 2005/07/14 01:46:13;  author: deraadt;  state: Exp;  lines: +4 -4
  use symbolic names for checking in %fprs, as above
2006-09-16 08:43:24 +00:00
tnozaki
138067b448 - rename KOI8-BASE more suitable name, GOST19768-74.
- fix wrong conversion table KOI7 and KOI7-switched.
2006-09-16 08:38:20 +00:00
elad
a416017103 Add a man-page for secmodel_overlay(9). 2006-09-16 08:37:33 +00:00
yamt
b1e75a8232 fix a typo pointed by efnbl06 at bn2.maus.net. 2006-09-16 08:29:08 +00:00
nakayama
ff1d071129 Fix a couple of %y register save/restore errors, inspired from OpenBSD.
revision 1.44
  date: 2004/04/23 04:18:17;  author: marc;  state: Exp;  lines: +5 -4

  fix a couple of %y register save/restore errors
  1) don't save %y in a register that is later used before restoring %y
  2) always restore %y after calling a signal handler
  tested by drahn@, OK pval
2006-09-16 08:29:06 +00:00
yamt
658b31f04b VOP_ADVLOCK: fix a description of vp. pointed by efnbl06 at bn2.maus.net. 2006-09-16 08:23:30 +00:00
yamt
8e991698b9 revert a change which was unintentionally slipped in via yamt-pdpolicy branch. 2006-09-16 07:14:38 +00:00
wiz
8d3165ac32 Sync usage with man page (-b). 2006-09-16 06:34:55 +00:00
manu
d542f7adc2 Fix build 2006-09-16 06:19:50 +00:00
manu
5a85c00571 Trivial bugfix in RFC2407 4.6.2 conformance, from Matthew Grooms 2006-09-16 04:31:38 +00:00
tsutsui
7af1255b2a Handle unwiring page cases properly in pmap_enter(9) and pmap_remove(9).
Previously sun3x pmap assumed that pmap_unwire(9) was the only interface
which should handle unwiring page, but nowadays apparently it isn't true.
Fixes a longstanding "panic: get_a_table: out of A tables"
(and also B, C tables) problem on my 3/80.

While here, make this compile with PMAP_DEBUG.
2006-09-16 03:35:50 +00:00
gdamore
7a220c54a7 hpcmips has been tc'd. 2006-09-16 02:17:18 +00:00
gdamore
05612f8b48 Convert hpcmips to TODR and timecounters. Ok jun@. 2006-09-16 02:14:56 +00:00
uwe
7756bb963d Set NOMAN so that running make locally completes successfully. 2006-09-16 00:57:49 +00:00
gdamore
06522e0f81 Pass the filesystem time to clock drivers in the todr_chip_handle, so that
vax, and pmax can use it.
2006-09-16 00:50:52 +00:00
christos
ca09b578d0 PR/14563: Brian A. Seklecki: syslogd binds udp sockets on all interfaces
Add -b option to pass a bind address.
2006-09-15 20:32:59 +00:00
wiz
fb62ed2d80 Sort sections, remove superfluous line. 2006-09-15 20:27:57 +00:00
elad
172a3fa471 Remove securelevel-related text from init(8) man-page as they're now in
secmodel_bsd44(9).

I'm not sure I agree with the BUGS section, but for now move it to
secmodel_bsd44(9) as well.
2006-09-15 20:20:06 +00:00
wiz
324633bc37 Fix a typo, use \- for minus. 2006-09-15 20:15:33 +00:00
wiz
d4ee8b696e Bump date for previous. 2006-09-15 20:11:13 +00:00
jnemeth
51700ac1b1 PR/34534 -- Jukka Salmi -- add rxvt-unicode entry 2006-09-15 20:09:04 +00:00
elad
85e66157f0 Add a man-page for secmodel_bsd44, describing a bit the concepts of
super-user and securelevel.

The securelevel part was compiled of text from both init(8) and OpenBSD's
securelevel(7), and brought in-sync with what we really do.
2006-09-15 20:01:38 +00:00
perseant
8c43e08b21 Don't remark a locked inode with IN_MODIFIED after writing it to disk,
if we ourselves hold the lock.  This prevents e.g. mknod from hanging
indefinitely.

Also, always use the return value from VOP_ISLOCKED to determine whether
we hold the lock or someone else does, rather than looking into the lock
structure ourselves.
2006-09-15 18:50:49 +00:00
gdamore
ce1f9b5009 gdamore-uart was terminated months ago. 2006-09-15 18:32:14 +00:00
martin
008e573b41 Ooops, manually mis-merged this - this is only called for secondary CPUs,
so we better not start with 0 as cpu_number.
2006-09-15 17:29:45 +00:00
gdamore
65c8e903ed Note mipsco is time-countered. 2006-09-15 16:40:46 +00:00
gdamore
12fed6d031 Convert mipsco to generic TODR and TC. Compile tested only. If the
port-mipsco mailing list is any indication, nobody has actually run netbsd
on this port for several years.
2006-09-15 16:37:18 +00:00
gdamore
807c3df97e Convert netwinder to generic TODR. Committed after total lack of feedback
(or even acknowledgement of receipt) from anyone on port-netwinder, so it
is untested.  (Compiles though.)
2006-09-15 16:28:41 +00:00
gdamore
d17ca6042b Convert sandpoint to GENERIC todr, including breaking of the clock handling
out into its own driver.  (NB: mcclock should really, really be an MI driver
to avoid this kind of pasteware, but it is "nontrivial" to cope with the
fact that some machines have different ideas of mcclock.)
2006-09-15 16:03:14 +00:00
yamt
87780961a4 - options PDPOLICY_CLOCKPRO.
- bump date.
2006-09-15 16:01:24 +00:00
yamt
10ba36b5c6 terminate yamt-pdpolicy branch. 2006-09-15 15:56:11 +00:00
yamt
08c96f5c24 sync with kernel after yamt-pdpolicy merge. 2006-09-15 15:53:42 +00:00
yamt
87403155ba bump to 4.99.2. yamt-pdpolicy merge. 2006-09-15 15:52:13 +00:00
yamt
9d3e3eab23 merge yamt-pdpolicy branch.
- separate page replacement policy from the rest of kernel
	- implement an alternative replacement policy
2006-09-15 15:51:12 +00:00
elad
6cb705e0b1 Add skeleton files to be used by developers interested in writing NetBSD
security models from scratch. Address issues both for in-tree integration
as well as distribution as LKMs.

Placed in the public domain.
2006-09-15 15:49:29 +00:00
elad
56b99b4fca Remove sentence no longer true. 2006-09-15 14:41:57 +00:00
elad
b60c6b99ca Introduce a new flag we mark as TRUE when we load listeners, and change
the logic in kauth_authorize_action() to use it.

When we try to authorize a request and the flag is FALSE, it means a
kernel was compiled with no listeners (or we're in very early boot stages),
and we always allow the request because it's likely to be coming from the
kernel itself or from loading an LKM with the security model (later on).

Assert that if the "listeners have been loaded" flag is FALSE, there are
really no listeners for the scope we're authorizing on.

When the flag is TRUE (ie., listeners have been loaded) but they were
later removed, creating a scope with no listeners, the request will be
denied further down.

This allows us to have the security model compiled outside the NetBSD
kernel and later loaded as an LKM, without fearing an attack will just
remove listeners we loaded earlier to create a "fail open" situation.

Input from yamt@, thorpej@, gdt@, dan@.
Okay yamt@, thorpej@.
2006-09-15 14:28:04 +00:00
yamt
30a25a27c1 yamt-pdpolicy-base9. 2006-09-15 14:07:56 +00:00
is
1860a0e148 Simply use the device name for the workqueue name. 2006-09-15 11:22:21 +00:00