From 184dab1c74db05d59d63bfaabedf0ef4e6bf61c9 Mon Sep 17 00:00:00 2001 From: Trumeet Date: Fri, 23 Dec 2022 22:33:19 -0800 Subject: Various improvements --- common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common.h') 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 +#include enum modes { /* Yes / No on action . */ @@ -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; -- cgit v1.2.3