From: Paul Jakma Date: Thu, 30 Mar 2006 15:00:30 +0000 (+0000) Subject: [lib] command.c exports host global, add it to header. X-Git-Tag: frr-2.0-rc1~2736 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=86228fde807f4a13313e9828b8438f18a045a6ba;p=matthieu%2Ffrr.git [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 --- diff --git a/lib/ChangeLog b/lib/ChangeLog index cf0278af5e..9e6dc85220 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 26013e2263..99aec33248 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 */