freebsd-nq/sys/ddb
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
..
db_access.c
db_access.h
db_break.c
db_break.h
db_capture.c
db_command.c Initialize the DDB command list when initializing DDB so that the basic 2008-09-25 19:50:14 +00:00
db_command.h Initialize the DDB command list when initializing DDB so that the basic 2008-09-25 19:50:14 +00:00
db_examine.c
db_expr.c Prefer prototypes to k&r definitions. 2009-03-09 13:32:19 +00:00
db_input.c
db_lex.c
db_lex.h
db_main.c Initialize the DDB command list when initializing DDB so that the basic 2008-09-25 19:50:14 +00:00
db_output.c Add a missing include which was erroneusly left out from the previous 2008-08-18 16:51:44 +00:00
db_output.h
db_print.c
db_ps.c
db_run.c
db_script.c
db_sym.c
db_sym.h
db_textdump.c Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
db_thread.c
db_variables.c
db_variables.h
db_watch.c
db_watch.h
db_write_cmd.c
ddb.h Make ddb command registration dynamic so modules can extend 2008-09-15 22:45:14 +00:00