diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2016-04-28 14:25:09 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2016-04-28 14:25:09 +0000 |
commit | fce521a545176443545811717213822d0651a03e (patch) | |
tree | 7d6d4d18dd6d06dc40a644b1c240649b70006990 /Makefile | |
parent | adc2de426ae23e1ae6dffc2ae80c3e8485d2b857 (diff) |
1) Split pledge whitelist path handling out of pledge_namei() and into
pledge_namei_wlpath(). Call the wlpath check only at the end of namei
after the namei lookup would otherwise succeed.
2) Add support to namei to keep the path that was looked up, without the
symlinks in it, and use that path for whitelist path lookups. This
means that paths in pledge whitelists will need to always be the
real path to an intended file to whitelist, without symlinks. Any
symlinks to the "real" file will then be allowed
ok deraadt@ semarie@
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions