summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
* Make firewire i386-only for now. It doesn't quite handle machines withjhb2002-11-063-8/+8
| | | | | 64-bit address spaces yet. Pointy hat to myself for sticking it in the MI NOTES file to begin with.
* Wrap ()'s around an argument before casting it to a void *. If thejhb2002-11-061-6/+6
| | | | | | argument is an expression you can end up casting part of it to void *. This resulted in bogus warnings about pointer arith using void *'s for the ep(4) driver.
* ed(4) uses kvtop() and is thus i386-only. It has several other warningsjhb2002-11-063-10/+10
| | | | | | | related to sizeof(int) != sizeof(void *), but kvtop() is much harder to fix. Approved by: imp
* Move the drm code to the i386 MD NOTES file. It can be added to other MDjhb2002-11-062-20/+20
| | | | | NOTES files if desired, but this code is not MI on FreeBSD. The Alpha support is Linux specific and does not compile on FreeBSD.
* Packed structures are defined differently in older gcc's, like the onejoe2002-11-062-4/+4
| | | | | currently in -stable. Put the exception into usb.h instead of having it hard coded in the sound code.
* Use bus_addr_t instead of u_int32_t in functions to convert betweenjhb2002-11-061-3/+3
| | | | physical and virtual addresses.
* Move digi to the i386 MD NOTES until it stops using inb() and outb().jhb2002-11-062-13/+13
| | | | Please use bus_space functions instead.
* - Move comments regarding flags for dgb(4) over to the MD NOTES file wherejhb2002-11-062-12/+11
| | | | | | dgb(4) lives. - Move dgb(4) back to where it used to be relative to other drives in the old NOTES/LINT file.
* dgb(4) currently is i386-only.jhb2002-11-062-1/+1
|
* Use the explicit value 0xffffffff instead of assuming that is what ~0ULjhb2002-11-061-1/+1
| | | | | | equals. Approved by: imp
* Add some band-aid casts to quiet warnings. This driver still assumesjhb2002-11-061-1/+1
| | | | | that sizeof(int) == sizeof(void *) == 4. However, it also seems that the hardware assumes this.
* More int != pointer stuff.jhb2002-11-061-2/+3
|
* Straighten up the geom.ctl config interface definitions.phk2002-11-064-46/+84
| | | | Sponsored by: DARPA & NAI Labs
* Repeat after me: sizeof(int) != sizeof(void *).jhb2002-11-061-1/+1
|
* Use some long long casts to quiet warnings in debug printf's on alpha.jhb2002-11-062-2/+3
|
* Use a bandaid to fix a warning. However, this driver is very, very farjhb2002-11-061-1/+1
| | | | | | | | | from being MI in any fashion. It currently "assumes" that it can get a kernel virtual address for a phyiscal address by adding KERNBASE to the physical address. It also tries to read values out of a the PC BIOS on all archs. It also uses "manual" inb() and outb()'s to talk to the mcclock device which just happens to be at that location on both i386 and alpha. This driver should likely be i386-only.
* Make the ar(4) driver i386-only for now. It has lots of sizeof(int) ==jhb2002-11-064-9/+9
| | | | | | | sizeof(void *) assumptions and doesn't use busdma yet (it uses kvtop() which is not an MI interface). Recommended by: jake, mux
* Fix warning where sizeof(size_t) != sizeof(int).jhb2002-11-061-1/+1
|
* In the !DEBUG case, we were passing foo.ko two times on themux2002-11-061-1/+5
| | | | | | rm -f command line when doing a make clean. Fix this. Reviewed by: ru
* Add support for DEVICE_POLLING.simokawa2002-11-062-0/+79
| | | | | | PR: kern/44772 Submitted by: Takashi Oono <takashi@yha.att.ne.jp> MFC after: 1 week
* Minor clean up on cdb handling.simokawa2002-11-061-8/+7
|
* Remove what was a temporary bogus assignment of bits of siginfo_t, as it doesjmallett2002-11-069-28/+0
| | | | | | not look like the prerequisites to fill it in properly will be in the tree for the upcoming release, but it's mostly done, so there is no need for these to stay around to remind us.
* There's no need for a locally defined usb_proc_t when we've gotjoe2002-11-061-10/+3
| | | | usb_proc_ptr that does the same thing.
* Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc.nyan2002-11-0621-59/+4
|
* Include "../Makefile.inc".nyan2002-11-0611-0/+32
|
* Whitespace, style fixes.mdodd2002-11-063-438/+375
|
* Define UMA_MD_SMALL_ALLOC so that we can allocate memory with regionmarcel2002-11-062-16/+38
| | | | | | 7 addresses for use by page tables and kernel stacks. Obtained from: peter
* - Let the PCI code try to route interrupt in -currentsimokawa2002-11-061-1/+5
| | | | - Print warning in -stable.
* Reserve a major number for the mdsio driver: RS-485 driver for 8250-familyrwatson2002-11-061-0/+1
| | | | | | UARTs. Requested by: doconnor@gsoft.com.au
* Spotted a couple of places where the socket buffer's counters were beingkbyanc2002-11-052-0/+8
| | | | | | | manipulated directly (rather than using sballoc()/sbfree()); update them to tweak the new sb_ctl field too. Sponsored by: NTT Multimedia Communications Labs
* Fix filt_soread() to properly flag a kevent when a 0-byte datagram iskbyanc2002-11-051-1/+1
| | | | | | | received. Verified by: dougb, Manfred Antar <null@pozo.com> Sponsored by: NTT Multimedia Communications Labs
* Correct merge-o: disable the right execve() variation if !MACrwatson2002-11-051-4/+4
|
* Update policy modules for changes in arguments associated with supportrwatson2002-11-056-12/+18
| | | | | for label access on the interpreter, not just the shell script. No policies currently present in the system rely on the new labels.
* Bring in two sets of changes:rwatson2002-11-0516-76/+617
| | | | | | | | | | | | | | | | | | | | | | (1) Permit userland applications to request a change of label atomic with an execve() via mac_execve(). This is required for the SEBSD port of SELinux/FLASK. Attempts to invoke this without MAC compiled in result in ENOSYS, as with all other MAC system calls. Complexity, if desired, is present in policy modules, rather than the framework. (2) Permit policies to have access to both the label of the vnode being executed as well as the interpreter if it's a shell script or related UNIX nonsense. Because we can't hold both vnode locks at the same time, cache the interpreter label. SEBSD relies on this because it supports secure transitioning via shell script executables. Other policies might want to take both labels into account during an integrity or confidentiality decision at execve()-time. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Regen.rwatson2002-11-055-7/+16
|
* Flesh out the definition of __mac_execve(): per earlier discussion,rwatson2002-11-051-1/+2
| | | | | | | | it's essentially execve() with an optional MAC label argument. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Since neither the Biba policy nor the MLS policy make use ofrwatson2002-11-052-46/+0
| | | | | | | transitioning, remove their transition entry points. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Grab 181 for HP/Compaq ProLiant advanced server management driverpeter2002-11-051-0/+1
|
* Assert that appropriate vnodes are locked in mac_execve_will_transition().rwatson2002-11-059-0/+72
| | | | | | | | Allow transitioning to be twiddled off using the process and fs enforcement flags, although at some point this should probably be its own flag. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Hook up the mac_will_execve_transition() and mac_execve_transition()rwatson2002-11-051-0/+15
| | | | | | | | | | | | | | | | | entrypoints, #ifdef MAC. The supporting logic already existed in kern_mac.c, so no change there. This permits MAC policies to cause a process label change as the result of executing a binary -- typically, as a result of executing a specially labeled binary. For example, the SEBSD port of SELinux/FLASK uses this functionality to implement TE type transitions on processes using transitioning binaries, in a manner similar to setuid. Policies not implementing a notion of transition (all the ones in the tree right now) require no changes, since the old label data is copied to the new label via mac_create_cred() even if a transition does occur. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Typo in comment: commmand -> commandkeramida2002-11-051-1/+1
| | | | Reviewed by: jhb
* Wrap function prototype declarations in __BEGIN_DECLS to do the right thingjmallett2002-11-051-0/+4
| | | | | | | | | with them in non-C cases, outside of the kernel. Include <sys/cdefs.h> for __BEGIN_DECLS/__END_DECLS as other headers seem to do in this area. Requested by: Patrick Hartling <patrick@137.org>
* Remove undefined variable.mdodd2002-11-051-1/+1
| | | | Somehow this didn't make it in the last commits.
* Style/whitespace changes.mdodd2002-11-051-82/+78
|
* Fix for GEOM.mdodd2002-11-052-56/+11
| | | | Tested on: i386
* - Convert to newbus, bus_space etc.mdodd2002-11-0512-2101/+605
| | | | | | - Move to MI space. Tested on: i386
* o Remove devices that are commented out.marcel2002-11-051-10/+4
| | | | | | o Enable sc o Remove NO_GEOM. We need GEOM for GPT. o Remove NO_CPU_COPTFLAGS.
* Remove mcclock. It's an Alpha left-over.marcel2002-11-051-2/+0
|
* Fix typo. ioport_rid should be irq_rid.davidxu2002-11-053-3/+3
|
* Sony CXD3222 OHCI i.LINK chips needs more DELAY before starting SCLKsimokawa2002-11-051-1/+1
| | | | when no devices are connected.
OpenPOWER on IntegriCloud