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
F146998407: D53957.id169821.diff
Sat, Mar 7, 11:13 AM
Unknown Object (File)
Mon, Feb 23, 9:50 AM
Unknown Object (File)
Mon, Feb 23, 8:03 AM
Unknown Object (File)
Mon, Feb 23, 1:11 AM
Unknown Object (File)
Mon, Feb 23, 1:11 AM
Unknown Object (File)
Sun, Feb 22, 5:21 PM
Unknown Object (File)
Thu, Feb 19, 6:20 PM
Unknown Object (File)
Jan 30 2026, 12:19 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