mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
fix bitmasking
This commit is contained in:
parent
451deea533
commit
599e624b3a
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@
|
|||
+ /* For actual subset test ignore valid-profile-transition flags,
|
||||
+ * and link bits
|
||||
+ */
|
||||
+ l_mode &= ~(AA_SHARED_PERMS & AA_LINK_BITS);
|
||||
+ t_mode &= ~(AA_SHARED_PERMS & AA_LINK_BITS);
|
||||
+ l_mode &= ~(AA_SHARED_PERMS | AA_LINK_BITS);
|
||||
+ t_mode &= ~(AA_SHARED_PERMS | AA_LINK_BITS);
|
||||
+ l_subset = l_mode & AA_FILE_PERMS;
|
||||
+
|
||||
+ *request_mask = l_mode | link_mask;
|
||||
|
|
Loading…
Add table
Reference in a new issue