Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162198176
D10300.id29165.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
602 B
Referenced Files
None
Subscribers
None
D10300.id29165.diff
View Options
Index: sys/security/mac_bsdextended/mac_bsdextended.c
===================================================================
--- sys/security/mac_bsdextended/mac_bsdextended.c
+++ sys/security/mac_bsdextended/mac_bsdextended.c
@@ -125,7 +125,7 @@
return (EINVAL);
if ((rule->mbr_object.mbo_neg | MBO_ALL_FLAGS) != MBO_ALL_FLAGS)
return (EINVAL);
- if ((rule->mbr_object.mbo_neg | MBO_TYPE_DEFINED) &&
+ if ((rule->mbr_object.mbo_flags & MBO_TYPE_DEFINED) &&
(rule->mbr_object.mbo_type | MBO_ALL_TYPE) != MBO_ALL_TYPE)
return (EINVAL);
if ((rule->mbr_mode | MBI_ALLPERM) != MBI_ALLPERM)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 11, 7:54 PM (11 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34971884
Default Alt Text
D10300.id29165.diff (602 B)
Attached To
Mode
D10300: Correct bitwise test in mac_bsdextended ugidfw_rule_valid()
Attached
Detach File
Event Timeline
Log In to Comment