diff options
author | Ricardo Mestre <mestre@cvs.openbsd.org> | 2018-11-05 11:59:06 +0000 |
---|---|---|
committer | Ricardo Mestre <mestre@cvs.openbsd.org> | 2018-11-05 11:59:06 +0000 |
commit | 38bc9243f25d37d67b5d21ac8bcfb8f033a0908f (patch) | |
tree | b1f17c8d003d86a96b1704f502ea2f7c882761d7 /sys/arch | |
parent | c29a48c4e2d506c6c62391ab6288cd5290a4af5d (diff) |
snmpd(8)'s main process needs to open the config file and /dev/pf both with
read permissions, but once it reaches pledge(2) just before the main loop both
were already opened. Since snmpd(8) doesn't have a way to load or reload the
config file, not even through SIGHUP, then rpath promise is not needed.
The snmpe process cannot yet be pledged, but it doesn't need fs access so we
can disable the access through unveil("/", ""); unveil(NULL, NULL);
"looks right" to deraadt@
Diffstat (limited to 'sys/arch')
0 files changed, 0 insertions, 0 deletions