Searched refs:fchmod_and_chown (Results 1 – 9 of 9) sorted by relevance
/systemd-251/src/timesync/ |
D | timesyncd.c | 51 r = fchmod_and_chown(fd, 0644, uid, gid); in load_clock_timestamp()
|
/systemd-251/src/basic/ |
D | fs-util.h | 37 static inline int fchmod_and_chown(int fd, mode_t mode, uid_t uid, gid_t gid) { in fchmod_and_chown() function
|
D | fs-util.c | 208 return fchmod_and_chown(fd, mode, uid, gid); in chmod_and_chown() 385 ret = fchmod_and_chown(fd, mode, uid, gid); in touch_file()
|
D | terminal-util.c | 1398 r = fchmod_and_chown(fd, TTY_MODE, 0, GID_INVALID); in vt_restore()
|
/systemd-251/src/shared/ |
D | chown-recursive.c | 38 r = fchmod_and_chown(fd, st->st_mode & mask, uid, gid); in chown_one()
|
/systemd-251/src/random-seed/ |
D | random-seed.c | 264 r = fchmod_and_chown(seed_fd, 0600, 0, 0); in run()
|
/systemd-251/src/import/ |
D | import-common.c | 272 r = fchmod_and_chown(dirfd(d), st.st_mode, st.st_uid, st.st_gid); in import_mangle_os_tree()
|
/systemd-251/src/udev/ |
D | udev-node.c | 634 r = fchmod_and_chown(node_fd, mode, uid, gid); in udev_node_apply_permissions_impl()
|
/systemd-251/src/core/ |
D | execute.c | 763 r = fchmod_and_chown(fd, TTY_MODE, uid, GID_INVALID); in chown_terminal() 6293 r = fchmod_and_chown(fd, TTY_MODE, 0, TTY_GID); in exec_context_revert_tty()
|