| 94288674 | 17-May-2019 |
Stephen J. Kiernan <[email protected]> |
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
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.
Approved by: sjg Obtained from: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D20295
show more ...
|
| 6cbc9703 | 17-May-2019 |
Stephen J. Kiernan <[email protected]> |
Obtain a shared lock instead of exclusive in the MAC/veriexec MAC_VERIEXEC_CHECK_PATH_SYSCALL per-MAC policy system call.
When we are checking the status of the fingerprint on a vnode using the per-
Obtain a shared lock instead of exclusive in the MAC/veriexec MAC_VERIEXEC_CHECK_PATH_SYSCALL per-MAC policy system call.
When we are checking the status of the fingerprint on a vnode using the per-MAC-policy syscall, we do not need an exclusive lock on the vnode.
Even if there is more than one thread requesting the status at the same time, the worst we can end up doing is processing the file more than once.
This can potentially be improved in the future with offloading the fingerprint evaluation to a separate thread and blocking until the update completes. But for now the race is acceptable.
Obtained from: Juniper Networks, Inc. MFC after: 1 week
show more ...
|
| ed377cf4 | 17-May-2019 |
Stephen J. Kiernan <[email protected]> |
sysctls which should be restricted when securelevel is raised should also be restricted when veriexec is enforced.
Add mpo_system_check_sysctl method to mac_veriexec which does this.
Obtained from:
sysctls which should be restricted when securelevel is raised should also be restricted when veriexec is enforced.
Add mpo_system_check_sysctl method to mac_veriexec which does this.
Obtained from: Juniper Networks, Inc. MFC after: 1 week
show more ...
|
| 3d53cd0f | 17-May-2019 |
Stephen J. Kiernan <[email protected]> |
Fix format strings for some debug messages that could have arguments that are different types across architectures by using %ju and typecasting to uintmax_t, where appropriate.
Obtained from: Junipe
Fix format strings for some debug messages that could have arguments that are different types across architectures by using %ju and typecasting to uintmax_t, where appropriate.
Obtained from: Juniper Networks, Inc. MFC after: 1 week
show more ...
|