diff options
author | Paul Jakma <paul.jakma@sun.com> | 2006-03-30 15:00:30 +0000 |
---|---|---|
committer | Paul Jakma <paul.jakma@sun.com> | 2006-03-30 15:00:30 +0000 |
commit | 86228fde807f4a13313e9828b8438f18a045a6ba (patch) | |
tree | a601ae20a73d4a1645a40ee15a28cfe595c31aee /lib | |
parent | 213d8dadcae5edd424ef98bf0657874a4c44faf2 (diff) |
[lib] command.c exports host global, add it to header.
2006-03-14 Paul Jakma <paul.jakma@sun.com>
* 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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ChangeLog | 1 | ||||
-rw-r--r-- | lib/command.h | 4 |
2 files changed, 4 insertions, 1 deletions
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 <paul.jakma@sun.com> 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 */ |