diff options
Diffstat (limited to 'home/shemminger/vyatta/mendocino/vyatta-bash/logmessage.h')
-rw-r--r-- | home/shemminger/vyatta/mendocino/vyatta-bash/logmessage.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/home/shemminger/vyatta/mendocino/vyatta-bash/logmessage.h b/home/shemminger/vyatta/mendocino/vyatta-bash/logmessage.h new file mode 100644 index 0000000..5bccacc --- /dev/null +++ b/home/shemminger/vyatta/mendocino/vyatta-bash/logmessage.h @@ -0,0 +1,16 @@ +/* Format of messages sent on /vbash message queue. + + This code was originally developed by Vyatta, Inc. + Copyright (C) 2010 Vyatta, Inc. + */ + +struct command_log { + pid_t pid; + int status; + time_t endtime; + uid_t uid, euid; + gid_t gid, egid; + char name[UT_NAMESIZE]; + char tty[UT_LINESIZE]; + char command[0]; +}; |