Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149681935
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
Fri, Mar 27, 5:49 AM (19 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30412344
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