summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Put function return types on a line by themselves.alfred2002-10-1420-83/+123
| | | | | Cleanup my earlier de-__P sweep and remove whitespace between function names and paramters.
* LINT related fixes (as noticed by bde)mjacob2002-10-141-6/+6
|
* Remove a bogus local variable.phk2002-10-141-2/+0
| | | | Sponsored by: DARPA & NAI Labs.
* Remove a KASSERT I added in 1.73 to catch uninitialized pipes.alfred2002-10-141-2/+0
| | | | | | | | | | | | It must be removed because it is done without the pipe being locked via pipelock() and therefore is vulnerable to races with pipespace() erroneously triggering it by temporarily zero'ing out the structure backing the pipe. It looks as if this assertion is not needed because all manipulation of the data changed by pipespace() _is_ protected by pipelock(). Reported by: kris, mckusick
* o Add typedefs for gid_t, key_t, mode_t, and uid_t.mike2002-10-141-4/+30
| | | | | | o Add comment about ipc_perm's members. o Add some visibility conditionals for non-standard extentions. o Remove a comment about ftok() not belonging.
* Did you ever notice how stupid bugs show up much clearerjulian2002-10-141-1/+1
| | | | when you see them in a commit message?
* Tidy up the scheduler's code for changing the priority of a thread.julian2002-10-145-58/+65
| | | | Logically pretty much a NOP.
* Remove old useless debugging codejulian2002-10-141-5/+0
|
* Moved geom class initialization to SI_SUB_DRIVERS from SI_SUB_PSEUDO.jake2002-10-141-1/+1
| | | | This fixes mounting root from md(4) which calls disk_create() early.
* Fix two memory leaks in error conditions involving the UFS ACL code:rwatson2002-10-141-0/+4
| | | | | | | | if failures occur, make sure that we release both the default ACL and access ACL storage during new object creation. Spotted by: phk and his pet flexelint Sponsored by: DARPA, Network Associates Laboratories
* When scanning the freelist looking for candidate vnodes to recycle,mckusick2002-10-141-4/+3
| | | | | | | | | be sure to exit the loop with vp == NULL if no candidates are found. Formerly, this bug would cause the last vnode inspected to be used, even if it was not available. The result was a panic "vn_finished_write: neg cnt". Sponsored by: DARPA & NAI Labs.
* Unconditionally reset vp->v_vnlock back to the default in themckusick2002-10-141-1/+3
| | | | | | | | | | vclean() function (e.g., vp->v_vnlock = &vp->v_lock) rather than requiring filesystems that use alternate locks to do so in their vop_reclaim functions. This change is a further cleanup of the vop_stdlock interface. Submitted by: Poul-Henning Kamp <phk@critter.freebsd.dk> Sponsored by: DARPA & NAI Labs.
* Add a knob to turn on and off the CMPXCHG instruction on > i386 IA32 systems.pirzyk2002-10-144-2/+8
| | | | | | | This is most beneficial for vmware client os installs. Reviewed by: jmallet, iedowse, tlambert2@mindspring.com MFC After: never, -STABLE does not currently use this instruction
* Allow firewire, sbp (SCSI over firewire), and fwe (non-standard rawjhb2002-10-142-0/+13
| | | | | ethernet over firewire) to be statically compiled into the kernel as devices.
* - Remove unused opt_foo.h headers.jhb2002-10-143-20/+6
| | | | | - Don't mess with CFLAGS. - Fix description of fwe module Makefile.
* This file doesn't need opt_bus.h.jhb2002-10-141-2/+0
|
* Define MNT_ACLS, which can report on the status of the FS_ACLS flagrwatson2002-10-141-3/+3
| | | | | | | | | | used by UFS to administratively enable support for extended ACLs. While I'm here, remove MNT_MULTILABEL from the list of file system flags we permit to be updated after the initial mount. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Define two new superblock file system flags:rwatson2002-10-141-0/+10
| | | | | | | | | | | FS_ACLS Administrative enable/disable of extended ACL support FS_MULTILABEL Administrative flag to indicate to the MAC Framework that objects in the file system are individually labeled using extended attributes. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Reviewed by: (in principal) mckusick, phk
* style(9)mike2002-10-141-28/+29
| | | | Submitted by: bde (partially)
* Populate more fields of the disklabel for PC98.phk2002-10-141-0/+2
| | | | Submitted by: Kawanobe Koh <kawanobe@st.rim.or.jp>
* 1) Although C99 allows implementations to define additional SIG*mike2002-10-141-18/+40
| | | | | | | | | | | | constants in scope, C90 does not; so, add namespace visibility conditionals to SIG*. 2) Define the extended __sighandler_t type only in BSD namespace. 3) Don't forward declare a struct for a prototype in <signal.h>. 4) Move location of SIG_* constants. 5) Move a forward declare into the correct namespace conditional. Requested by: bde (1) Submitted by: bde (2 thru 5)
* MFi386: revision 1.9.nyan2002-10-141-5/+0
|
* Fix support for the ALi M5451 (rev 0.2) chip.cognet2002-10-141-5/+47
| | | | | | Reviewed by: orion, mux Approved by: mux (mentor) MFC after: 1 week
* Don't panic when we can just return an error code.phk2002-10-141-2/+6
|
* The ep and pccard modules build on pc98.nyan2002-10-141-0/+2
|
* Merged from sys/dev/sio/sio.c revision 1.382.nyan2002-10-142-2/+2
|
* Implement the GEOMCONFIGGEOM ioctl which can be used to manually createphk2002-10-143-41/+168
| | | | | | and configure an instance of a class on a give provider. Sponsored by: DARPA & NAI Labs
* Add more KASSERTS.phk2002-10-142-2/+8
| | | | Sponsored by: DARPA & NAI Labs.
* Allow kernel dumps to be aborted with ctrl-C.marcel2002-10-141-3/+14
|
* Unconditionally restore the pointer to the saved Ethernet header aftercjc2002-10-141-4/+1
| | | | | | | | going to bridge.c:bdg_forward(). The header can be munged even if the mbuf does not /appear/ to change. PR: kern/42465 MFC after: 4 days
* Regularize the vop_stdlock'ing protocol across all the filesystemsmckusick2002-10-1433-158/+30
| | | | | | | | | | | | | | | | | | | | that use it. Specifically, vop_stdlock uses the lock pointed to by vp->v_vnlock. By default, getnewvnode sets up vp->v_vnlock to reference vp->v_lock. Filesystems that wish to use the default do not need to allocate a lock at the front of their node structure (as some still did) or do a lockinit. They can simply start using vn_lock/VOP_UNLOCK. Filesystems that wish to manage their own locks, but still use the vop_stdlock functions (such as nullfs) can simply replace vp->v_vnlock with a pointer to the lock that they wish to have used for the vnode. Such filesystems are responsible for setting the vp->v_vnlock back to the default in their vop_reclaim routine (e.g., vp->v_vnlock = &vp->v_lock). In theory, this set of changes cleans up the existing filesystem lock interface and should have no function change to the existing locking scheme. Sponsored by: DARPA & NAI Labs.
* o Comment out the symbol download code for 4.x.imp2002-10-144-6/+42
| | | | | o Add hooks for doing power management of the output signal. o Minor hacks to make flexlint happy wrt staticness of functions.
* Eliminate the unnecessary clearing of flag bits that are already clearalc2002-10-141-4/+1
| | | | in lio_listio(2).
* Add in the GEOM control module.phk2002-10-131-0/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Add the outline of the "/dev/geom.ctl" handling code.phk2002-10-132-1/+201
| | | | Sponsored by: DARPA & NAI Labs.
* Compile in support for zipfs and bzipfs so we can load the gzipped mfsrootjake2002-10-132-0/+14
| | | | that releases use.
* Connect trm(4) to the build.cognet2002-10-134-0/+16
| | | | | Reviewed by: mux (mentor) Approved by: mux (mentor)
* Give GEOM modules a chance to specify their own init routine, in case theyphk2002-10-131-1/+4
| | | | | | have special requirements. Sponsored by: DARPA & NAI Labs.
* Import of the trm(4) driver (for Tekram DC395U/UW/F and DC315U SCSI adapters).cognet2002-10-132-0/+4352
| | | | | Reviewed by: mux, scottl Approved by: mux, scottl
* MODINFO_SIZE metadata has type size_t, not unsigned. This makes preloadedjake2002-10-131-1/+1
| | | | md root work on sparc64.
* Correctly account for MAXPARTITIONS in the CTASSERT() which protects thephk2002-10-131-1/+1
| | | | | | size of the disklabel structure. Hit by: schweikh
* Remove the P1003_1B kernel option; it is no longer used.mike2002-10-1311-21/+9
|
* - Remove a useless initialization for 'ronly', if it hadn't beenmux2002-10-131-2/+2
| | | | | there, we would have noticed that 'ronly' was uninitialized :-). - Kill a nearby 'register' keyword.
* Pass flags to VOP_CLOSE() corresponding to what was passed to VOP_OPEN().phk2002-10-131-0/+1
| | | | Submitted by: "Peter Edwards" <pmedwards@eircom.net>
* struct ia64_fpreg needs to be available outside of the kernel formike2002-10-131-2/+4
| | | | | | struct sigcontext. Pointy hat to: mike
* Remove <sys/_posix.h>; nothing uses it anymore.mike2002-10-131-84/+0
|
* Remove _KPOSIX_VERSION as a kernel option, nothing uses this any more.mike2002-10-133-10/+0
|
* Update a sysctl to use _POSIX_VERSION from <sys/unistd.h>, instead ofmike2002-10-131-2/+2
| | | | the kernel option _KPOSIX_VERSION.
* Move the _POSIX_VERSION constant from <unistd.h> to <sys/unistd.h>, somike2002-10-131-0/+3
| | | | that it can be used in-kernel for a sysctl.
* #ifdef _KERNEL not #if _KERNEL.mike2002-10-131-1/+1
| | | | Pointy hat to: mike
OpenPOWER on IntegriCloud