Lines Matching refs:mode
35 int chmod_and_chown(const char *path, mode_t mode, uid_t uid, gid_t gid);
36 int fchmod_and_chown_with_fallback(int fd, const char *path, mode_t mode, uid_t uid, gid_t gid);
37 static inline int fchmod_and_chown(int fd, mode_t mode, uid_t uid, gid_t gid) { in fchmod_and_chown() argument
38 return fchmod_and_chown_with_fallback(fd, NULL, mode, uid, gid); /* no fallback */ in fchmod_and_chown()
41 int fchmod_umask(int fd, mode_t mode);
49 #define laccess(path, mode) \ argument
50 RET_NERRNO(faccessat(AT_FDCWD, (path), (mode), AT_SYMLINK_NOFOLLOW))
52 int touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode);
58 int mknod_atomic(const char *path, mode_t mode, dev_t dev);
59 int mkfifo_atomic(const char *path, mode_t mode);
60 int mkfifoat_atomic(int dir_fd, const char *path, mode_t mode);
90 int access_fd(int fd, int mode);
101 int open_parent(const char *path, int flags, mode_t mode);
112 int open_mkdir_at(int dirfd, const char *path, int flags, mode_t mode);
114 int openat_report_new(int dirfd, const char *pathname, int flags, mode_t mode, bool *ret_newly_crea…