Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137898973
D34451.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
355 B
Referenced Files
None
Subscribers
None
D34451.diff
View Options
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -292,9 +292,7 @@
{
int flags;
- flags = M_ZERO;
- if (! wait)
- flags |= M_NOWAIT;
+ flags = M_ZERO | (wait ? M_WAITOK : M_NOWAIT);
if (ksiginfo_zone != NULL)
return ((ksiginfo_t *)uma_zalloc(ksiginfo_zone, flags));
return (NULL);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 28, 12:36 AM (15 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26268449
Default Alt Text
D34451.diff (355 B)
Attached To
Mode
D34451: ksiginfo_alloc: pass M_WAITOK or M_NOWAIT to uma_zalloc
Attached
Detach File
Event Timeline
Log In to Comment