FreeBSD Bugzilla – Attachment 193626 Details for
Bug 228432
[PATCH] sysctl `KERN_PROC_CWD` should return `ENOMEM` when the output buffer isn't big enough
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch fixing the issue
kern_proc_cwd_enomem.diff (text/plain), 401 bytes, created by
Brennan Vincent
on 2018-05-23 04:04:53 UTC
(
hide
)
Description:
patch fixing the issue
Filename:
MIME Type:
Creator:
Brennan Vincent
Created:
2018-05-23 04:04:53 UTC
Size:
401 bytes
patch
obsolete
>Index: sys/kern/kern_descrip.c >=================================================================== >--- sys/kern/kern_descrip.c (revision 333992) >+++ sys/kern/kern_descrip.c (working copy) >@@ -3508,7 +3508,7 @@ > if (efbuf->remainder < kif->kf_structsize) { > /* Terminate export. */ > efbuf->remainder = 0; >- return (0); >+ return (ENOMEM); > } > efbuf->remainder -= kif->kf_structsize; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228432
: 193626