summaryrefslogtreecommitdiff
path: root/logmessage.h
blob: 5bccacc85bf38d903658115fb32c723209bed857 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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];
};