aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.h b/common.h
index 0bf7c6d..d18efcd 100644
--- a/common.h
+++ b/common.h
@@ -6,6 +6,7 @@
#define SECDESK_COMMON_H
#include <unistd.h>
+#include <limits.h>
enum modes {
/* Yes / No on action <prompt>. */
@@ -24,12 +25,14 @@ struct auth_env {
uid_t usr;
pid_t pid;
const char *prompt;
+ char exe[PATH_MAX + 1];
};
struct proc_env {
int in;
int out;
int err;
+ int vt;
};
extern struct proc_env p_env;