Home
last modified time | relevance | path

Searched refs:fchmod_and_chown (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/timesync/
Dtimesyncd.c51 r = fchmod_and_chown(fd, 0644, uid, gid); in load_clock_timestamp()
/systemd-251/src/basic/
Dfs-util.h37 static inline int fchmod_and_chown(int fd, mode_t mode, uid_t uid, gid_t gid) { in fchmod_and_chown() function
Dfs-util.c208 return fchmod_and_chown(fd, mode, uid, gid); in chmod_and_chown()
385 ret = fchmod_and_chown(fd, mode, uid, gid); in touch_file()
Dterminal-util.c1398 r = fchmod_and_chown(fd, TTY_MODE, 0, GID_INVALID); in vt_restore()
/systemd-251/src/shared/
Dchown-recursive.c38 r = fchmod_and_chown(fd, st->st_mode & mask, uid, gid); in chown_one()
/systemd-251/src/random-seed/
Drandom-seed.c264 r = fchmod_and_chown(seed_fd, 0600, 0, 0); in run()
/systemd-251/src/import/
Dimport-common.c272 r = fchmod_and_chown(dirfd(d), st.st_mode, st.st_uid, st.st_gid); in import_mangle_os_tree()
/systemd-251/src/udev/
Dudev-node.c634 r = fchmod_and_chown(node_fd, mode, uid, gid); in udev_node_apply_permissions_impl()
/systemd-251/src/core/
Dexecute.c763 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()