Use caph_enter_casper() in ping(8).
Reported by: oshogbo MFC with: r341837 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
a3c153e5af
commit
f3462a1719
@ -708,7 +708,7 @@ main(int argc, char *const *argv)
|
||||
* We must connect(2) our socket before this point.
|
||||
*/
|
||||
caph_cache_catpages();
|
||||
if (caph_enter() < 0)
|
||||
if (caph_enter_casper() < 0)
|
||||
err(1, "cap_enter");
|
||||
|
||||
cap_rights_init(&rights, CAP_RECV, CAP_EVENT, CAP_SETSOCKOPT);
|
||||
|
Loading…
Reference in New Issue
Block a user