summaryrefslogtreecommitdiffstats
path: root/sys/modules/procfs
Commit message (Collapse)AuthorAgeFilesLines
* Slightly change the semantics of vnode labels for MAC: rather thanrwatson2002-10-261-2/+0
| | | | | | | | | | | | | | | | | | | | | "refreshing" the label on the vnode before use, just get the label right from inception. For single-label file systems, set the label in the generic VFS getnewvnode() code; for multi-label file systems, leave the labeling up to the file system. With UFS1/2, this means reading the extended attribute during vfs_vget() as the inode is pulled off disk, rather than hitting the extended attributes frequently during operations later, improving performance. This also corrects sematics for shared vnode locks, which were not previously present in the system. This chances the cache coherrency properties WRT out-of-band access to label data, but in an acceptable form. With UFS1, there is a small race condition during automatic extended attribute start -- this is not present with UFS2, and occurs because EAs aren't available at vnode inception. We'll introduce a work around for this shortly. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Introduce support for Mandatory Access Control and extensiblerwatson2002-08-011-0/+2
| | | | | | | | | | | kernel access control. Modify procfs so that (when mounted multilabel) it exports process MAC labels as the vnode labels of procfs vnodes associated with processes. Approved by: des Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Move the pseudofs, procfs and linprocfs modules out from the fs directory.des2002-02-041-0/+29
| | | | | Keeping them there seemed like a good idea at the time, but it annoys bde and confuses people who do not understand how MODULES_OVERRIDE works.
* Pseudofsize procfs(5).des2001-12-041-22/+0
|
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileru2001-05-231-1/+1
| | | | | | | | | | | | | | | systems were repo-copied from sys/miscfs to sys/fs. - Renamed the following file systems and their modules: fdesc -> fdescfs, portal -> portalfs, union -> unionfs. - Renamed corresponding kernel options: FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS. - Install header files for the above file systems. - Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland Makefiles.
* Use a consistent style and one much closer to the rest of /usr/srcobrien2001-01-061-1/+2
|
* Add four missing source files.des2000-12-091-2/+12
|
* Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead ofpeter2000-05-271-1/+1
| | | | encoding the relative path.
* Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.peter2000-05-041-1/+1
| | | | | | | This means that the kernel can be totally self contained now and is not dependent on the last buildworld to update /usr/share/mk. This might also make it easier to build 5.x kernels on 4.0 boxes etc, assuming gensetdefs and config(8) are updated.
* Remove a whole bunch of "CFLAGS+= -DFSNAME" cruft. It hasn't beenpeter1999-12-121-3/+1
| | | | | | needed for ages, but keeps getting cut/pasted into new Makefiles. (Once apon a time it was used to activate mount arguments in <sys/mount.h>, but that was killed with extreme prejudice long ago)
* Bring these more into line with other modules that have .h files generatedpeter1999-12-121-2/+3
| | | | on the fly.
* Removed special rules for building and cleaning device interface filesbde1999-11-281-4/+0
| | | | | and empty options files. The rules are now generated automatically in bsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}).
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add procfs_rlimit.c so the kernel actually compiles.billf1999-05-041-3/+4
| | | | | | PR: kern/11497 Submitted by: Jos Backus <jos.backus@nl.origin-it.com> (misordered patch) Pointy Hat: phk, adrian
* Sample initial set of kld-ified modules. Not all have been completelypeter1998-10-161-4/+4
| | | | | | | converted yet. These are more of a starting point. This is NOT connected to the parent Makefile. OK'ed by jkh (who is ever so patiently waiting)
* A better solution to the rm_at_exit problem: Register the exit functionalex1998-07-271-2/+2
| | | | | | | | during first mount. Unregister the exit function at last unmount. Concept by: sef Reviewed by: sef Implemented by: alex
* Override the default VFS LKM dispatch functions so that a modulealex1998-07-251-2/+2
| | | | | unload function can be provided (this is necessary to unregister the at_exit handler).
* Added opt_vmpage.h to SRCS so that it actually gets created.bde1998-07-011-5/+5
|
* Leading whitespace in Makefile are TABS not spaces....sos1998-06-301-2/+2
|
* fix more of my breakage... :(jmg1998-06-301-1/+5
| | | | create opt_vmpage.h
* Back out opt_diagnostic.h changes.eivind1998-02-061-6/+2
|
* Make the LKMs handle DIAGNOSTIC as a new-style option.eivind1998-02-041-2/+6
|
* Revert $FreeBSD$ back to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Add new parts, kernel not booted in other caseache1996-06-181-3/+3
|
* Attempt to fix the procfs LKM after making some of the procfspeter1996-01-241-5/+3
| | | | code shared with ptrace and "standard" in the config.
* Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's morewollman1994-09-211-0/+13
work; ditto NFS and it's even more work.)
OpenPOWER on IntegriCloud