Searched refs:REMOVE_CHMOD (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/shared/ |
D | rm-rf.h | 15 …REMOVE_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()
|
D | install-file.c | 229 … (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()
|
D | rm-rf.c | 64 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/ |
D | test-rm-rf.c | 35 assert_se(rm_rf(d, REMOVE_PHYSICAL|REMOVE_ROOT|REMOVE_CHMOD) >= 0); in test_rm_rf_chmod_inner()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-transfer.c | 617 … 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/ |
D | tmpfiles.c | 2010 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/ |
D | execute.c | 5466 (void) rm_rf(p, REMOVE_ROOT|REMOVE_CHMOD); in exec_context_destroy_credentials()
|