Home
last modified time | relevance | path

Searched refs:REMOVE_CHMOD (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/shared/
Drm-rf.h15REMOVE_CHMOD = 1 << 5, /* chmod() for write access if we cannot delete or access someth… enumerator
38 (void) rm_rf(p, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_MISSING_OK|REMOVE_CHMOD); in rm_rf_physical_and_free()
50 … (void) rm_rf(p, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME|REMOVE_MISSING_OK|REMOVE_CHMOD); in rm_rf_subvolume_and_free()
Dinstall-file.c229 … (void) rm_rf_children(TAKE_FD(dfd), REMOVE_PHYSICAL|REMOVE_SUBVOLUME|REMOVE_CHMOD, NULL); in install_file()
240 … (void) rm_rf_children(TAKE_FD(dfd), REMOVE_PHYSICAL|REMOVE_SUBVOLUME|REMOVE_CHMOD, NULL); in install_file()
Drm-rf.c64 if (errno != EACCES || !FLAGS_SET(remove_flags, REMOVE_CHMOD)) in unlinkat_harder()
99 if (errno != EACCES || !FLAGS_SET(remove_flags, REMOVE_CHMOD)) in fstatat_harder()
/systemd-251/src/test/
Dtest-rm-rf.c35 assert_se(rm_rf(d, REMOVE_PHYSICAL|REMOVE_ROOT|REMOVE_CHMOD) >= 0); in test_rm_rf_chmod_inner()
/systemd-251/src/sysupdate/
Dsysupdate-transfer.c617 … r = rm_rf_child(dirfd(d), de->d_name, REMOVE_PHYSICAL|REMOVE_SUBVOLUME|REMOVE_CHMOD); in transfer_remove_temporary()
717 …= rm_rf(oldest->path, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME|REMOVE_MISSING_OK|REMOVE_CHMOD); in transfer_vacuum()
/systemd-251/src/tmpfiles/
Dtmpfiles.c2010 r = fstatat_harder(parent_fd, name, &st, flags, REMOVE_CHMOD | REMOVE_CHMOD_RESTORE); in rm_if_wrong_type_safe()
2033 …r = fstatat_harder(parent_fd, name, &st, AT_SYMLINK_NOFOLLOW, REMOVE_CHMOD | REMOVE_CHMOD_RESTORE); in rm_if_wrong_type_safe()
2058 … r = unlinkat_harder(parent_fd, name, AT_REMOVEDIR, REMOVE_CHMOD | REMOVE_CHMOD_RESTORE); in rm_if_wrong_type_safe()
2060 r = unlinkat_harder(parent_fd, name, 0, REMOVE_CHMOD | REMOVE_CHMOD_RESTORE); in rm_if_wrong_type_safe()
/systemd-251/src/core/
Dexecute.c5466 (void) rm_rf(p, REMOVE_ROOT|REMOVE_CHMOD); in exec_context_destroy_credentials()