freebsd-dev/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 Fix -Wundef. 2005-12-04 02:12:43 +00:00
db_access.h Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_break.c Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_break.h Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_capture.c Rename debug.ddb.capture.bytes sysctl to debug.ddb.capture.bufoff in 2008-04-25 13:23:36 +00:00
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 Add a /S mode to DDB "ex" command, which interprets and prints the 2008-03-07 18:09:07 +00:00
db_expr.c Prefer prototypes to k&r definitions. 2009-03-09 13:32:19 +00:00
db_input.c Reserve two bytes at the end of the DDB input line in db_readline() to 2008-03-07 13:13:17 +00:00
db_lex.c Add a simple scripting facility to DDB(4), allowing the user to 2007-12-26 09:33:19 +00:00
db_lex.h Add a simple scripting facility to DDB(4), allowing the user to 2007-12-26 09:33:19 +00:00
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 Fixed formatting of printing of command tables. WIth the default max 2006-10-08 18:15:08 +00:00
db_print.c rev 1.54 of i386/include/pcb.h depended on sys/proc.h. The prerequisite 2005-04-14 05:25:40 +00:00
db_ps.c Print out the container lock when showing the thread state in DDB. 2008-06-18 20:42:01 +00:00
db_run.c Fix software single-stepping: we need to check if the instruction is a 2008-08-02 12:49:43 +00:00
db_script.c Remove duplicate $FreeBSD$ that snuck in. 2007-12-26 10:51:07 +00:00
db_sym.c Never zero-out db_last_symtab. Whan backtraces are done 2006-06-16 16:17:52 +00:00
db_sym.h Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_textdump.c Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
db_thread.c Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form. 2007-01-17 15:05:52 +00:00
db_variables.c Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_variables.h Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_watch.c Fix the output format of MI ddb watches in 'show watch' on 64-bit 2006-11-17 16:41:56 +00:00
db_watch.h Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
db_write_cmd.c Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
ddb.h Make ddb command registration dynamic so modules can extend 2008-09-15 22:45:14 +00:00