Commit Graph

162881 Commits

Author SHA1 Message Date
christos
ed1a8fea8d build stack protector locally so that we don't call syslog_ss that results
in 1/2 of libc dragged in.
2007-10-29 20:36:31 +00:00
pavel
273be3c5e5 bump date. 2007-10-29 20:28:26 +00:00
pavel
03c46b4379 regen the list of changes from
htdocs/releases/formal-4/NetBSD-4.0.xml#major-changes, rev. 1.28.
2007-10-29 20:25:08 +00:00
pooka
f7de032584 lock massage, although I don't think there's a happy ending here 2007-10-29 17:47:33 +00:00
dyoung
6709ce7762 The IPv6 stack labels incoming packets with an m_tag whose payload
is a struct ip6aux.  A struct ip6aux used to contain a pointer to
an in6_ifaddr, but that pointer could become a dangling reference
in the lifetime of the m_tag, because ip6_setdstifaddr() did not
increase the in6_ifaddr's reference count.  I have removed the
pointer from ip6aux.  I load it with the interesting fields from
the in6_ifaddr (an IPv6 address, a scope ID, and some flags),
instead.
2007-10-29 16:54:42 +00:00
pooka
40ffc8b91f Sprinkle some hackish locks here and there, just enough to allow
libp2k & rump to run multithreaded.
2007-10-29 15:52:44 +00:00
yamt
94c0a71eb1 reduce dependencies on opt_sched.h. 2007-10-29 12:16:54 +00:00
jnemeth
e942f6d60e PR/37243 - Joerg Niendorf -- fixup botched addition of -i option 2007-10-29 11:22:59 +00:00
rjs
b641aac5c9 The kernel config has been renamed to GENERIC. 2007-10-29 09:45:31 +00:00
itohy
d3de8bec66 Fix problem where targets with ID 0, 1, or 2 couldn't be reconnected.
It seems I have always tested with targets those ID >= 3,
and that I am the only user of this driver.
2007-10-29 03:17:24 +00:00
ad
e7976c8a86 Mark cpu_info::ci_tlbstate volatile to ensure that the compiler doesn't
reorder accesses to it. It's updated from the TLB IPI handlers and we don't
block those, so the order in which things are read/updated is important.
2007-10-29 01:35:36 +00:00
xtraeme
b1afa665db Mention coretemp(4). 2007-10-29 01:00:52 +00:00
xtraeme
cc39c5b4b9 Add coretemp(4). 2007-10-29 00:54:18 +00:00
xtraeme
1d390936f8 Enable "options INTEL_CORETEMP". 2007-10-29 00:47:16 +00:00
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