Commit Graph

167609 Commits

Author SHA1 Message Date
tnn f85d89c5de v_interlock is a kmutex_t now, simple_lock() -> mutex_enter(). 2008-03-07 00:03:39 +00:00
dsl f8907c6f49 Add a large warning about the possible side effect of using '-f'. 2008-03-06 21:27:41 +00:00
phx e6d6e05cb1 Including assym.h is not needed and will break the build, because it does not
exist that early. Deleted it.
Approved by garbled.
2008-03-06 21:17:17 +00:00
dsl f2ccbd036f Don't treat -f and an invalid flag.
Report the hex value of unknown unsupported (for the specified arch) flags.
2008-03-06 21:05:27 +00:00
plunky d0e804ff6e a "Create Connection" command can sometimes fail to start for whatever
reason and the command_status event returns failure but we get no
indication of which connection failed (for instance in the case where
we tried to open too many connections all at once)

So, keep a flag on the link to indicate pending status until the
command_status event is returned to help us decide which should
be failed.
2008-03-06 20:56:26 +00:00
christos 0bdd655872 Treat "Thursday" as "*Thursday" from anon ymous 2008-03-06 17:37:57 +00:00
vanhu b5ae261d16 Generates a log if cert validation has been disabled by configuration 2008-03-06 17:00:03 +00:00
jmmv e708476055 Fix typo in t_modload entry. 2008-03-06 15:57:00 +00:00
njoly e2a3dc2ff1 Do not use SYS_NSYSENT but the corresponding emulation definitions
instead {LINUX,LINUX32}_SYS_NSYSENT.

While here, cleanup some includes.
2008-03-06 15:16:47 +00:00
nakayama e52ed14a31 tickintr() event counter is not specific to MULTIPROCESSOR. 2008-03-06 09:33:03 +00:00
martin 2bad903b03 Fix bit pattern error in example.
Reported by Edward Tomasz Napierala in PR port-sun3/38181.
2008-03-06 09:30:45 +00:00
manu b6b6316484 From Cyrus Rahman <crahman@gmail.com>
privilegied instance exit when unprivilegied one terminates. Save PID in real root, not in chroot
2008-03-06 04:29:20 +00:00
mgrooms 1e1f81eb1d Add the ability to initiate IPsec SA negotiations using the admin socket.
Submitted by Timo Teras.
2008-03-06 00:46:04 +00:00
mgrooms 3fd729ad89 Refactor admin socket event protocol to be less error prone. Backwards compatibility is provided. Submitted by Timo Teras. 2008-03-06 00:34:11 +00:00
mgrooms 089a95fdcd Refactor admin socket event protocol to be less error prone. Backwards
compatibility is provided. Submitted by Timmo Teras.
2008-03-06 00:34:10 +00:00
cube 49f644ac35 Cosmetics: use device_t and cfdata_t. 2008-03-05 22:47:53 +00:00
cube 0c4bbfd7c5 Fix a softc split fallout. 2008-03-05 22:46:43 +00:00
mgrooms 5e5c5d5011 Properly initialize the unity network struct to prevent erroneous protocol
and port info from being transmitted.
2008-03-05 22:27:50 +00:00
mgrooms f771df75b3 Reload SPD on SIGHUP or adminport reload. Also provide better handling for
pfkey socket read errors. Submitted by Timo Teras.
2008-03-05 22:09:44 +00:00
plunky 85ebf19dbd pointy haired boss 2008-03-05 21:37:55 +00:00
ad 89d4a45927 selclear() while exiting netsmb's custom copy of select(). PR kern/38123. 2008-03-05 18:09:57 +00:00
ad efbd47af45 - Add cv_is_valid(), for use in assertions. Performs basic sanity checks.
- Add more assertions.
2008-03-05 17:05:21 +00:00
xtraeme 66149243ef struct cfdata * -> cfdata_t (for consistency). 2008-03-05 15:45:36 +00:00
xtraeme e75fa1bd1d Split device_t/softc and other related cosmetic changes. 2008-03-05 15:42:07 +00:00
xtraeme 3680f71913 Split device_t/softc in the lm(4) driver and its attachments, and
other related cosmetic changes.
2008-03-05 15:41:31 +00:00
dyoung 7419d9a660 Remove a couple of bogus KASSERTs. 2008-03-05 15:37:55 +00:00
xtraeme 3294fa721e Split device_t/softc, and other related cosmetic changes. 2008-03-05 15:03:36 +00:00
xtraeme 9e715bd513 watchdog(8) -> wdogctl(8) 2008-03-05 13:28:15 +00:00
njoly 425fc32da6 s/Minimal/Maximal/ in kern.sched.pri_max sysctl node description. 2008-03-05 12:47:13 +00:00
elad 4299c49e56 Nuke a KAUTH_GENERIC_ISSUSER, this time in favor of an euid == 0, as
the traditional NFS maproot functionality goes.

Put in a note explaining why and who, also mark for future greps.

Okay yamt@.
2008-03-05 11:49:18 +00:00
cube df77590f4c Fix fallout from midi(4)'s softc split. 2008-03-05 10:48:48 +00:00
cube c6726d686a Bump libprop's minor after addition of prop_dictionary_make_immutable. 2008-03-05 07:55:36 +00:00
cube 5b25d80ca0 Actually implement prop_dictionary_make_immutable. OK'd by thorpej@. 2008-03-05 07:47:09 +00:00
dyoung 4902571538 Synchronize readers and writers of the device tree.
Add a device iterator object, deviter_t, and methods deviter_init(),
deviter_first(), and deviter_next() for visiting each device in
the device tree.

Take care not to re-shutdown a device in the event that the machine
panics during reboot and the operator types 'reboot' at the kernel
debugger prompt.

While I'm here, sprinkle PMF_FN_ARGS, PMF_FN_PROTO, et cetera.
2008-03-05 07:09:18 +00:00
cube ade3d15dc2 Don't forget to set sc_dev. 2008-03-05 04:58:29 +00:00
dyoung 134a0e4bac Introduce PMF_FN_{ARGS,PROTO}1, and use PMF_FN_{ARGS,PROTO} more
widely, further helping me to introduce PMF API changes piecemeal.
2008-03-05 04:54:24 +00:00
christos 5a9c754ab2 Make makedir code optional for all directories (fd and altq) are affected.
This is so that md code that tries to call makedev altq or fd does not fail
when the file exists. This was reported in port-powerpc, when building /dev.
2008-03-05 02:29:51 +00:00
tnn 150b74d8b7 Include sys/device.h for device_t 2008-03-05 00:45:40 +00:00
cube e567de2f43 Split device_t/softc and other related cosmetic changes. 2008-03-04 23:03:29 +00:00
dyoung 11e3712cc6 Check device_has_power() instead of device_is_active() in pccbbintr(),
since the driver must acknowledge some interrupts while it leaves
the suspended state.  This protects against an interrupt storm that
will hang the system while I resume rtw0 at cardbus1.
2008-03-04 22:15:16 +00:00
cube 7cad7e5ad3 Split device_t/softc, and other related cosmetic changes. 2008-03-04 22:12:55 +00:00
dyoung be2348a67e Extract shutdown handlers from the detach methods of elanpar(4)
and elanpex(4).  Register them using pmf_device_register1().  This
ensures that neither comBIOS nor NetBSD will hang during boot,
after I reboot a Soekris net45xx.
2008-03-04 22:07:05 +00:00
cube 14218c181b Split device_t/softc for midi(4), and other related cosmetic changes. 2008-03-04 21:56:11 +00:00
christos 935753c811 sort options from anon ymous 2008-03-04 20:11:00 +00:00
christos 7d01361f62 do the -g -G swap for real. 2008-03-04 18:55:57 +00:00
cube 492d8b0d9e Split device_t and softc for audio(4), and other related cosmetic changes. 2008-03-04 18:23:44 +00:00
christos 7ca37f5cdc PR/36817: Zafer Aydogan: Don't use -g to implement the same named option
in solaris to display statvfs output, use -G instead. I researched this
and all other implementations except Solaris (OS/X, FreeBSD, us before June
24, 2007) use -g to signify gigabytes. So revert to that.
PR/38154: YAMAMOTO Takashi: df -P doesn't work without -k. Fix from Anon Ymous
together with passing lint, and exiting with the right values.
2008-03-04 17:59:55 +00:00
dyoung cee019495b The attimer (sc_timer) is not actually a child of pcppi, and pcppi
does do not hold references to any other device, so provide an
empty child-detachment method.
2008-03-04 17:11:03 +00:00
cube 926915cf40 - Split device_t and softc for pcppi(4) and attimer(4)
- Change the attimer <-> pcppi communication using device_t so that
  pcppi(4) doesn't have to know about the contents of struct attimer_softc.

XXX pcppi's childdet function is completely wrong.  This has to be
XXX revisited later.
2008-03-04 16:35:18 +00:00
cube 0204653a11 Split device_t/softc and other related cosmetic changes. 2008-03-04 15:33:06 +00:00