summaryrefslogtreecommitdiff
path: root/logmessage.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-18 11:32:19 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-18 11:32:19 -0700
commit2720a97cbd0254fbe314937bba23486d8426ad9f (patch)
treeeb62b179aed6658a74479b208de27dbfe95e3b58 /logmessage.h
parent52e7de027a9204963baf31238c271cde9a7d8fff (diff)
parent5414692efe92a9fb87cbcb374493102bca7424bc (diff)
downloadvyatta-bash-2720a97cbd0254fbe314937bba23486d8426ad9f.tar.gz
vyatta-bash-2720a97cbd0254fbe314937bba23486d8426ad9f.zip
Merge branch 'larkspur' of vm:git/vyatta-bash into larkspur
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];
+};