Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111837736
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
Mon, Mar 10, 2:51 AM (4 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17079081
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