HomeFreeBSD

MAC: improve consistency in error handling

Description

MAC: improve consistency in error handling

Whenever mac_syncache_init() returns an error, ensure that
*label = NULL. This simplifies the error handling by the caller.

Reviewed by: rscheff
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D46701

Details

Provenance
tuexenAuthored on Sep 26 2024, 6:02 AM
Reviewer
rscheff
Differential Revision
D46701: mac: improve consistency
Parents
rGb7b7800043e1: Explain the relationship between -p and -Z.
Branches
Unknown
Tags
Unknown