summaryrefslogtreecommitdiff
path: root/src/shared/conf-parser.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-05-30 18:21:58 +0200
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commitaa15ecac3f6b7d995748fd668c39cf1c8c63e476 (patch)
treeb105ee098c08b683bdf34c5fed6017028208ffa3 /src/shared/conf-parser.h
parentf0580b86936fbf46f0dd5cb2a91ad9ceff033a35 (diff)
smack: make mac_smack_fix() deal somewhat sensible with non-absolute paths
This tries to improve the mac_smack_fix() logic a bit, by properly handling non-absolute paths. It's still pretty broken though, which is sad for security technology: non-normalized paths (for example "/usr/../dev/sda") will still not be treated correctly. I am not sure how to fix that properly though, and I don't understand SMACK well enough to do so. This fix hence just fixes to most obvious glaring issue.
Diffstat (limited to 'src/shared/conf-parser.h')
0 files changed, 0 insertions, 0 deletions