Commit Graph

162867 Commits

Author SHA1 Message Date
xtraeme
e3b08fdabe Add coretemp(4). A new driver for Intel Core's on-die thermal sensor,
available on Intel Core or newer CPUs.

Ported from FreeBSD. Tested by rmind on i386 and joerg on amd64.

Enabled with "options INTEL_CORETEMP".
2007-10-29 00:42:28 +00:00
yamt
79606bd6fa make NFS_ATTRTIMEO a function. 2007-10-28 22:24:28 +00:00
rjs
08f1734743 Fix typo. s/conat/const 2007-10-28 21:33:23 +00:00
pooka
cb11cd8fde In uvm_estimatepageable() "estimate" pageable. 2007-10-28 18:54:17 +00:00
plunky
baebd7699a remove unnecessary cast (shortens long line) 2007-10-28 18:49:52 +00:00
pooka
9038ffc17c Use puffs prepost ops for setting pid/lwpid instead of separate
calls in all methods.
2007-10-28 18:41:54 +00:00
pooka
b40b63f077 Add possibility to set pre- and post callbacks which will be called
for all operations before or after executing the specific callback
(the api is not be final yet, though).
2007-10-28 18:40:30 +00:00
dsl
9b2fcb3d05 Add (commented out) SYSCALL_COUNTS and SYSCALL_TIMES. 2007-10-28 18:39:38 +00:00
dsl
121ee101f7 Add support for the SYSCALL_STATS and SYSCALL_TIMES options. 2007-10-28 18:35:49 +00:00
jmmv
b86dc43816 Note the removal of pccons(4) from NetBSD/shark. 2007-10-28 18:13:38 +00:00
jmmv
894e7dfa00 Note removal of pccons in NetBSD/shark. 2007-10-28 18:03:31 +00:00
jmmv
d749362b97 Drop pccons. Obsoleted by wscons, now fully supported in NetBSD/shark.
OK'ed by thorpej@ and tsutsui@ a while ago.
2007-10-28 18:01:54 +00:00
adrianp
aaf8e048ae The function ipsec4_get_ulp assumes that ip_off is in host order. This results
in IPsec processing that is dependent on protocol and/or port can be bypassed.

Bug report, analysis and initial fix from Karl Knutsson.
Final patch and ok from degroote@
2007-10-28 15:48:23 +00:00
joerg
b6c45f0dfa More debugging reveals that the U7600 really wants to use the same
voltage for different frequencies. The fake table can be computed as
driven by the frequency here as well, but don't recompute the voltage as
it would result in an underflow.

Fix argument order in a debug message to match the format string.
2007-10-28 15:15:35 +00:00
isaki
4553314da2 Stop installing inst.fs.gz (and kern.fs).
inst.fs of 1200KB is too small to contain a recent image.
2007-10-28 13:59:53 +00:00
rjs
04a1aa35a4 Move prototype for kd_later() before first use. 2007-10-28 13:29:21 +00:00
ragge
1990d3d4ad x86 -> i386.
Fix include paths, now compiles.
2007-10-28 10:06:41 +00:00
tsutsui
b682074ae4 Don't print Drive serial number if -S (setting shell variables) is specified. 2007-10-28 10:02:08 +00:00
skrll
f1273d89a6 Set up the tail of the instruction address queue so that
we don't have to rely on luck for swapcontext(3) to work.

This fixes a problem pointed out to me by Chuck Silvers.
2007-10-28 09:38:06 +00:00
jnemeth
62ce053780 no such user as _authpf, just a group 2007-10-28 09:36:01 +00:00
jnemeth
2fa555aeb3 group rwhod -> _rwhod and add user _rwhod 2007-10-28 09:31:15 +00:00
nisimura
ae8068f5f7 still remain crude, work in progress. 2007-10-28 03:15:04 +00:00
dsl
b279dc62eb Instead of having 2 copies of the sycall entry code, reprocess the file
to generate syscall_plain() with #defines to remove the trace calls.
Join the club of making micro-optimisations to this code to speed up
benchmarks of empty system calls (eg getpid()):
- Use __predict_false() to get fewer branches in the 'normal' path.
- Just copy all the arguments from the stack frame to 'args', since the
  jump indirect for the switch statement is basically unpredicatable.
- Keep the (rather pointless) test for 0 arguments - just for higher
  benchmark scores.
NB system call timing are dominated by other factors! I measured getppid()
  as faster than getpid(), sometimes open("foo", -1) was also faster.
I also suspect that if trace_is_enabled(p) were a simple bit test (that
could be inlined), then the cost of the tests would be unmeasurable and
the syscall_plain/fancy fiasco could be expunged completely.
2007-10-27 22:56:41 +00:00
jnemeth
e5922f73c9 sort users/groups to be manually created 2007-10-27 19:55:35 +00:00
plunky
60822ed9d3 When no estimate of battery minutes_left can be made, apm should
return a value of 0.
2007-10-27 19:51:29 +00:00
pooka
eff8fdc9d1 Prevent recursion in INACTIVE -> vrecycle -> inactive -> ... 2007-10-27 19:36:34 +00:00
christos
b4403619e0 bump date. 2007-10-27 18:43:37 +00:00
christos
59604b5887 uncomment the group handling documentation. 2007-10-27 18:42:42 +00:00
dsl
7cfa26e69a Remove some gratuitous differences between syscall_fancy and syscall_plain. 2007-10-27 18:41:57 +00:00
christos
5f2b082001 PR/37236: Matthias Scheler: Mac OS X NFS client frequently crashes rpc.lockd(8)
on NetBSD. Use calloc to allocate the lock as suggested in the PR.
2007-10-27 18:41:54 +00:00
abs
9e1ca15c9c Add somewhat inelegant logic to handle config.h for now - obviously not
crossbuildable
2007-10-27 18:14:45 +00:00
tsutsui
7eee2a15d6 Use PCI bus/dev/function numbers rather than device unit
to check first tlp in device_register().
2007-10-27 17:23:37 +00:00
manu
6c5e7992c7 More details about my commit 2007-10-27 15:41:27 +00:00
christos
3670ce19dd - move grutil code to newgrp.
- enable user:group and :group code.
2007-10-27 15:37:45 +00:00
nisimura
b08d93761c stop to generate SREC kernel image. netboot is now considered a
standard path to boot off. DINK32 and ppcboot can handle it as a
staging bootloader.
2007-10-27 15:36:29 +00:00
christos
542b6466e3 Move the grutil code from su to here. Requested by ginsbach@ 2007-10-27 15:36:21 +00:00
christos
40a10c757f From Anon Ymous:
- Fix a memory leak in newgrp().  (Noted by ginsbach@.)

- If the new and old groups are the same, addgrp() does nothing so
  exit early.  (Noted by ginsbach@.)

- In newgrp(), if the new group isn't found in the in-core, check the
  group membership list anyway as the in-core list may be full or
  /etc/groups may have been edited since login.  (Requested by
  ginsbach@.)

- Deal with a full in-core group[] array in addgid() rather than
  silently ignoring it and ending up with a group[] array that is
  inconsistent with the current group.

- More explicit error handling in addgroup().
2007-10-27 15:33:25 +00:00
christos
4556f89a2d From Anon Ymous:
- Add a "bounce" command as requested by garbled@.
  From the manpage:

 bounce  Takes a list of messages and prompts for an address to bounce the
         messages to.  All the original header fields are preserved except
         for the ``Delivered-To'', ``X-Original-To'' and ``Status''
         fields.  The new ``To'' field contains the bounce address(es)
         plus any addresses in the old ``To'' field minus the user's local
         address and any on the alternates list.  (See the alternates com-
         mand.)
2007-10-27 15:14:50 +00:00
tsutsui
3d88d4ee08 Assume netboot if "nfsroot=/path" is specified in bootstring. 2007-10-27 15:12:09 +00:00
tsutsui
683d044ea4 In device_register(), check booted devices more properly:
- check "tlp" name on netboot
- use ata channel and drive numbers to check wd unit
2007-10-27 14:47:04 +00:00
ragge
4ce08a9bc7 Import of current (today) pcc. 2007-10-27 14:43:28 +00:00
ad
88ac8d733c Note addition of jemalloc. 2007-10-27 13:30:11 +00:00
ad
024f9d1113 Update status of vmlocking branch. 2007-10-27 13:27:24 +00:00
tsutsui
d1b230ab5a Include <lib/libsa/dev_net.h> for "extern int try_bootp" decl. 2007-10-27 12:23:44 +00:00
tsutsui
fe9146d494 Add an extern decl of try_bootp variable here since MD sources could set it. 2007-10-27 12:21:17 +00:00
tsutsui
03f68714d2 Include "bootp.h" for a function declaration of bootp(). 2007-10-27 12:19:41 +00:00
njoly
d57ae6a62d Regen for chown additions. 2007-10-27 09:17:50 +00:00
njoly
97151f15f1 Add missing chown's syscalls family members.
This makes chown(1)/chgrp(1) works under compat linux32.

Problem reported and fix tested by Arto Huusko. Thanks.
2007-10-27 09:16:24 +00:00
plunky
ad0b47dec4 add mention of _sdpd/_sdpd user/group in the compatibility section 2007-10-27 07:11:58 +00:00
nisimura
f1a2c1395e arrange cache line friendly allocation where applicapable. Not
immutune from careless change of struct local. Away from
compiler extention.
2007-10-27 06:34:19 +00:00