opnsense-src/sys/geom
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
..
bde Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
cache Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
concat Check return value of gctl_get_asciiparam(). 2009-05-12 16:59:50 +00:00
eli Detach GELI providers on shutdown/reboot, which will allow providers underneath 2009-03-16 19:31:08 +00:00
gate Bump copyright year. 2006-09-08 10:20:44 +00:00
journal Remove the thread argument from the FSD (File-System Dependent) parts of 2009-05-11 15:33:26 +00:00
label Create GEOM labels from UFS IDs, e.g. /dev/ufsid/49c97b1faa2adc43. UFS IDs 2009-03-25 20:38:57 +00:00
linux_lvm Add a geom class to map Linux LVM logical volumes. 2008-02-20 07:45:36 +00:00
mirror Revert r190676,190677 2009-04-10 04:08:34 +00:00
multipath Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
nop Remove trailing spaces. 2006-09-30 08:16:49 +00:00
part Precision '*' expects an int and strlen() returns a size_t. 2009-04-16 05:52:47 +00:00
raid3 Revert r190676,190677 2009-04-10 04:08:34 +00:00
shsec Add BIO_FLUSH support to GSHSEC class. 2006-11-01 12:30:51 +00:00
stripe Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
uzip If compressed length is zero, return a zero-filled block. 2007-04-24 06:30:06 +00:00
vinum Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
virstor Avoid NULL deference. 2008-06-30 15:21:42 +00:00
zero
geom.h Revert r190676,190677 2009-04-10 04:08:34 +00:00
geom_aes.c
geom_bsd.c Trivial patch to show on which geom has the error been detected. 2008-12-01 15:02:00 +00:00
geom_bsd_enc.c Decode as many or as few partition entries as the label claims there 2007-12-09 22:44:22 +00:00
geom_ccd.c - Fix a potential NULL pointer reference. Note that this should not happen in 2008-11-25 20:28:33 +00:00
geom_ctl.c Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
geom_ctl.h
geom_dev.c Provide compatibility symlink for logical partitions: 2009-02-20 04:48:40 +00:00
geom_disk.c Revert r190676,190677 2009-04-10 04:08:34 +00:00
geom_disk.h Revert r190676,190677 2009-04-10 04:08:34 +00:00
geom_dump.c
geom_event.c When orphaning a provider, cancel events related to it. 2007-09-27 20:18:34 +00:00
geom_fox.c
geom_int.h
geom_io.c Just a fixup for a KTRACE message I stumbled upon many moons ago. 2008-09-18 15:02:19 +00:00
geom_kern.c Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
geom_mbr.c
geom_mbr_enc.c
geom_pc98.c
geom_pc98_enc.c
geom_redboot.c o disallow write to RedBoot and FIS directory partitions; these are painful 2009-03-11 01:12:52 +00:00
geom_slice.c Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
geom_slice.h Allow to use g_slice_orphan() from outside. 2006-02-18 11:21:17 +00:00
geom_subr.c - Unbreak 64 bit platforms by casting off_t to intmax. 2009-05-26 14:15:06 +00:00
geom_sunlabel.c
geom_sunlabel_enc.c
geom_vfs.c Prevent a panic that happens on SMP machines when removing a disk with 2009-01-11 13:51:04 +00:00
geom_vfs.h Remove the struct thread unuseful argument from bufobj interface. 2008-10-10 21:23:50 +00:00
geom_vol_ffs.c
notes