mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-03 17:11:32 +00:00
Use caph_enter_casper() in ping(8).
Reported by: oshogbo MFC with: r341837 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
10f7b12c13
commit
18fcfaa4ca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342192
@ -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…
x
Reference in New Issue
Block a user