summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo.delphij2009-01-121-1/+1
| | | | | Submitted by: Ben Kaduk <minimarmot gmail com> MFC after: 3 days
* Some early Macintosh GPIO controllers don't provide reg properties fornwhitehorn2009-01-121-10/+27
| | | | | | | interrupt-only GPIOs. Honor this, and allow interrupt attachment, but not read/write access for such devices. Reported by: Niels Eliasen
* - improve readabilitydanger2009-01-111-8/+12
| | | | | Reviewed by: trhodes, keramida MFC after: 3 days
* Quote the "u" as it's the name of the union, this may preventtrhodes2009-01-111-1/+1
| | | | | | | | some confusion when reading the manual page. PR: 117798 Discussed with: keramida, brueffer Recommended by: phk
* Since we allow conditional allocation of labels on syncache entries,rwatson2009-01-111-2/+0
| | | | remove historic assertion that labels are always present.
* Remove unneeded includes.thompsa2009-01-113-3/+0
|
* add missing return that broke WPA1+2 supportsam2009-01-111-0/+1
| | | | Submitted by: "Jared Go" <jared@hobnob.com>
* Add a short section talking about jails and file systems; mention thebz2009-01-111-1/+26
| | | | | | | | mountand jail-aware file systems as well as quota. PR: kern/68192 Reviewed by: simon MFC after: 2 weeks
* Fix msdosfs_print(), which in turn fixes "show lockedvnods" for msdosfstrasz2009-01-111-0/+1
| | | | | | | | vnodes. Reviewed by: kib Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
* Use full name (noticed by: ru@chinsan2009-01-111-1/+1
|
* Prevent a panic that happens on SMP machines when removing a disk withtrasz2009-01-111-1/+11
| | | | | | | | many writes queued up. Reviewed by: phk, scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
* Fix unwanted crosschannel mixing, possible on some codecs likemav2009-01-111-4/+8
| | | | VIA VT1708B and Realtek ALC268.
* o Tweak comments a bit.maxim2009-01-111-2/+2
|
* Do invoke mac_ifnet_check_transmit() and mac_ifnet_create_mbuf()rwatson2009-01-101-0/+18
| | | | | | | | | | | | | | in the loopback and synthetic loopback code so that packets are access control checked and relabeled. Previously, the MAC Framework enforced that packets sent over the loopback weren't relabeled, but this will allow policies to make explicit choices about how and whether to relabel packets on the loopback. Also, for SIMPLEX devices, this produces more consistent behavior for looped back packets to the local MAC address by labeling those packets as coming from the interface. Discussed with: csjp Obtained from: TrustedBSD Project
* Fix usage() with SYNOPSIS.ru2009-01-101-5/+6
|
* Fix markup and spelling.ru2009-01-101-4/+7
|
* OSS tools expect EINVAL for unsupported ioctls, but not ENXIO.mav2009-01-101-3/+2
|
* Explicitly check each mount argv building assignment for buffer over flowing.obrien2009-01-101-28/+34
| | | | Reviewed by: imp (earlier version of patch)
* Make devnode include full device path.mav2009-01-101-1/+2
| | | | This makes OSSv4 osstest tool work.
* Remove debug slipped with the previous commit.mav2009-01-101-1/+0
|
* Import some new constants and structures fields from OSSv4.mav2009-01-105-44/+161
| | | | | Implement some OSSv4 ioctls to make ossinfo tool work and print something reasonable.
* Don't call destroy_dev(9) with a mutex held. While here, shuffletrasz2009-01-106-18/+20
| | | | | | | | | | things around so the periph destructors look alike. Based on a patch by Jaakko Heinonen. Submitted by: Jaakko Heinonen Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
* Add the possibility to specify "-o force" with "mdconfig -du".trasz2009-01-103-3/+16
| | | | | | Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
* Correct description for the Marvell 88SE6101.kib2009-01-101-1/+1
| | | | | Submitted by: Andriy Gapon <avg icyb net ua> MFC after: 3 days
* Add one more bunch of controller and codec IDs.mav2009-01-101-2/+77
|
* A bit of rewording for clarity, taken from OpenBSD.trhodes2009-01-101-9/+26
| | | | Submitted by: jmc@OpenBSD.org
* Fix crash with "netstat -m -N foo".ru2009-01-101-1/+1
| | | | | PR: bin/124724 MFC after: 3 days
* Rather than having MAC policies explicitly declare what object typesrwatson2009-01-1014-153/+88
| | | | | | | | | | | | | | they label, derive that information implicitly from the set of label initializers in their policy operations set. This avoids a possible class of programmer errors, while retaining the structure that allows us to avoid allocating labels for objects that don't need them. As before, we regenerate a global mask of labeled objects each time a policy is loaded or unloaded, stored in mac_labeled. Discussed with: csjp Suggested by: Jacques Vidrine <nectar at apple.com> Obtained from: TrustedBSD Project Sponsored by: Apple, Inc.
* Use MPC_OBJECT_IP6Q to indicate labeling of struct ip6q rather thanrwatson2009-01-106-1/+6
| | | | | | | MPC_OBJECT_IPQ; it was already defined, just not used. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc.
* Rather than using the cred from curthread, take it from the threadbz2009-01-091-5/+5
| | | | | | | referenced in the sysctl req argument. Reviewed by: rwatson MFC after: 2 weeks
* remove license ack requirement; this was never neededsam2009-01-091-1/+0
| | | | Reviewed by: core
* Fix a deadlock which can occur due to a pseudofs vnode not getting unlocked.marcus2009-01-091-0/+1
| | | | | | Reported by: Richard Todd <rmtodd@ichotolot.servalan.com> Reviewed by: kib Approved by: kib
* Restrict arp, ndp and theoretically the FIB listing (if notbz2009-01-093-2/+20
| | | | | | | | | | | | | | | | | read with libkvm) to the addresses of a prison, when inside a jail. [1] As the patch from the PR was pre-'new-arp', add checks to the llt_dump handlers as well. While touching RTM_GET in route_output(), consistently use curthread credentials rather than the creds from the socket there. [2] PR: kern/68189 Submitted by: Mark Delany <sxcg2-fuwxj@qmda.emu.st> [1] Discussed with: rwatson [2] Reviewed by: rwatson MFC after: 4 weeks
* example configurations for cross-building to Gateworks 2348 and 2358 boards;sam2009-01-099-0/+773
| | | | | | probably needs cleanups to be less specific to my needs/uses MFC after: 2 weeks
* Recognize et(4), igb(4), iwn(4), ixgbe(4) and nxge(4) devices.brueffer2009-01-091-1/+6
| | | | | | | | Correct some minor whitespace in the ae(4) entry. Reported by: Mars G Miro Approved by: rwatson (mentor) MFC after: 1 week
* Fix fat-fingered comment.adrian2009-01-091-1/+1
| | | | Noticed-by: julian
* Fix indentation; add FALLTHROUGH.adrian2009-01-091-3/+4
| | | | Thanks Max!
* Better comment what the socket option does. Thanks to Sam Leffleradrian2009-01-091-1/+2
| | | | for suggesting this.
* Comment some potentially confusing logic.adrian2009-01-091-0/+5
| | | | | | Nitpicking by: mlaier MFC after: 2 weeks
* Sort MLINKS.ru2009-01-091-21/+32
|
* Take the cred from curthread rather than curproc as curproc would needbz2009-01-091-3/+3
| | | | | | | locking but the credential from curthread (usually) never changes. Discussed with: jhb MFC after: 2 weeks
* Implement a new IP option (not compiled/enabled by default) to allowadrian2009-01-096-1/+37
| | | | | | | | | | | | | | | | | | | | | | applications to specify a non-local IP address when bind()'ing a socket to a local endpoint. This allows applications to spoof the client IP address of connections if (obviously!) they somehow are able to receive the traffic normally destined to said clients. This patch doesn't include any changes to ipfw or the bridging code to redirect the client traffic through the PCB checks so TCP gets a shot at it. The normal behaviour is that packets with a non-local destination IP address are not handled locally. This can be dealth with some IPFW hackery; modifications to IPFW to make this less hacky will occur in subsequent commmits. Thanks to Julian Elischer and others at Ironport. This work was approved and donated before Cisco acquired them. Obtained from: Julian Elischer and others MFC after: 2 weeks
* DEBUG_REDZONE needs DDB which needs KDB.brueffer2009-01-091-1/+3
| | | | | | PR: 130324 Submitted by: Jaakko Heinonen <jh@saunalahti.fi> MFC after: 3 days
* Make SIOCGIFADDR and related, as well as SIOCGIFADDR_IN6 and relatedbz2009-01-092-1/+13
| | | | | | | | | | | | | | | | jail-aware. Up to now we returned the first address of the interface for SIOCGIFADDR w/o an ifr_addr in the query. This caused problems for programs querying for an address but running inside a jail, as the address returned usually did not belong to the jail. Like for v6, if there was an ifr_addr given on v4, you could probe for more addresses on the interfaces that you were not allowed to see from inside a jail. Return an error (EADDRNOTAVAIL) in that case now unless the address is on the given interface and valid for the jail. PR: kern/114325 Reviewed by: rwatson MFC after: 4 weeks
* Check PCIE link status before accessing the bus.raj2009-01-091-0/+3
| | | | | Some 88F5182-based systems (Linkstation) have problems when PCIE is accessed without any peripherals present.
* Merge from vendor/bind9/dist as of the 9.4.3-P1 importdougb2009-01-096-12/+19
|
* Remove reference to no longer existing document.phk2009-01-091-5/+0
| | | | Spotted by: Bjoern Voigt <bjoern@cs.tu-berlin.de>
* Set a minimum of information in the routing message (like version and type)harti2009-01-091-0/+4
| | | | | so that generic routing message parsing code can parse the messages for L2 info that are retrieved via the sysctl interface.
* Rename Marvell ARM CPU specific file according to r186933.raj2009-01-093-2/+2
|
* Fix confusing naming of Marvell ARM CPU specific routines.raj2009-01-094-52/+52
| | | | | | | | | | - The contents of 'feroceon_cpufuncs' dispatch table was really dedicated for the new Sheeva CPU (in 88F6xxx and MV-78xxx SOCs), and NOT Feroceon. - Feroceon CPU (in 88F5xxx SOCs) appears as a regular ARM926EJ-S core and does not require dedicated routines. This will be accompanied by a file rename commit.
OpenPOWER on IntegriCloud