Searched refs:child_fd (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/nspawn/ |
D | nspawn-patch-uid.c | 31 _cleanup_close_ int child_fd = -1; in get_acl() local 33 child_fd = openat(fd, name, O_PATH|O_CLOEXEC|O_NOFOLLOW); in get_acl() 34 if (child_fd < 0) in get_acl() 37 acl = acl_get_file(FORMAT_PROC_FD_PATH(child_fd), type); in get_acl() 56 _cleanup_close_ int child_fd = -1; in set_acl() local 58 child_fd = openat(fd, name, O_PATH|O_CLOEXEC|O_NOFOLLOW); in set_acl() 59 if (child_fd < 0) in set_acl() 62 r = acl_set_file(FORMAT_PROC_FD_PATH(child_fd), type, acl); in set_acl()
|
/systemd-251/src/shared/ |
D | btrfs-util.c | 1148 _cleanup_close_ int child_fd = -1; in subvol_remove_children() local 1154 … child_fd = openat(subvol_fd, ino_args.name, O_RDONLY|O_NOCTTY|O_CLOEXEC|O_DIRECTORY|O_NOFOLLOW); in subvol_remove_children() 1155 if (child_fd < 0) in subvol_remove_children() 1158 r = subvol_remove_children(child_fd, p, sh->objectid, flags); in subvol_remove_children()
|
/systemd-251/src/tmpfiles/ |
D | tmpfiles.c | 2048 _cleanup_close_ int child_fd = -1; in rm_if_wrong_type_safe() local 2050 child_fd = openat(parent_fd, name, O_NOCTTY | O_CLOEXEC | O_DIRECTORY); in rm_if_wrong_type_safe() 2051 if (child_fd < 0) in rm_if_wrong_type_safe() 2054 … r = rm_rf_children(TAKE_FD(child_fd), REMOVE_ROOT|REMOVE_SUBVOLUME|REMOVE_PHYSICAL, &st); in rm_if_wrong_type_safe()
|