Commit Graph

169296 Commits

Author SHA1 Message Date
yamt ee319e086d netstat_sysctl: set sysctl_size correctly. (fix netstat -s garbage output) 2008-04-26 08:17:01 +00:00
yamt 4f47226d42 udp_init: don't forget to allocate udp6stat_percpu. 2008-04-26 08:13:59 +00:00
yamt 167fe02fc8 tcp_init: don't forget to allocate tcpstat_percpu. 2008-04-26 08:13:35 +00:00
yamt 0e18a54641 fix a comment. 2008-04-26 08:09:30 +00:00
yamt 52c2e613a9 idle_loop: unsigned -> uint32_t to be consistent with the rest of the code.
no functional change.
2008-04-26 08:08:27 +00:00
yamt 582ad655c2 fix a comment. 2008-04-26 08:06:11 +00:00
tsutsui 9188a0e30d Shrink install kernels a bit. 2008-04-26 03:08:59 +00:00
xtraeme f960b01be8 * Improve default display output by adding a header that will match
current value as well as critical limits set and sensor unit.

* Add a new flag: -T. When it's enabled statistics will be created for
  the sensors. Max, min and average statistics as well as sensor unit
  will be displayed. Must be used with an interval.

You can see the new code in action here:

http://www.netbsd.org/~xtraeme/envstat_stats.txt

Thanks to jmcneill@ for comments and ideas.
2008-04-26 02:56:57 +00:00
tsutsui 080dee1d75 Remove obsolete options SHMMAXPGS. 2008-04-26 02:43:07 +00:00
jmcneill da01aef3c1 Use isareg constants in thinkpad_brightness_read where possible 2008-04-26 01:19:15 +00:00
dogcow 9fdae5aaa5 make this compile again. (hi, xtos!) 2008-04-25 23:51:41 +00:00
he fffa7e0bcb Bump the ramdisk from 500k to 700k to compensate for bloat which
happened while the sun2 kernels were unbuildable.
2008-04-25 23:01:27 +00:00
christos fc2c50c090 add the math library. 2008-04-25 22:26:06 +00:00
christos e92259d4ee handle lintlibrary output of _Complex types. 2008-04-25 22:22:28 +00:00
christos 98e7e8e9f7 avoid shadow variables, and enable lint. 2008-04-25 22:21:53 +00:00
christos 69ade9fd6e preliminary _Complex support.
NB: Does not really understand type conversions between complex and doubles.
2008-04-25 22:18:34 +00:00
christos bd1ba72f92 make name const. 2008-04-25 21:20:57 +00:00
ginsbach b876d7a7df Add %F the ISO 8601 date format which is equivalent to %Y-%m-%d. This
format character is supported for reasons of symmetry with strftime(3).
FreeBSD and GNU versions of strptime(3) both support %F.
2008-04-25 20:51:10 +00:00
christos c9cdc30221 - always check malloc results
- don't leak fds on error
- don't cast malloc
- don't cast NULL
2008-04-25 17:44:44 +00:00
christos 0527f291b9 minor restructuring. 2008-04-25 17:41:10 +00:00
christos 1a72a1c693 fix signature 2008-04-25 17:39:20 +00:00
christos ffeec10260 warns=4 2008-04-25 17:34:38 +00:00
christos 76560beef5 Detect unmatched quotes inside old style command substitution.
echo `"`
2008-04-25 17:32:31 +00:00
christos ee7f0d99cd add ellipsis test 2008-04-25 17:19:14 +00:00
christos 5f562aba67 handle case C1 ... C2: 2008-04-25 17:18:24 +00:00
christos eaacd42b0f I don't see why we need to strong alias those. Nothing else does it. 2008-04-25 16:43:00 +00:00
ad 52b171cac6 fillw() is no longer used. 2008-04-25 16:34:25 +00:00
joerg 289d04bffd Fix a bug in the linkresolver for tar format. When linkresolver is done,
the entry belongs to the caller, so don't keep a reference to it and use
the local copy for inode comparision.
2008-04-25 15:04:21 +00:00
jmmv 098f566eb9 Do as in revision 1.26 of sshd_config: add a sample, commented-out line
for X.org's xauth.
2008-04-25 15:01:45 +00:00
vanhu ed9bfcd9c2 From Timo Teras: extract port numbers from SADB_X_EXT_NAT_T[SD]PORT if present in purge_ipsec_spi(). 2008-04-25 14:41:18 +00:00
vanhu c6898eabf6 extract ports information from SADB_X_EXT_NAT_T_[SD]PORT if present in purge_ipsec_spi() 2008-04-25 14:41:17 +00:00
ginsbach 52de4d6274 Change date for previous change (addition of %Z). 2008-04-25 14:37:00 +00:00
ad c925598aae lwp_startup: spl0 after pmap_activate, otherwise we could be preempted
without a pmap active.
2008-04-25 14:34:41 +00:00
mjf 06c9a5d43c Grammar fix. 2008-04-25 14:16:05 +00:00
joerg d4752c626d Before allowing rmdir to progess into the netherhells called VFS,
check if no filesystem is mounted on this node. This can happen
for null mounts on top of null mounts.
2008-04-25 13:40:55 +00:00
ad 1a1d0b7f30 Include null IPI functions if !MULTIPROCESSOR. 2008-04-25 13:26:27 +00:00
jmmv 44baf61c66 Add sample (commented-out) entries to change the keyboard's repeat rate.
I always do this after a system install but never remember the correct
syntax.
2008-04-25 13:09:13 +00:00
skrll 768818c328 Whitespace. 2008-04-25 12:41:50 +00:00
xtraeme 82947dad7d Adapt to recent NetBSD which has an atomic MI API. With code from
bjs@ and ad@.
2008-04-25 12:15:19 +00:00
tsutsui 82cc885228 Split device_t/softc for re(4) and rtk(4). 2008-04-25 11:27:19 +00:00
ad 4079c2dd69 Use pool_cache+atomics for sigacts. 2008-04-25 11:24:11 +00:00
ad 607f7941b7 Remove unneeded playing about with kernel_lock. 2008-04-25 11:23:42 +00:00
ad 1ae2046c17 semexit: do nothing if the process has not used semaphores. 2008-04-25 11:21:18 +00:00
sborrill e691c35842 Disable splashscreen during autoconf if any of the following is true:
- single user (-s)
- verbose (-v)
- debug messages (-x)
- ask for root (-a)
- userconf (-c)
2008-04-25 08:42:56 +00:00
mjf 24503783b3 device_t/soft_c split 2008-04-25 08:17:52 +00:00
ad 8c71a574b0 Remove unneeded kernel_lock/splvm stuff. 2008-04-25 00:07:24 +00:00
alc 8c99fcbe3b fix typo in comment 2008-04-24 23:26:00 +00:00
alc e0ec961f27 add a dummy argument to cpc700_get_irq() to match the function pointer's
prototype in `struct pic_ops'.

fix build of PMPPC

ok garbled@
2008-04-24 23:22:24 +00:00
ad 3cef738139 lwp_userret: don't drop p_lock while holding a scheduler lock. 2008-04-24 21:47:11 +00:00
jmcneill dd8d5fe840 Define ACPI_THREAD_ID as uintptr_t, and return curlwp instead of
curlwp->l_lid from AcpiOsGetThreadId(), as suggested by ad@
2008-04-24 21:42:05 +00:00