diff options
author | Ricardo Mestre <mestre@cvs.openbsd.org> | 2018-08-08 20:15:18 +0000 |
---|---|---|
committer | Ricardo Mestre <mestre@cvs.openbsd.org> | 2018-08-08 20:15:18 +0000 |
commit | 9f1dbf45710f43194fab0bd080a463d818d2f0f3 (patch) | |
tree | ee2b8165084c32a0ed12552d83b11bfdd99eadbc /sys/arch/arm64/dev | |
parent | 2805fc153ad351de84b439b42cbf682b06673be0 (diff) |
add unveil(2) to ctfconv(1)
Once we know what the input file is, usually /bsd.gdb, we can unveil it in read
mode. If we also define as argument an output file we can additionally unveil
that one with write/create permissions.
We don't need to care about calling unveil(NULL, NULL) since we can call
pledge(2) and reduce the permissions down the road depending on the code path.
"reads OK" jasper@, "put it in if works" mpi@
prodded by deraadt@
Diffstat (limited to 'sys/arch/arm64/dev')
0 files changed, 0 insertions, 0 deletions