opnsense-src/sys/fs
Jamie Gritton 76ca6f88da Place hostnames and similar information fully under the prison system.
The system hostname is now stored in prison0, and the global variable
"hostname" has been removed, as has the hostname_mtx mutex.  Jails may
have their own host information, or they may inherit it from the
parent/system.  The proper way to read the hostname is via
getcredhostname(), which will copy either the hostname associated with
the passed cred, or the system hostname if you pass NULL.  The system
hostname can still be accessed directly (and without locking) at
prison0.pr_host, but that should be avoided where possible.

The "similar information" referred to is domainname, hostid, and
hostuuid, which have also become prison parameters and had their
associated global variables removed.

Approved by:	bz (mentor)
2009-05-29 21:27:12 +00:00
..
cd9660 Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
coda Remove the thread argument from the FSD (File-System Dependent) parts of 2009-05-11 15:33:26 +00:00
deadfs Add a simple VOP_VPTOCNP implementation for deadfs which returns EBADF. 2008-12-12 00:59:36 +00:00
devfs Devfs replaces file ops vector with devfs-specific one in devfs_open(), 2009-05-15 19:23:05 +00:00
fdescfs Report all fdescfs vnodes as VCHR for stat(2). Fake the unique 2009-05-12 09:28:45 +00:00
fifofs Remove VOP_LEASE and supporting functions. This hasn't been used since 2009-04-10 10:52:19 +00:00
hpfs Remove the thread argument from the FSD (File-System Dependent) parts of 2009-05-11 15:33:26 +00:00
msdosfs Remove the thread argument from the FSD (File-System Dependent) parts of 2009-05-11 15:33:26 +00:00
nfs Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
nfsclient Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
nfsserver Fix the experimental nfs subsystem so that it builds with the 2009-05-26 22:21:53 +00:00
ntfs Remove the thread argument from the FSD (File-System Dependent) parts of 2009-05-11 15:33:26 +00:00
nullfs Remove the thread argument from the FSD (File-System Dependent) parts of 2009-05-11 15:33:26 +00:00
nwfs Eliminate the unnecessary clearing of a page's dirty bits from 2009-05-23 18:25:11 +00:00
portalfs Remove the thread argument from the FSD (File-System Dependent) parts of 2009-05-11 15:33:26 +00:00
procfs Add hierarchical jails. A jail may further virtualize its environment 2009-05-27 14:11:23 +00:00
pseudofs Use a temporary variable to avoid a duplicate strlen(). 2009-05-28 10:24:26 +00:00
smbfs Make *getpages()s' assertion on the state of each page's dirty bits 2009-05-28 18:11:09 +00:00
tmpfs Eliminate redundant setting of a page's valid bits and pointless clearing 2009-05-27 18:12:10 +00:00
udf Remove the thread argument from the FSD (File-System Dependent) parts of 2009-05-11 15:33:26 +00:00
unionfs Remove the thread argument from the FSD (File-System Dependent) parts of 2009-05-11 15:33:26 +00:00