itojun
c1261b4aff
periodically save policies that have been modified. from provos
...
>here is a diff that will cause systrace to periodically save policies
>that have been modified. Useful if you run systrace on an xterm and
>kill it accidently. Or other applications like opera that are long
>running and can cause weird crashes.
2002-09-16 04:31:46 +00:00
briggs
a94d82e6f9
Always use NetBSD's fts(3) in compat builds. Some systems (notably
...
Red Hat 7.3, at least) do not have fts(3) implementations that work
correctly with -D_FILE_OFFSET_BITS=64.
2002-09-16 04:10:36 +00:00
christos
b3ac19283d
Make uptime show the correct number of users.
2002-09-16 04:02:21 +00:00
martin
062ee8dd14
p->p_sigacts -> p->p_sigctx
2002-09-16 03:41:40 +00:00
oster
55b509f490
Cleanup some comments.
2002-09-16 02:48:34 +00:00
oster
969c6e9caf
'char *arrived' was such a nice variable. Too bad all we ever did
...
with it was malloc/free space for it. *poof*
2002-09-16 02:39:42 +00:00
perry
64d38d7104
add wtmpx
2002-09-16 02:36:53 +00:00
oster
4511efdca0
rf_CheckFloatingRbufCount() is only really useful when debugging the
...
reconstruct buffer stuff. #if it out in the general case.
2002-09-16 02:35:17 +00:00
perry
a2bd5604f5
Make utmp and utmpx group utmp, not group wheel. This gets masked by
...
the fact that rc.d sets it to group utmp anyway, but it was certainly
wrong in principle.
2002-09-16 02:35:04 +00:00
perry
e1fd62d224
Create wtmpx, just as wtmp is created.
2002-09-16 02:30:29 +00:00
oster
549b1bde93
Cleanup some printf's, and disable some (debugging) output.
2002-09-16 02:25:08 +00:00
perry
8a20c1019d
create a utmpx with the same permissions as utmp
...
Solves pr 18282, although very differently.
2002-09-16 02:23:31 +00:00
thorpej
23d33fadf0
Don't escape constructs like ${FOO} in printf statements. awk doesn't
...
expand variables like that in printfs, and the escapes end up in the
output in some versions of awk.
2002-09-16 02:13:16 +00:00
chs
2df384b428
fix printf format string.
2002-09-16 02:12:30 +00:00
chs
5a93abd050
fix the FIRMWORKSBUGS case: ofwr_init() substitutes a wrapper OFW entry point
...
for the real one, so we must call it before we save off the entry point
that the higher level code will use.
2002-09-16 02:07:24 +00:00
mycroft
2f85ba247c
uptime(1) is NOT supposed to always say `1 user'.
2002-09-16 01:49:06 +00:00
thorpej
9aa45a9c40
Fix typo (sigh).
2002-09-16 00:12:54 +00:00
thorpej
677d45a6a2
The new comment in the file says it all:
...
# UNDER NO CIRCUMSTANCES SHOULD THIS MAKEFILE TEST THE OUTPUT OF uname!!
# DOING DO BREAKS CROSS COMPILING.
2002-09-15 23:56:57 +00:00
thorpej
2d655f566e
In bpf_setdlt(), preserve the promiscuous mode setting of the
...
descriptor.
From David Young <dyoung@ojctech.com>, slight change by me.
2002-09-15 23:44:12 +00:00
oster
8c2b691d7a
Release our hold on raidPtr if we're going to sleep.
2002-09-15 23:40:40 +00:00
thorpej
4c3ae4bbc8
Add new ioctls:
...
* SIOCS80211CHANNEL, SIOCG80211CHANNEL -- set/get the 802.11 channel.
* SIOCS80211BSSID, SIOCG80211BSSID -- set desired/get current BSSID.
From David Young <dyoung@ojctech.com>.
2002-09-15 23:27:08 +00:00
gmcgarry
e344fcd489
Add a disclaimer if using on a multiprocessor machine. Based on
...
comments by Bill Sommerfeld on tech-kern.
2002-09-15 23:05:13 +00:00
mbw
b51dc642a3
fix broken link to CD-ROM FAQ
2002-09-15 21:55:41 +00:00
mbw
a005b67fcd
Mention that some non-Sun CD-ROM drives can't boot any OS on Sun hadware
...
(link to CD-ROM FAQ was already present)
2002-09-15 21:42:28 +00:00
oster
201928d9fa
Nuke unlockingOp -- it was only used for the userland version of the
...
code.
2002-09-15 21:34:03 +00:00
oster
7193ba8687
Remove a couple of unneeded structure members.
2002-09-15 21:31:11 +00:00
oster
207409a242
'buf2' is unused. Nuke it.
2002-09-15 21:19:50 +00:00
oster
be70d191af
General cleanup of a mess. No functional changes.
2002-09-15 21:04:35 +00:00
bouyer
f30ddf1a29
Fix typo in comment. From Alexander Yurchenko <grange@rt.mipt.ru>
2002-09-15 20:27:09 +00:00
skrll
1f4f5626a4
Fix typos in comment.
2002-09-15 20:11:55 +00:00
oster
b51d271e17
Nuke 'numPending' from the RF_RaidAccessDesc_s structure, and minor cleanup.
2002-09-15 19:25:07 +00:00
bouyer
7ccb421b1d
Regen: add ACCTON EN2216.
2002-09-15 17:44:33 +00:00
bouyer
2f6aa3ef83
Add ACCTON EN2216-PCMCIA-ETHERNET (there seems to be different variants of
...
the ACCTON EN2216) to pcmciadevs, and support this adapter by if_ne_pcmcia.
Tested by Rémi Zara <remi_zara@mac.com>.
2002-09-15 17:43:48 +00:00
thorpej
a25cf0dfe0
Patch host-mkdep with the working host shell.
2002-09-15 17:23:01 +00:00
thorpej
2f50b4a3fb
No longer have to invoke lorder with the shell explicitly; the host
...
tool is patched to use the working shell as the interpreter.
2002-09-15 17:07:14 +00:00
thorpej
54a74239f1
Patch lorder with the host's working shell. Idea from Chris Demetriou.
2002-09-15 17:05:26 +00:00
yamt
82de657077
make AcpiOsStall always delay instead of sleep.
...
sleeping isn't safe because sometimes it's called with interrupt-disabled.
ok'ed by thorpej.
2002-09-15 17:04:12 +00:00
chs
9672ac098f
add a new km flag UVM_KMF_CANFAIL, which causes uvm_km_kmemalloc() to
...
return failure if swap is full and there are no free physical pages.
have malloc() use this flag if M_CANFAIL is passed to it.
use M_CANFAIL to allow amap_extend() to fail when memory is scarce.
this should prevent most of the remaining hangs in low-memory situations.
2002-09-15 16:54:26 +00:00
thorpej
6d82557c32
Add a HOST_BSHELL make var which contains the path to the working
...
shell.
2002-09-15 16:46:23 +00:00
thorpej
3587dba99e
Escape { and } in the regexp that matches e.g. ${FOO}.
2002-09-15 16:15:40 +00:00
thorpej
69d62447b8
Use ${CPP}, not cpp.
2002-09-15 16:01:17 +00:00
tsutsui
a4c0983618
Fix devsw_name2blk() to return the correct device name for devname arg.
...
Ok'ed by gehenna.
2002-09-15 14:29:01 +00:00
bjh21
325b2641c5
Cleanup: Remove no-longer-accurate comment, un-__P, ANSIfy, __KERNEL_RCSID,
...
other light KNF.
2002-09-15 11:27:47 +00:00
bjh21
166f9fdf01
Allocate channel structures as part of the softc rather than malloc'ing them
...
at run time. This simplifies the code and avoids problems with uninitialised
variables, and if it's good enough for pciide(4), it's good enough for me.
Also normalise the prefix for channel-specific messages.
2002-09-15 11:00:11 +00:00
lukem
40b2b53564
Also sum symlinks (as well as files) which match, as we often replace
...
common sets with a symlink to a shared copy, and this change ensures
that all the appropriate entries have sums generated.
2002-09-15 09:47:42 +00:00
thorpej
55153619f4
Make the tn3270 host tools build on non-BSD systems. Slightly
...
kludgy, but saves a major overhaul.
2002-09-15 01:27:44 +00:00
itojun
d694b45f9d
remove extra blank line
2002-09-15 01:18:59 +00:00
thorpej
7e6d181789
No PC24 relocs will ever be unaligned. Pointed out by mycroft.
2002-09-15 01:08:04 +00:00
thorpej
3479cf6ba9
Protect "struct uvm" with _KERNEL.
2002-09-15 01:01:32 +00:00
thorpej
672853f217
It is possible for reloc entries to point to unaligned locations; handle
...
this.
2002-09-15 00:52:08 +00:00