Ruslan Ermilov
d2b53efbb9
One more nit.
2006-12-23 09:25:23 +00:00
Ruslan Ermilov
17bba29b9b
Fix markup.
2006-12-23 09:22:06 +00:00
Colin Percival
d7102ae53c
Fic typo in previous commit.
...
MFC after: 3 days
2006-12-23 08:16:54 +00:00
Colin Percival
5e522bbc27
Add two checks for inappropriate options: -U only makes sense in "x"
...
mode, and --strip-components only makes sense in "x" and "t" modes.
MFC after: 3 days
2006-12-23 07:06:37 +00:00
Colin Percival
fe7f4a3aad
Correct the names of some options.
...
MFC after: 3 days
2006-12-23 07:01:59 +00:00
David Xu
4b0f4e9d9e
Fix a panic when rebooting a SMP machine, when option STOP_NMI is used,
...
nmi handler is used to stop other processors, nmi hander calls trap(),
however, trap() now accepts a pointer rather than a reference, this was
changed by kmacy@.
2006-12-23 03:30:50 +00:00
Robert Watson
afae638809
Update comments to reflect changes in the extattrctl() code.
...
Clean up comment formatting.
Obtained from: TrustedBSD Project
2006-12-23 00:30:03 +00:00
Jason Evans
ee0ab7cd86
Implement chunk allocation/deallocation hysteresis by caching one spare
...
chunk per arena, rather than immediately deallocating all unused chunks.
This fixes a potential performance issue when allocating/deallocating
an object of size (4kB..1MB] in a loop.
Reported by: davidxu
2006-12-23 00:18:51 +00:00
Robert Watson
6c5b167508
Connect vfs_extattr.c to build by default.
2006-12-23 00:11:02 +00:00
Robert Watson
168d0553a3
Following a repo-copy of vfs_syscalls.c to vfs_extattr.c, remove
...
non-extattr functions from vfs_extattr.c, and extattr functions from
vfs_syscalls.c.
Change copyright/license on vfs_extattr.c to my copyright/license on
the extended attribute implementation (from extattr.h).
Clean up includes a bit.
Obtained from: TrustedBSD Project
2006-12-23 00:10:36 +00:00
Robert Watson
e0d5512e3a
Forced commit to recognize the repo-copy of vfs_syscalls.c to
...
vfs_extattr.c. This follows a naming convention similar to the break-out
of the extended attribute system calls (etc) in NetBSD.
Thanks to: simon
2006-12-22 23:36:13 +00:00
Robert Watson
0efd6615cd
Move src/sys/sys/mac_policy.h, the kernel interface between the MAC
...
Framework and security modules, to src/sys/security/mac/mac_policy.h,
completing the removal of kernel-only MAC Framework include files from
src/sys/sys. Update the MAC Framework and MAC policy modules. Delete
the old mac_policy.h.
Third party policy modules will need similar updating.
Obtained from: TrustedBSD Project
2006-12-22 23:34:47 +00:00
Robert Watson
04b5b3b0be
Forced commit to recognize repo-copy of src/sys/sys/mac_policy.h to
...
src/sys/security/mac/mac_policy.h.
Thanks to: simon
2006-12-22 23:32:23 +00:00
Ruslan Ermilov
6855a26320
Tweak some wording and markup.
2006-12-22 23:23:59 +00:00
Ariff Abdullah
65de329ee2
Fix distorted sound on Intel Desktop Board D101GGC (ATI SB450/ALC861).
...
Turn on ALC861 quirk as default since it seems affecting all hardwares
with the same codec.
Reported/Tested by: Darryl Yeoh <drl@MyBSD.org.my>
2006-12-22 11:55:59 +00:00
Ruslan Ermilov
dd8f42dc83
- Mention umask(2) when first referring to it.
...
- Add missing markup.
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
2006-12-22 07:28:38 +00:00
Warner Losh
353bb0a3f8
Avoid 'bogus' uninitialized warning by initializing rather than
...
playing cute games. It is much simpler, clearer and easier to follow
and understand. Besides, gcc4 likes it better.
2006-12-22 05:54:19 +00:00
Craig Rodrigues
7e3d8842da
The second argument (type) to socket(2) is an enum, not a bitmask, so parse
...
it as an enum.
If an SCTP SOCK_SEQPACKET socket was opened, kdump would display this
wrong output:
socket(PF_INET,SOCK_STREAM|SOCK_RDM|SOCK_SEQPACKET,0x84)
instead of this correct output:
socket(PF_INET,SOCK_SEQPACKET,0x84)
MFC after: 2 weeks
2006-12-22 05:07:21 +00:00
John Polstra
067c6db2a7
Note the second coming of MSI support in the bge driver.
2006-12-22 03:03:31 +00:00
John Polstra
bf6ef57a40
Re-enable MSI support for those chips on which it is believed to work
...
properly.
2006-12-22 02:59:58 +00:00
John Polstra
65b8185c34
Correct the BGE_CHIPID_BCM5750_B0 constant.
...
MFC after: 1 week
2006-12-22 01:10:36 +00:00
Warner Losh
ee9391865e
ACPIIO_BATT_GET_UNITS would always return ENXIO. However, it should never
...
return an error since it returns a count of battery devices in the system.
Set it to 0 explicitly, since it is the only switch branch that doesn't set
it.
# I guess no one uses it.
2006-12-22 00:57:26 +00:00
Matt Jacob
a2821e04a7
fix botch
2006-12-21 23:20:51 +00:00
Ruslan Ermilov
cf1fd21b68
Prevent a line from being broken on a line boundary.
2006-12-21 22:59:07 +00:00
Ruslan Ermilov
f0dd79bced
Improve markup.
2006-12-21 22:44:41 +00:00
Pawel Jakub Dawidek
297507d08c
Document MTX_NOPROFILE flag.
2006-12-21 22:42:18 +00:00
Yaroslav Tykhiy
1ffe761633
Allow this module to get its options from the kernel build directory
...
instead of always hard coding them in CFLAGS. POLA is kept here:
The module file built with GENERIC stays the same.
Tested with: md5(1)
2006-12-21 21:35:49 +00:00
Matt Jacob
df82698084
Pay attention to return value from xpt_bus_register in xpt_init.
...
Obtained from: Xin Li (Coverity)
MFC after: 3 days
2006-12-21 20:06:30 +00:00
Randall Stewart
5288989fac
The prepend function did not handle non-pkthdr's correctly.
...
It always called MH_ALIGN for small lengths being
prepended (less than MHLEN). This meant that if you did
a prepend on a non M_PKTHDR the system would panic with
the KASSERT in MH_ALIGN. Instead we are not aware of
this and do a MH_ALIGN or M_ALIGN as appropriate.
Reviewed by: andre
Approved by: gnn
2006-12-21 19:58:04 +00:00
Ceri Davies
af0673c204
Correct the description of minpoll and maxpoll.
...
Note that while later versions of the ntpd documentation use the term
"dual logarithm", the text added here is consistent with the remainder
of the current document.
PR: docs/106926
Submitted by: Jeremy Chadwick
2006-12-21 19:08:25 +00:00
Ceri Davies
32ef7e9ba8
Remove duplicate "clear" subcommand.
...
PR: docs/106947
Submitted by: TAOKA Fumiyoshi
2006-12-21 18:30:23 +00:00
Alexander Leidinger
de6bf3bfcd
MFP4 (110956):
...
Add definition for LINUX_MSG_INFO.
This fixes the tinderbox errors.
Submitted by: rdivacky
2006-12-21 13:11:06 +00:00
Ruslan Ermilov
dce95037f4
Improve markup and do some minor wordsmithing.
2006-12-21 10:59:48 +00:00
Gleb Smirnoff
4b4ee018fa
Return value PKT_ALIAS_FOUND_HEADER_FRAGMENT isn't an error case. The
...
packet shouldn't be dropped.
Submitted by: Alexander Motin <mav alkar.net>
2006-12-21 10:26:01 +00:00
Robert Watson
e009ba461d
Minor style fixes.
2006-12-21 09:58:02 +00:00
Robert Watson
e66fe0e1db
Remove mac_enforce_subsystem debugging sysctls. Enforcement on
...
subsystems will be a property of policy modules, which may require
access control check entry points to be invoked even when not actively
enforcing (i.e., to track information flow without providing
protection).
Obtained from: TrustedBSD Project
Suggested by: Christopher dot Vance at sparta dot com
2006-12-21 09:51:34 +00:00
Marcel Moolenaar
94632b9fe1
Unbreak 64-bit little-endian systems that do require alignment.
...
The fix involves using le16dec(), le32dec(), le16enc() and
le32enc(). This eliminates invalid casts and duplicated logic.
2006-12-21 05:40:46 +00:00
Bjoern A. Zeeb
6f3914bcf4
ia64 is nit-picking according to tinderbox so temporary disconnect
...
the bridge module from the build until this is fixed.
2006-12-21 01:58:22 +00:00
Robert Watson
8425ae1208
Comment LABEL_TO_SLOT() macro, including observing that we'd like to improve
...
this policy API to avoid encoding struct label binary layout in policy
modules.
Obtained from: TrustedBSD Project
2006-12-20 23:41:59 +00:00
Robert Watson
19d0ec0330
Trim trailing white space, clean up comment line wrapping and formatting.
...
Document mac_associate_nfsd_label().
Obtained from: TrustedBSD Project
2006-12-20 23:18:17 +00:00
Robert Watson
27c24b4e88
Trim trailing white space.
2006-12-20 23:17:34 +00:00
Robert Watson
df3c68e479
Document socket labeling model.
...
Clean up comment white space and wrapping.
Obtained from: TrustedBSD Project
2006-12-20 23:16:41 +00:00
Robert Watson
1f00b646ec
Clean up comment white space and line wrapping.
2006-12-20 23:16:01 +00:00
Robert Watson
23c3d46ae8
Additional comments regarding the interaction between the kernel privilege
...
model and the MAC Framework.
Obtained from: TrustedBSD Project
2006-12-20 23:15:27 +00:00
Robert Watson
e678cce940
Document that we could allocate the mbuf label as part of the tag rather
...
than from the slab, but don't.
Document mac_mbuf_to_label(), mac_copy_mbuf_tag().
Clean up white space/wrapping for other comments.
Obtained from: TrustedBSD Project
2006-12-20 23:14:33 +00:00
Robert Watson
5c700f29d9
Staticize and comment zone_label.
...
Obtained from: TrustedBSD Project
2006-12-20 23:13:04 +00:00
Robert Watson
5c5a98199b
Clean up comments, trailing white space.
...
Provide a comment describing MAC_EXTERNALIZE().
Obtained from: TrustedBSD Project
2006-12-20 23:12:36 +00:00
Robert Watson
95c8c170f3
Re-wrap comment at 77 character columns.
2006-12-20 23:11:01 +00:00
Shteryana Shopova
fd0e516eda
Add a (disabled) configuration line to enable snmp_bridge(3) module.
...
Approved by: bz (mentor)
2006-12-20 22:10:34 +00:00
Shteryana Shopova
814c25f3ad
Connect the snmp_bridge(3) module to the build.
...
Approved by: bz (mentor)
2006-12-20 22:08:35 +00:00