diff options
Diffstat (limited to 'src/firejail/firejail.h')
-rw-r--r-- | src/firejail/firejail.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/firejail/firejail.h b/src/firejail/firejail.h index a5c44739e..10133142a 100644 --- a/src/firejail/firejail.h +++ b/src/firejail/firejail.h | |||
@@ -503,6 +503,9 @@ void copy_file_from_user_to_root(const char *srcname, const char *destname, uid_ | |||
503 | void touch_file_as_user(const char *fname, mode_t mode); | 503 | void touch_file_as_user(const char *fname, mode_t mode); |
504 | int is_dir(const char *fname); | 504 | int is_dir(const char *fname); |
505 | int is_link(const char *fname); | 505 | int is_link(const char *fname); |
506 | char *realpath_as_user(const char *fname); | ||
507 | int stat_as_user(const char *fname, struct stat *s); | ||
508 | int lstat_as_user(const char *fname, struct stat *s); | ||
506 | void trim_trailing_slash_or_dot(char *path); | 509 | void trim_trailing_slash_or_dot(char *path); |
507 | char *line_remove_spaces(const char *buf); | 510 | char *line_remove_spaces(const char *buf); |
508 | char *split_comma(char *str); | 511 | char *split_comma(char *str); |
@@ -526,6 +529,10 @@ unsigned extract_timeout(const char *str); | |||
526 | void disable_file_or_dir(const char *fname); | 529 | void disable_file_or_dir(const char *fname); |
527 | void disable_file_path(const char *path, const char *file); | 530 | void disable_file_path(const char *path, const char *file); |
528 | int safer_openat(int dirfd, const char *path, int flags); | 531 | int safer_openat(int dirfd, const char *path, int flags); |
532 | int remount_by_fd(int dst, unsigned long mountflags); | ||
533 | int bind_mount_by_fd(int src, int dst); | ||
534 | int bind_mount_path_to_fd(const char *srcname, int dst); | ||
535 | int bind_mount_fd_to_path(int src, const char *destname); | ||
529 | int has_handler(pid_t pid, int signal); | 536 | int has_handler(pid_t pid, int signal); |
530 | void enter_network_namespace(pid_t pid); | 537 | void enter_network_namespace(pid_t pid); |
531 | int read_pid(const char *name, pid_t *pid); | 538 | int read_pid(const char *name, pid_t *pid); |