summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add punctuation which appears to have been accidentally removed incperciva2004-10-221-1/+1
| | | | revision 1.6.
* I'm surprised this one was not here yet.phk2004-10-221-0/+3
| | | | | | | To save you all a trip to CVSWEB: Experts have correctly predicted nine out of the last five recessions. -- Paul Samuelson, Nobel laureate in economics.
* Respect _BOOT flag.simokawa2004-10-222-6/+12
|
* Check _BOOT flag.simokawa2004-10-221-3/+3
|
* Respect RB_MULTIPLE flag.simokawa2004-10-221-0/+2
|
* - Add FireWire subclass and OHCI interface.simokawa2004-10-222-23/+75
| | | | | - Add some PCI BIOS function calls. (find_devclass, read_config, write_config)
* Add an annotation to the comment for sysv_ipc.c to indicate that therwatson2004-10-221-2/+6
| | | | | | MAC Framework doesn't require checks in ipcperm() because checks relating to System V IPC will be performed in individual IPC implementations.
* In osethostname(), don't need to call suser() directly asrwatson2004-10-221-4/+2
| | | | | userland_sysctl() will perform all necessary privilege checks for the caller.
* Expand comments on various sections of the MAC Framework Policy API,rwatson2004-10-222-8/+30
| | | | | | | | | as well as document the properties of the mac_policy_conf structure. Warn about the ABI risks in changing the structure without careful consideration. Obtained from: TrustedBSD Project Sponsored by: SPAWAR
* Replace direct reference to kdb_enter() with a DEBUGGER() macro thatrwatson2004-10-221-28/+34
| | | | | | | will call printf() if KDB isn't compiled into the kernel. Obtained from: TrustedBSD Project Sponsored by: SPAWAR
* Minor white space synchronization and line wrapping.rwatson2004-10-222-1/+3
|
* In the MAC label zone destructor, assert that the label is onlyrwatson2004-10-221-1/+3
| | | | destroyed in an initialized state.
* Remove extern declaration of mac_enforce_sysv, as it's not present inrwatson2004-10-221-1/+0
| | | | the CVS version of the MAC Framework.
* When MAC is enabled, warn if getnewvnode() is asked to produce a vnoderwatson2004-10-221-0/+2
| | | | | | without a mountpoint. In this scenario, there's no useful source for a label on the vnode, since we can't query the mountpoint for the labeling strategy or default label.
* Alas, poor SPECFS! -- I knew him, Horatio; A filesystem of infinitephk2004-10-225-630/+555
| | | | | | | | | | | jest, of most excellent fancy: he hath taught me lessons a thousand times; and now, how abhorred in my imagination it is! my gorge rises at it. Here were those hacks that I have curs'd I know not how oft. Where be your kludges now? your workarounds? your layering violations, that were wont to set the table on a roar? Move the skeleton of specfs into devfs where it now belongs and bury the rest.
* Add NO_BLUETOOTH and NO_AUTHPF variables. [1]blackend2004-10-221-1/+3
| | | | | | While I'm there use lowercase "yes" for consistency. Approved by: phk [1]
* Add b_bufobj to struct buf which eventually will eliminate the need for b_vp.phk2004-10-2215-178/+162
| | | | | | | | | | | | | | | | | | Initialize b_bufobj for all buffers. Make incore() and gbincore() take a bufobj instead of a vnode. Make inmem() local to vfs_bio.c Change a lot of VI_[UN]LOCK(bp->b_vp) to BO_[UN]LOCK(bp->b_bufobj) also VI_MTX() to BO_MTX(), Make buf_vlist_add() take a bufobj instead of a vnode. Eliminate other uses of bp->b_vp where bp->b_bufobj will do. Various minor polishing: remove "register", turn panic into KASSERT, use new function declarations, TAILQ_FOREACH_SAFE() etc.
* Sort NO* variables.blackend2004-10-221-21/+21
| | | | Approved by: phk
* Use bioq_takefirst()phk2004-10-222-8/+4
|
* removed compilation warningsuz2004-10-222-0/+2
| | | | PR: bin/71624
* Correct and clarify some very incorrect text.scottl2004-10-221-6/+6
|
* Seperate ia64 from the pack. The disc1 is overflowing to such extendmarcel2004-10-221-85/+96
| | | | | | | that most packages can not be included. It's much easier to list those that we do want on disc1 for ia64. We only need to list 11 of them. Apply proper indentation for better readability.
* Document the 21610SA card.scottl2004-10-221-0/+2
|
* Merge files peter takes off the vendor branchache2004-10-210-0/+0
|
* Fix some more files that got butchered to appear to be back on thepeter2004-10-213-110/+249
| | | | vendor branch again. (These will need a readline import merge too)
* Force these files back off the vendor branch. They should NEVER have beenpeter2004-10-215-69/+275
| | | | | | put back on there in the first place. :-( Note that complete.c will need a readline 5.0 merge.
* Add support for the 21610SA 16-channel SATA card. Thanks to Adaptec forscottl2004-10-211-0/+2
| | | | providing hardware for testing.
* Add KTR_GEOM, which allows tracing of basic GEOM I/O events occuringrwatson2004-10-212-1/+28
| | | | | | in the g_up and g_down threads. Each time a bio is propelled up and down the stack, an event is generating showing the provider, offset, and length, as well as thread wakeup and work status information.
* Move the VI_BWAIT flag into no bo_flag element of bufobj and call it BO_WWAITphk2004-10-2114-139/+138
| | | | | | | | | | Add bufobj_wref(), bufobj_wdrop() and bufobj_wwait() to handle the write count on a bufobj. Bufobj_wdrop() replaces vwakeup(). Use these functions all relevant places except in ffs_softdep.c where the use if interlocked_sleep() makes this impossible. Rename b_vnbufs to b_bobufs now that we touch all the relevant files anyway.
* Add BO_* macros parallel to VI_* macros for manipulating the bo_mtx.phk2004-10-213-8/+29
| | | | | | | | | Initialize the bo_mtx when we allocate a vnode i getnewvnode() For now we point to the vnodes interlock mutex, that retains the exact same locking sematics. Move v_numoutput from vnode to bufobj. Add renaming macro to postpone code sweep.
* Polish vtruncbuf() to improve readability and style a bit.phk2004-10-211-49/+42
|
* Remove NOLIBPTHREAD=yes since BIND related binaries (dig etc.) requireblackend2004-10-211-1/+0
| | | | | | LIBPTHREAD. Approved by: phk
* Simplify buf_vlist_remove().phk2004-10-211-34/+16
| | | | | Now that we have encapsulated the splaytree related information into a structure we can eliminate the half of this function.
* Forced commit to get the right commit message:phk2004-10-210-0/+0
| | | | | | | | | | | | | | | | | | | | | Add new include file <sys/bufobj.h> which will contain the gory details on the new buffer-cache object. (see comments in file about the direction this is moving). Include it from <sys/vnode.h> for now to avoid munging a lot of files which can later be munged back. Embed a bufobj in vnode. Move the buf splay trees from the vnode to the bufobj. Alias the fields to avoid sweeping code yet. Hide vnode and bufobj behind #if defined(_KERNEL) || defined(_KVM_VNODE) to discourage userland voyeurism.
* Add new function ttyinitmode() which sets our systemwide defaultphk2004-10-212-7/+89
| | | | | | | | | | | | | modes on a tty structure. Both the ".init" and the current settings are initialized allowing the function to be used both at attach and open time. The function takes an argument to decide if echoing should be enabled by default. Echoing should not be enabled for regular physical serial ports unless they are consoles, in which case they should be configured by ttyconsolemode() instead. Use the new function throughout.
* Add -D_KVM_VNODE to indicate that despite being a userland program,phk2004-10-211-0/+2
| | | | we want to know the vnode structures internals.
* We want to ignore BUS_DMASYNC_POSTWRITE, not BUS_DMASYNC_POSTREAD.cognet2004-10-211-1/+1
| | | | | Spotted out by: mux Pointy hat to: cognet
* Bump copyright dates for NETA on these files.rwatson2004-10-212-2/+2
|
* Remove unnecessary include of vnode.h.rwatson2004-10-211-1/+0
| | | | Requested by: phk
* Modify libugidfw(3) to use MBI_* permission flags from mac_bsdextended.hrwatson2004-10-211-13/+12
| | | | | | | instead of using the V* permission flags from vnode.h. Remove include of vnode.h. Requested by: phk
* Modify mac_bsdextended policy so that it defines its own vnode accessrwatson2004-10-212-33/+74
| | | | | | | | | | | right bits rather than piggy-backing on the V* rights defined in vnode.h. The mac_bsdextended bits are given the same values as the V* bits to make the new kernel module binary compatible with the old version of libugidfw that uses V* bits. This avoids leaking kernel API/ABI to user management tools, and in particular should remove the need for libugidfw to include vnode.h. Requested by: phk
* Pass WORLD_FLAGS down to the distributeworld target, so it'sru2004-10-211-1/+2
| | | | | | | possible to build releases with customizations such as with NOPROFILE. Problem found and fix tested by Roman Neuhauser.
* Decrease reference count if we won't use the thread, this avoids memorydavidxu2004-10-212-0/+8
| | | | leak under some cases.
* Zero terminate empty sting in kdb_sysctl_available.ups2004-10-211-0/+2
| | | | | Approved by: sam (mentor) MFC after: 1 week
* Bump the document date, s/filesystem/file system/ and add missing word.keramida2004-10-201-3/+3
| | | | Noticed by: ru
* Modify the vm object locking in do_sendfile() so that the containing objectalc2004-10-201-2/+3
| | | | | | | | | | is locked when vm_page_io_finish() is called on a page. This is to satisfy a new, post-RELENG_5 assertion in vm_page_io_finish(). (I am in the process of transitioning the responsibility for synchronizing access to various fields/flags on the page from the global page queues lock to the per-object lock.) Tripped over by: obrien@
* Introduce root_rw_mount as a new variable in defaults/rc.conf tokeramida2004-10-202-0/+14
| | | | | | | | | unbreak /etc/rc.d/root for diskless systems that get their root filesystem from a read-only NFS mount. PR: conf/72927 Submitted by: Ralf Wenk <RZ-FreeBSD1004@fh-karlsruhe.de> Reviewed by: brooks
* Fix a typo so that this compiles.jhb2004-10-201-1/+1
|
* Fix a typo so that this compiles again.jhb2004-10-201-1/+1
|
* -c flag (cache stats) was killed in rev. 1.68. Fix getopt(3) andmaxim2004-10-201-2/+2
| | | | | | usage() accordingly. Submitted by: Pawel Worach
OpenPOWER on IntegriCloud