Page MenuHomeFreeBSD

kern: mac: pull mac_label_copyin_string out
ClosedPublic

Authored by kevans on Nov 27 2025, 6:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 22, 5:13 PM
Unknown Object (File)
Sat, Jan 17, 1:37 AM
Unknown Object (File)
Fri, Jan 16, 5:42 PM
Unknown Object (File)
Dec 27 2025, 7:43 AM
Unknown Object (File)
Dec 27 2025, 7:43 AM
Unknown Object (File)
Dec 27 2025, 7:43 AM
Unknown Object (File)
Dec 27 2025, 7:43 AM
Unknown Object (File)
Dec 27 2025, 7:43 AM
Subscribers

Details

Summary

A future commit to the area will further our jail integration and add
a use for this: the struct mac itself was already copied in as part of
vfs_buildopts(), so we only need to copyin the strings.

We add an explicit flag argument because the jail operation will need to
do it while holding the prison lock.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable