summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-09-03 15:40:37 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-11 02:55:29 +0200
commitb3d284696cc244be51bbf82d5fa1bacc197c2f99 (patch)
tree84c8169ca3acc9540eae3f6c2070bd3ccbe82adf /src/Makefile
parent4a30847b9d71e0381948d68279c8f775b9de7850 (diff)
util: rm_rf_children_dangerous: delete all descendants dangerously
Call rm_rf_children_dangerous() recursively rather than falling back to rm_rf_children(). This fixes a bug in systemd-tmpfiles. The problem can easily be reproduced by: # mount /dev/sda1 /mnt # mkdir /mnt/test # echo "D /mnt" > /root/test.conf # systemd-tmpfiles --remove /root/test.conf Attempted to remove disk file system, and we can't allow that. rm_rf(/root/test): Operation not permitted Reported-by: Lukas Jirkovsky <l.jirkovsky@gmail.com>
Diffstat (limited to 'src/Makefile')
0 files changed, 0 insertions, 0 deletions