HomeFreeBSD

Use Capsicum helpers in ping(8).

Description

Use Capsicum helpers in ping(8).

Also use caph_cache_catpages() to ensure that strerror() works when
run with kern.trap_enotcap=1.

Reviewed by: oshogbo
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18514

Details

Provenance
markjAuthored on
Reviewer
oshogbo
Differential Revision
D18514: Use caph_cache_catpages() in ping(8).
Parents
rS341836: Continuing efforts to provide hardening of FFS. This change adds a
Branches
Unknown
Tags
Unknown