summaryrefslogtreecommitdiff
path: root/src/test/test-alloc-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-01-04 19:44:27 +0100
committerSven Eden <yamakuzure@gmx.net>2018-05-30 07:50:08 +0200
commite2c4475028606343176752bd0974df2c5ed6a520 (patch)
treef46ed68b54a316393d3b31217b690d71852632f2 /src/test/test-alloc-util.c
parentf40fc1151dc0225aa2acf884a0ce3cceb1a00aac (diff)
fs-util: add new CHASE_SAFE flag to chase_symlinks()
When the flag is specified we won't transition to a privilege-owned file or directory from an unprivileged-owned one. This is useful when privileged code wants to load data from a file unprivileged users have write access to, and validates the ownership, but want's to make sure that no symlink games are played to read a root-owned system file belonging to a different context.
Diffstat (limited to 'src/test/test-alloc-util.c')
0 files changed, 0 insertions, 0 deletions