mirror of
https://github.com/topjohnwu/selinux.git
synced 2025-02-24 13:22:41 +00:00

mcstrans still uses CONTEXT__CONTAINS from av_permissions.h to calculate a permission access vector. However, av_permissions.h was deprecated, so it does not have access to the constant. This updates mcstrans to use string_to_av_perm() to get the value for context contains. Reported-by: Sven Vermeulen <sven.vermeulen@siphos.be> Signed-off-by: Steve Lawrence <slawrence@tresys.com> Acked-by: Stephen Smalley <sds@tycho.nsa.gov>