]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: add '=' action modifier.
authorAllen Webb <allenwebb@google.com>
Tue, 30 Mar 2021 14:37:11 +0000 (09:37 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 8 Jun 2021 15:23:26 +0000 (17:23 +0200)
commitc46c32338580eee3446b7caa57883db3a8bb9010
tree8882061bc4685ba8d852b53bb7f44b42dee9302f
parent90a404f5d490eb4981851966f6a01f210fd5eb0d
tmpfiles: add '=' action modifier.

Add the '=' action modifier that instructs tmpfiles.d to check the file
type of a path and remove objects that do not match before trying to
open or create the path.

BUG=chromium:1186405
TEST=./test/test-systemd-tmpfiles.py "$(which systemd-tmpfiles)"

Change-Id: If807dc0db427393e9e0047aba640d0d114897c26
man/tmpfiles.d.xml
src/basic/fs-util.c
src/basic/fs-util.h
src/basic/rm-rf.c
src/basic/rm-rf.h
src/tmpfiles/tmpfiles.c
test/test-systemd-tmpfiles.py