| #ifndef VSF_SECUTIL_H |
| #define VSF_SECUTIL_H |
| |
| struct mystr; |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #define VSF_SECUTIL_OPTION_CHROOT 1 |
| |
| #define VSF_SECUTIL_OPTION_USE_GROUPS 2 |
| |
| #define VSF_SECUTIL_OPTION_CHANGE_EUID 4 |
| |
| #define VSF_SECUTIL_OPTION_NO_FDS 8 |
| |
| #define VSF_SECUTIL_OPTION_NO_PROCS 16 |
| |
| #define VSF_SECUTIL_OPTION_ALLOW_WRITEABLE_ROOT 32 |
| |
| void vsf_secutil_change_credentials(const struct mystr* p_user_str, |
| const struct mystr* p_dir_str, |
| const struct mystr* p_ext_dir_str, |
| unsigned int caps, unsigned int options); |
| #endif |
| |