summaryrefslogtreecommitdiffstats
path: root/src/utils/include/pty-session.h
diff options
context:
space:
mode:
authorManuel Bentele2021-12-07 10:17:15 +0100
committerManuel Bentele2021-12-07 10:17:15 +0100
commit424839be05e2f4c5d4684ab0c37e00c2881672bd (patch)
treeb6fa21c4f6f5a64782f941c4eaf4ae67c7995f89 /src/utils/include/pty-session.h
parentFix issue in CMake kernel header check (diff)
downloadxloop-424839be05e2f4c5d4684ab0c37e00c2881672bd.tar.gz
xloop-424839be05e2f4c5d4684ab0c37e00c2881672bd.tar.xz
xloop-424839be05e2f4c5d4684ab0c37e00c2881672bd.zip
Update xlosetup from util-linux v2.37.2
Diffstat (limited to 'src/utils/include/pty-session.h')
-rw-r--r--src/utils/include/pty-session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/include/pty-session.h b/src/utils/include/pty-session.h
index 0c9ccc6..09eff43 100644
--- a/src/utils/include/pty-session.h
+++ b/src/utils/include/pty-session.h
@@ -10,6 +10,7 @@
#include <termios.h>
#include <signal.h>
#include <sys/time.h>
+#include <sys/stat.h>
#include <sys/signalfd.h>
@@ -98,6 +99,7 @@ struct ul_pty_callbacks *ul_pty_get_callbacks(struct ul_pty *pty);
int ul_pty_is_running(struct ul_pty *pty);
int ul_pty_setup(struct ul_pty *pty);
void ul_pty_cleanup(struct ul_pty *pty);
+int ul_pty_chownmod_slave(struct ul_pty *pty, uid_t uid, gid_t gid, mode_t mode);
void ul_pty_init_slave(struct ul_pty *pty);
int ul_pty_proxy_master(struct ul_pty *pty);