freebsd-dev/sys/i386/ibcs2
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
..
coff.h
ibcs2_dirent.h
ibcs2_errno.c
ibcs2_errno.h
ibcs2_fcntl.c Add the new kernel-mode NFS Lock Manager. To use it instead of the 2008-03-26 15:23:12 +00:00
ibcs2_fcntl.h
ibcs2_ioctl.c Burn TTY ioctl bridges in compat layers. 2009-05-08 20:06:37 +00:00
ibcs2_ioctl.h
ibcs2_ipc.c - Split the IBCS2 ipc foosys() system calls up into subfunctions matching 2006-07-08 19:54:12 +00:00
ibcs2_ipc.h Use ibsc2_key_t rather than key_t. 2006-07-08 19:52:49 +00:00
ibcs2_isc_syscall.h Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
ibcs2_isc_sysent.c Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
ibcs2_isc.c Now that all system calls are MPSAFE, retire the SYF_MPSAFE flag used to 2006-07-28 19:05:28 +00:00
ibcs2_misc.c Use shared vnode locks when invoking VOP_READDIR(). 2009-02-13 18:18:14 +00:00
ibcs2_mount.h
ibcs2_msg.c
ibcs2_other.c Use kern_connect() in spx_open() to avoid the need for the stackgap. I 2006-07-08 20:05:04 +00:00
ibcs2_proto.h Regenerate ibcs2 system call table. 2009-05-08 20:08:43 +00:00
ibcs2_signal.c
ibcs2_signal.h
ibcs2_socksys.c Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
ibcs2_socksys.h
ibcs2_stat.c
ibcs2_stat.h
ibcs2_statfs.h
ibcs2_stropts.h
ibcs2_syscall.h Regenerate ibcs2 system call table. 2009-05-08 20:08:43 +00:00
ibcs2_sysent.c Regenerate ibcs2 system call table. 2009-05-08 20:08:43 +00:00
ibcs2_sysi86.c FreeBSD/i386 doesn't include a software FPU emulator anymore, so adjust 2009-02-23 15:38:35 +00:00
ibcs2_sysvec.c Add sv_flags field to struct sysentvec with intention to provide description 2008-11-22 12:36:15 +00:00
ibcs2_termios.h
ibcs2_time.h
ibcs2_types.h
ibcs2_unistd.h
ibcs2_ustat.h
ibcs2_util.c Implement the linux syscalls 2008-04-08 09:45:49 +00:00
ibcs2_util.h Retire the stackgap macros from ibcs2 as they are no longer used. Push 2006-07-10 17:59:26 +00:00
ibcs2_utime.h
ibcs2_utsname.h
ibcs2_xenix_syscall.h Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
ibcs2_xenix_sysent.c Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
ibcs2_xenix.c Remove pad argument from ftruncate wrapper. Oops. 2007-07-05 05:32:44 +00:00
ibcs2_xenix.h Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
imgact_coff.c Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
Makefile
syscalls.conf - Remove unused sysvec variables from various syscalls.conf. 2006-08-15 17:25:55 +00:00
syscalls.isc Now that all system calls are MPSAFE, retire the SYF_MPSAFE flag used to 2006-07-28 19:05:28 +00:00
syscalls.isc.conf - Remove unused sysvec variables from various syscalls.conf. 2006-08-15 17:25:55 +00:00
syscalls.master Burn TTY ioctl bridges in compat layers. 2009-05-08 20:06:37 +00:00
syscalls.xenix Now that all system calls are MPSAFE, retire the SYF_MPSAFE flag used to 2006-07-28 19:05:28 +00:00
syscalls.xenix.conf - Remove unused sysvec variables from various syscalls.conf. 2006-08-15 17:25:55 +00:00