Add pledge(2) for radiusctl(8) and radiusd(8).
authoryasuoka <yasuoka@openbsd.org>
Mon, 19 Oct 2015 22:07:37 +0000 (22:07 +0000)
committeryasuoka <yasuoka@openbsd.org>
Mon, 19 Oct 2015 22:07:37 +0000 (22:07 +0000)
commit04581dc7e9c35986b7de49e3b45046beb7d6de8f
treef5febaf90daf15ba14630b60074029b425389559
parenta559ffbea6a2d1a34374b63f7ca4056afb58f383
Add pledge(2) for radiusctl(8) and radiusd(8).
- radiusd: "stdio inet"
- radiusd_radius: "stdio inet"
- radiusd_bsdauth:
  - "stdio proc" for the non-priviledged process
  - "stdio getpw rpath proc exec" for the priviledged process
- radiusctl: "stdio dns inet"

"go ahead" deraadt
usr.sbin/radiusctl/radiusctl.c
usr.sbin/radiusd/radiusd.c
usr.sbin/radiusd/radiusd_bsdauth.c
usr.sbin/radiusd/radiusd_radius.c