Page MenuHomeFreeBSD

Support for setting labels via veriexec
ClosedPublic

Authored by stevek on May 17 2019, 6:39 PM.
Tags
None
Referenced Files
F153732824: D20295.id57495.diff
Thu, Apr 23, 7:32 AM
Unknown Object (File)
Tue, Apr 21, 12:02 PM
Unknown Object (File)
Wed, Apr 15, 12:49 AM
Unknown Object (File)
Tue, Apr 14, 11:58 PM
Unknown Object (File)
Tue, Apr 7, 3:09 AM
Unknown Object (File)
Mon, Apr 6, 2:36 PM
Unknown Object (File)
Sat, Apr 4, 12:11 PM
Unknown Object (File)
Sat, Apr 4, 10:37 AM
Subscribers

Details

Summary

Add a new ioctl for the larger params struct that includes the label.

We need to make the find_veriexec_file() function available publicly, so
rename it to mac_veriexec_metadata_find_file_info() and make it non-static.

Bump the version of the veriexec device interface so user space will know
the labelized version of fingerprint loading is available.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Return the size of the allocated space for the label, even if we copied in a smaller label.

This revision is now accepted and ready to land.May 17 2019, 7:16 PM
This revision was automatically updated to reflect the committed changes.