summaryrefslogtreecommitdiff
path: root/logmessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'logmessage.h')
-rw-r--r--logmessage.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/logmessage.h b/logmessage.h
new file mode 100644
index 0000000..5bccacc
--- /dev/null
+++ b/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];
+};