freebsd-skq/sys/compat/svr4
jamie 572db1408a 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
..
imgact_svr4.c VOP_LOCK1() (and so VOP_LOCK()) and VOP_UNLOCK() are only used in 2008-01-13 14:44:15 +00:00
Makefile Housekeeping. Update for maintainers who have handed in their commit bits 2006-07-01 10:51:55 +00:00
svr4_acl.h
svr4_dirent.h
svr4_errno.h
svr4_exec.h
svr4_fcntl.c de-register. 2009-05-29 05:58:46 +00:00
svr4_fcntl.h
svr4_filio.c Replace custom file descriptor array sleep lock constructed using a mutex 2007-04-04 09:11:34 +00:00
svr4_filio.h
svr4_fuser.h
svr4_hrt.h
svr4_ioctl.c de-register. 2009-05-29 05:58:46 +00:00
svr4_ioctl.h Burn TTY ioctl bridges in compat layers. 2009-05-08 20:06:37 +00:00
svr4_ipc.c Rework kern_semctl a bit to always assume the UIO_SYSSPACE case. This 2006-07-08 19:51:38 +00:00
svr4_ipc.h
svr4_misc.c de-register. 2009-05-29 05:58:46 +00:00
svr4_mman.h
svr4_proto.h Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
svr4_resource.c de-register. 2009-05-29 05:58:46 +00:00
svr4_resource.h
svr4_siginfo.h
svr4_signal.c de-register. 2009-05-29 05:58:46 +00:00
svr4_signal.h
svr4_socket.c copyinstr(9) takes parameter 'len' as a size_t *, not int *. 2009-05-29 06:04:26 +00:00
svr4_socket.h Clean up the svr4 socket cache and streams code some to make it more easily 2006-07-21 20:40:13 +00:00
svr4_sockio.c For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
svr4_stat.h
svr4_statvfs.h
svr4_stream.c de-register. 2009-05-29 05:58:46 +00:00
svr4_stropts.h - Explicitly lock Giant to protect the fields in the svr4_strm structure 2006-07-28 16:56:17 +00:00
svr4_syscall.h Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
svr4_syscallnames.c Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
svr4_sysconfig.h Add new sysconfig bits, Fix the bogus numbering of the old bits. 2009-05-29 05:37:27 +00:00
svr4_sysent.c Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
svr4_systeminfo.h
svr4_sysvec.c Implement new way of branding ELF binaries by looking to a 2009-03-13 16:40:51 +00:00
svr4_termios.c
svr4_termios.h
svr4_time.h
svr4_timod.h
svr4_types.h Last step of splitting up minor and unit numbers: remove minor(). 2009-01-28 17:57:16 +00:00
svr4_ucontext.h
svr4_ulimit.h
svr4_ustat.h
svr4_util.h - Split out kern_accept(), kern_getpeername(), and kern_getsockname() for 2006-07-10 21:38:17 +00:00
svr4_utsname.h
svr4_wait.h
svr4.h
syscalls.conf - Remove unused sysvec variables from various syscalls.conf. 2006-08-15 17:25:55 +00:00
syscalls.master Now that all system calls are MPSAFE, retire the SYF_MPSAFE flag used to 2006-07-28 19:05:28 +00:00