diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-01-04 19:44:27 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:50:08 +0200 |
commit | e2c4475028606343176752bd0974df2c5ed6a520 (patch) | |
tree | f46ed68b54a316393d3b31217b690d71852632f2 /src/test/test-alloc-util.c | |
parent | f40fc1151dc0225aa2acf884a0ce3cceb1a00aac (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