From 86228fde807f4a13313e9828b8438f18a045a6ba Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Thu, 30 Mar 2006 15:00:30 +0000 Subject: [lib] command.c exports host global, add it to header. 2006-03-14 Paul Jakma * privs.c: (zprivs_caps_init) Change user IDs before lowering privileges, while this seems to work on Linux, on Solaris it rightfully refuses due to PRIV_PROC_SETID having been dropped. * command.h: Add the struct host global exported from command.c --- lib/ChangeLog | 1 + lib/command.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index cf0278af..9e6dc852 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -41,6 +41,7 @@ privileges, while this seems to work on Linux, on Solaris it rightfully refuses due to PRIV_PROC_SETID having been dropped. + * command.h: Add the struct host global exported from command.c 2006-03-06 Paul Jakma diff --git a/lib/command.h b/lib/command.h index 26013e22..99aec332 100644 --- a/lib/command.h +++ b/lib/command.h @@ -354,5 +354,7 @@ extern char *host_config_file (void); extern void host_config_set (char *); extern void print_version (const char *); - + +/* struct host global, ick */ +extern struct host host; #endif /* _ZEBRA_COMMAND_H */ -- cgit v1.2.1