HardenedBSD/sys/security
Heyang Zhou 6e45b50342 mac_veriexec_parser: Fix open_file error handling
NDFREE_PNBUF should be called after checking the return value of
vn_open(), and should only be called once.

Reviewed by: imp, zlei, Kornel Dulęba <mindal@semihalf.com>, Elliott Mitchell
Pull Request: https://github.com/freebsd/freebsd-src/pull/1338
2024-09-20 09:22:56 -06:00
..
audit
mac
mac_biba
mac_bsdextended
mac_ddb
mac_do MAC/do: allow to call setuid if real user id is 0 2024-05-23 12:09:11 +02:00
mac_grantbylabel procfs require PRIV_PROC_MEM_WRITE to write mem 2024-09-19 13:10:27 -07:00
mac_ifoff
mac_ipacl
mac_lomac
mac_mls
mac_none
mac_ntpd
mac_partition
mac_pimd
mac_portacl
mac_priority
mac_seeotheruids
mac_stub
mac_test
mac_veriexec procfs require PRIV_PROC_MEM_WRITE to write mem 2024-09-19 13:10:27 -07:00
mac_veriexec_parser mac_veriexec_parser: Fix open_file error handling 2024-09-20 09:22:56 -06:00