Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163337984
D34327.id107537.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
416 B
Referenced Files
None
Subscribers
None
D34327.id107537.diff
View Options
diff --git a/sys/security/mac_veriexec/mac_veriexec.c b/sys/security/mac_veriexec/mac_veriexec.c
--- a/sys/security/mac_veriexec/mac_veriexec.c
+++ b/sys/security/mac_veriexec/mac_veriexec.c
@@ -437,7 +437,7 @@
return (0);
oid = oidp;
- if (oid->oid_kind & CTLFLAG_SECURE) {
+ if (req->newptr && (oid->oid_kind & CTLFLAG_SECURE)) {
return (EPERM); /* XXX call mac_veriexec_priv_check? */
}
return 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 6:32 AM (34 m, 11 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35394488
Default Alt Text
D34327.id107537.diff (416 B)
Attached To
Mode
D34327: mac_veriexec: Authorize reads of secured sysctls
Attached
Detach File
Event Timeline
Log In to Comment