diff options
author | Trumeet <yuuta@yuuta.moe> | 2022-12-23 22:33:19 -0800 |
---|---|---|
committer | Trumeet <yuuta@yuuta.moe> | 2022-12-23 22:33:19 -0800 |
commit | 184dab1c74db05d59d63bfaabedf0ef4e6bf61c9 (patch) | |
tree | 8a981236189dae398c60e70769c343f66b9762bd /common.h | |
parent | 18198a5f1d224aca711f3be617877f6e5f9d83ed (diff) | |
download | secdesk-184dab1c74db05d59d63bfaabedf0ef4e6bf61c9.tar secdesk-184dab1c74db05d59d63bfaabedf0ef4e6bf61c9.tar.gz secdesk-184dab1c74db05d59d63bfaabedf0ef4e6bf61c9.tar.bz2 secdesk-184dab1c74db05d59d63bfaabedf0ef4e6bf61c9.zip |
Various improvements
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |