Commit Graph

190089 Commits

Author SHA1 Message Date
martin
2a48105b23 Tune a message 2010-04-19 19:16:11 +00:00
dyoung
ad6e139a80 Add default implementations for bus_space_is_equal(9),
bus_space_tag_create(9), and bus_space_tag_destroy(9).  Use
bus_space_is_equal(9) throughout the kernel to compare
bus_space_tag_t's.  Tested on i386 and on sparc64.
2010-04-19 18:24:26 +00:00
jruoho
5af1e19355 Mention security(8) in rc.conf(5) and symlink(7) in security(8). 2010-04-19 12:59:36 +00:00
jruoho
809154f220 Add sublists for the kern.coredump and kern.veriexec trees. 2010-04-19 12:44:33 +00:00
jruoho
9ee9f1880c Sort the kern-subtree. Try to correct the differences between the list and
the descriptions. Mark several undocumented or unclear items with XXX.
2010-04-19 12:28:29 +00:00
pooka
cfbced9328 no \n in panic 2010-04-19 11:26:33 +00:00
jruoho
1cbdcd8dc6 Use CTLTYPE_BOOL. 2010-04-19 11:20:56 +00:00
sborrill
57628e87d5 Regen with autoconf-2.63 and automake-1.11.1 because of man page changes.
Bump version to 20100416
2010-04-19 08:09:02 +00:00
sborrill
036951a68c Put .8 man pages in man8, not man1.
Add targets.5 to man5.
2010-04-19 08:05:36 +00:00
kiyohara
694a1ba36a Not necessary '\n'. 2010-04-19 07:05:15 +00:00
kiyohara
dcbb04ec40 Fix a bug.
STAILQ is not NULL termination.
2010-04-19 07:00:58 +00:00
kiyohara
ecfce9dc53 Remove white-spaces. 2010-04-19 06:55:11 +00:00
jruoho
a958683a47 Note the acpi(4) sysctl-changes and the mappings for acpiwmi(4). 2010-04-19 05:50:36 +00:00
martin
84459e4292 Use the same multiuser mode setup as the sparc64 install CD.
Add a few usefull binaries.
2010-04-19 04:41:36 +00:00
pooka
e5f02a189b Also create ugen[123] by default -- my laptop attaches 2 ugens
already with just the builtin devices.
2010-04-19 04:34:42 +00:00
jym
bc0420413d This patch fixes the NX regression issue observed on amd64 kernels, where
per-page execution right was disabled (therefore leading to the inability
of the kernel to detect fraudulent use of memory mappings marked as not
being executable).

- replace cpu_feature and ci_feature_flags variables by cpu_feature and
ci_feat_val arrays. This makes it cleaner and brings kernel code closer
to the design of cpuctl(8). A warning will be raised for each CPU that
does not expose the same features as the Boot Processor (BP).

- the blacklist of CPU features is now a macro defined in the
specialreg.h header, instead of hardcoding it inside MD initialization
code; fix comments.

- replace checks against CPUID_TSC with the cpu_hascounter() function.

- clean up the code in init_x86_64(), as cpu_feature variables are set
inside cpu_probe().

- use cpu_init_msrs() for i386. It will be eventually used later for NX
feature under i386 PAE kernels.

- remove code that checks for CPUID_NOX in amd64 mptramp.S, this is already
performed by cpu_hatch() through cpu_init_msrs().

- remove cpu_signature and feature_flags members from struct mpbios_proc
(they were never used).

This patch was tested with i386 MONOLITHIC, XEN3PAE_DOM0 and XEN3_DOM0 under
a native i386 host, and amd64 GENERIC, XEN3_DOM0 via QEMU virtual machines.

XXX Should kernel rev be bumped?

XXX A similar patch should be pulled-up for NetBSD-5, hopefully tomorrow.
2010-04-18 23:47:50 +00:00
christos
72c00e4a7a \033 is more portable than \e still. 2010-04-18 21:17:47 +00:00
christos
df810c5405 ffs needs strings.h 2010-04-18 21:17:22 +00:00
christos
d29e250074 shame on solaris that is the last OS not supporting $() 2010-04-18 21:17:05 +00:00
jruoho
e9ebdbdfb6 Note kern.detachall. 2010-04-18 19:42:51 +00:00
martin
dd15332205 Ooops, do not try to create a symlink in a not-yet existing directory 2010-04-18 16:10:03 +00:00
jym
f0fb5193e0 Fix a test semantic in cpu_probe(): check that the CPU currently probed
is the first one booting by comparing its struct cpu_info address with
cpu_info_primary, rather than supposing that cpu_feature variables are
set to 0.
2010-04-18 15:25:53 +00:00
jym
c74bd00ba1 When kernel remaps to high memory in amd64 locore, the GDT used before
becomes invalid. As such, split it in two parts, one for use when system
boots in low memory, and one for use when it jumps to high memory.
2010-04-18 15:24:54 +00:00
jruoho
f683d4708d Use .Dv instead of .Va for #defined constants. 2010-04-18 15:19:17 +00:00
jruoho
92024a35be Remove a duplicate variable assignment. 2010-04-18 14:07:16 +00:00
jruoho
0c6bf9beea From Gregoire Sutre:
Modify the main ACPI namespace scan by including a parent-child
  relationship for each node. The result is a bi-directional tree.

ok jmcneill@
2010-04-18 14:05:26 +00:00
martin
07b122db7c Change the install CD to go to full multiuser mode. This clearly
separates the setup done by /etc/rc once, and the repeated stuff
(install.sh invoking sysinst).
2010-04-18 12:58:57 +00:00
apb
67ca6b24d2 The number of byte pairs to swap is len/2, not len/2+1. 2010-04-18 11:39:39 +00:00
apb
fa3abaaeb7 Bitwise operations on signed types are well-defined if the values
happen to be positive, and indeed the values here were guaranteed
to be positive, but some compilers complained anyway, so convert
the bitwise operations to arithmetic operations.
2010-04-18 10:51:33 +00:00
jruoho
0b7093053e Regen. 2010-04-18 10:22:33 +00:00
jruoho
2e422aa6a6 Add ATM1200. From ThinkPad X60s. 2010-04-18 10:22:01 +00:00
christos
d403570167 simplify 2010-04-18 04:54:33 +00:00
darrenr
91cf3dd7bf ip_fil_compat.c is another file that needs to be both in src/dist/ipf and
also in src/sys/dist/ipf/netinet
2010-04-17 22:05:53 +00:00
darrenr
c8b0eee463 clean up compile time warnings to due caddr_t and empty statements 2010-04-17 22:04:00 +00:00
darrenr
a69ca40523 fix spelling mistake: netient -> netinet 2010-04-17 22:00:33 +00:00
darrenr
539655a401 add IPFILTER_COMPAT to kernel config options recognised for IPFilter 2010-04-17 21:44:05 +00:00
christos
665a4f86a1 fix lint 2010-04-17 21:42:43 +00:00
darrenr
9355c196fd New file for 4.1.34 that is in src/dist/ipf but not src/sys/dist/ipf/netinet 2010-04-17 21:36:56 +00:00
darrenr
46fa5e0711 Commit IPFilter 4.1.34 to HEAD 2010-04-17 21:00:08 +00:00
darrenr
abd0900a99 Import IPFilter 4.1.34 into NetBSD
4.1.34 - Release 11 March 2010
2964907 uninitialised use compile error
2959506 ipfstat does not display rules with compat
2949139 FR_T_BUILTIN masked out incorrectly
2937422 packets filtered with pools should not be cached
2935529 use of rules with tags leads to deadlock
2917501 whitespace cleanup required
2881514 in/out object functions not wired for compatibility
2841771 ipf/ippool rule maintenace bugs: memory leak, ref-counter bug
2839698 H.323 proxy does not clear fin_state/fin_nat
2010-04-17 20:44:16 +00:00
wiz
96a3ffaf7c Remove trailing whitespace. 2010-04-17 20:29:20 +00:00
wiz
8cd16a22d0 Join URL. 2010-04-17 20:28:47 +00:00
nonaka
304de73008 Note my recent changes. 2010-04-17 19:08:54 +00:00
christos
885d0edc52 Change and document for POSIX compliance. 2010-04-17 17:57:39 +00:00
christos
bb83e0e3c9 change size_t to ssize_t for POSIX compliance. 2010-04-17 17:51:47 +00:00
christos
b2cf198a4c add restrict 2010-04-17 17:50:13 +00:00
christos
244f534022 PR/43172: Jukka Ruohonen: swab(3) lacks restrict-keyword 2010-04-17 17:48:34 +00:00
pooka
9cf6a57529 One emul is enough and since we need emul_netbsd, retire emul_rump. 2010-04-17 16:34:29 +00:00
christos
65ad62786a regen 2010-04-17 15:57:48 +00:00
christos
3f46aa477c add support for the 6000. From sverre froyen 2010-04-17 15:57:22 +00:00