Commit Graph

180271 Commits

Author SHA1 Message Date
reed f3f3915d98 Add some mdoc macros and spell out an abbreviation.
(I shared some of my fixes upstream a few days ago.)
2009-04-28 03:11:45 +00:00
reed 742585d6c5 Fix librefuse macro to show -lrefuse (not -lfuse).
That will fix "man refuse" Library details.
2009-04-28 03:07:53 +00:00
reed 9a8032873e Get rid of extra space in Usage statement. 2009-04-28 03:03:52 +00:00
yamt a6f64ec082 do_sys_utimes: fix a bug introduced by rev.1.367.
VA_UTIMES_NULL is in va_vaflags, not va_flags.
2009-04-28 03:01:15 +00:00
reed 20d7b2d82a Fix Nm (document title).
("Fast IPsec" is not a manual page name as I mention on netbsd-docs.)
2009-04-28 02:59:05 +00:00
yamt a26c5cc0c2 remove read-write code because it's dangerous.
there's no point to try this hard anyway.
2009-04-28 02:47:12 +00:00
agc 167587fd07 Clean up minor pieces of lint 2009-04-28 00:41:40 +00:00
agc 702f5adb30 Use .Ar properly 2009-04-28 00:40:45 +00:00
dyoung 46db29bcf1 Bring getifaddrs(3) behavior in line with the documentation: the
ifa_data member of every AF_LINK struct ifaddrs points at the
corresponding struct if_data.  In ifconfig(8), do not try to suppress
duplicate AF_LINK ifaddrs by checking for a NULL ifa_data.

Don't copy out two AF_LINK struct ifaddrs for each active link-layer
address. getifaddrs(3) used to copy out one ifaddrs for the kernel's
RTM_IFINFO message, and one more for the kernel's RTM_NEWADDR message.
I suppress the first duplicate with a highly conservative change that
wastes a little bit of ifaddrs storage.  The storage is not leaked.
2009-04-27 20:10:49 +00:00
cegger da38c1360b sprintf -> snprintf 2009-04-27 20:02:29 +00:00
pooka 8a514cd619 initialize async before use 2009-04-27 18:36:43 +00:00
ginsbach 5fabed93f9 Print left and right type and not left type twice. (Hi Christos!) 2009-04-27 15:08:10 +00:00
tsutsui 9998edcec4 Wrap one more printf() with #ifdef DEBUG, which was missed on rev 1.52. 2009-04-27 14:52:50 +00:00
pooka e5d3ecb4f1 * expand syncing logic into rumpuser, since it has more freedom on
how to do it (e.g. fsync_range)
* hash out O_DIRECT support.  it's the fastest method of safely operating
  on a file, but we can't currently autodetect support, so it's not
  enabled by default
* sprinkle more event counters
2009-04-27 14:28:58 +00:00
njoly a6ba76a6cd Add some missing entries to fix MKDEBUG build on alpha.
Looks good from tsutsui.
2009-04-27 14:22:40 +00:00
njoly 692b478fd5 Add IPC_64 support to all semctl(2) commands, following corresponding
compat linux change.
2009-04-27 13:24:18 +00:00
joerg 5cef834a23 Add commented out hpet@ichlpcib entry. 2009-04-27 12:02:10 +00:00
nonaka dcb81fa7ce Add sysmon for powerd. 2009-04-27 08:06:02 +00:00
snj 7548a3a557 Nuke some 5.0 stuff in preparation for 6.0. Sigh. 2009-04-27 00:07:06 +00:00
pooka 1a8a4475a6 avoid namespace collision. no functional change. 2009-04-26 22:26:59 +00:00
pooka 28e32e3408 Provide a stateful mode for readdir/read/write. Using them gives
a measurable boost to some fs-utils commands.
2009-04-26 22:23:01 +00:00
pooka b12cf03935 Bump maximum number of outstanding async i/o's to 1024, 128 can
fill up really fast.
2009-04-26 21:39:10 +00:00
pooka e2fddf883f * set syncdelay to 0 only if we don't have a syncer thread
* add some #if0'd debug code to unmount for printing event counters
2009-04-26 21:36:24 +00:00
pooka e06cd50d97 Don't drop kernel lock twice inside same operation. 2009-04-26 21:30:43 +00:00
pooka 13bf8de01d prettyprint long line, no functional change 2009-04-26 20:45:37 +00:00
pooka 125fe29b5a fix uninitialized 2009-04-26 20:44:50 +00:00
pooka aab61fc839 Fix getnano/microuptime to report actual uptime. 2009-04-26 20:41:24 +00:00
mlelstv 094ee5306f don't discard const qualifiers 2009-04-26 19:56:20 +00:00
mlelstv 4c90ae5cf0 don't discard const qualifiers 2009-04-26 19:24:18 +00:00
sborrill ae2bdcdb20 Fix a lot more grammatical errors and inconsistencies (e.g. RiscOS -> RISC
OS).
2009-04-26 16:58:30 +00:00
agc f5bbd5a825 Let's allocate enough space for the keyring structure, and not a pointer to it. 2009-04-26 16:55:44 +00:00
sborrill d0ea34baab !SparkPlug, not !SparcPlug 2009-04-26 16:44:51 +00:00
tsutsui 70dab57692 Always make local functions static. Local symbols are still preserved
on link by ld(1) with -X option on most ports for debug.
2009-04-26 16:17:08 +00:00
christos c37383f14b fix broken overflow test. 2009-04-26 15:55:50 +00:00
pooka 067a8b527b Use rump_sys_mount() instead of ukfs_mount(). Just a few more
steps and we can have a switch for if we want to run tests against
a rump kernel or a real kernel.
2009-04-26 15:15:38 +00:00
pgoyette adaec344ee Catch up with recent changes to sys/proc.h (Hello, rmind!) 2009-04-26 14:37:03 +00:00
joerg bfdba539cb Update build system for pkg_install-20090425. 2009-04-26 14:18:44 +00:00
nonaka 35df2d384d fix build broken.
Pointed by Takeshi Nakayama.
2009-04-26 13:05:55 +00:00
uch c519d37fde added error check. 2009-04-26 12:41:59 +00:00
cegger 2cae64a195 check error code from bwi_attach() 2009-04-26 10:45:19 +00:00
cegger 394d81abd5 fix error handling 2009-04-26 10:26:54 +00:00
cegger 57fb22a89c device_t/softc split 2009-04-26 10:07:48 +00:00
cegger c6c48498e2 prepare device_t/softc split 2009-04-26 09:56:46 +00:00
cegger 32e56df1e0 u_intNN_t -> uintNN_t 2009-04-26 09:47:31 +00:00
cegger 60326e09a5 - Fix error handling in attachment
- use aprint_*_dev
2009-04-26 09:12:33 +00:00
cegger 1ab9e723df detach ohci on shutdown 2009-04-26 08:54:13 +00:00
cegger c398d65d42 Fix error handling. 2009-04-26 08:46:10 +00:00
elad 03d23b4d6b Authorizing actions from the generic scope using a device scope wrapper
is a big no-no.

As painful as it is, use kauth_authorize_generic() for now.
2009-04-26 07:53:43 +00:00
nonaka 9445e9e796 Added some command definitions. 2009-04-26 07:21:13 +00:00
cegger c1bf5ecbc4 age_intr: don't return w/o ack. the interrupt.
Add a comment when this special case can happen.
2009-04-26 07:01:29 +00:00