diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-08-22 20:18:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-08-22 20:18:51 +0000 |
commit | 2ac731a695734affb7b043d00704546556752caf (patch) | |
tree | 40fb580f9f213bfdbc37b90b8a2165b679e27620 /usr.bin | |
parent | 727aafc0b540434e1fd357c1d8f5f8c69edb767d (diff) |
Move to tame(int flags, char *paths[]) API/ABI.
The pathlist is a whitelist of dirs and files; anything else returns ENOENT.
Recommendation is to use a narrowly defined list. Also add TAME_FATTR, which
permits explicit change operations against "struct stat" fields. Some
other TAME_ flags are refined slightly.
Not cranking libc now, since nothing commited in base uses this and the
timing is uncomfortable for others. Discussed with many; thanks for a
few bug fixes from semarie, doug, guenther.
ok guenther
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions