Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167953603
D14611.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
469 B
Referenced Files
None
Subscribers
None
D14611.diff
View Options
Index: head/sys/kern/kern_cpuset.c
===================================================================
--- head/sys/kern/kern_cpuset.c
+++ head/sys/kern/kern_cpuset.c
@@ -1972,8 +1972,8 @@
if (error == 0)
error = copyout(mask, maskp, domainsetsize);
if (error == 0)
- error = copyout(&outset.ds_policy, policyp,
- sizeof(outset.ds_policy));
+ if (suword32(policyp, outset.ds_policy) != 0)
+ error = EFAULT;
out:
free(mask, M_TEMP);
return (error);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 26, 2:49 PM (21 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37239750
Default Alt Text
D14611.diff (469 B)
Attached To
Mode
D14611: Copyout a whole int to cpuset_domain's policy pointer.
Attached
Detach File
Event Timeline
Log In to Comment