FreeBSD Bugzilla – Attachment 198079 Details for
Bug 232210
sendfile(2) doesn't percolate up issues with copyout(9) related to sbytes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Please use the pull request instead.
check-returncode-from-copyout-with-sbytes-argument.patch (text/plain), 397 bytes, created by
Enji Cooper
on 2018-10-12 23:25:33 UTC
(
hide
)
Description:
Please use the pull request instead.
Filename:
MIME Type:
Creator:
Enji Cooper
Created:
2018-10-12 23:25:33 UTC
Size:
397 bytes
patch
obsolete
>Index: sys/kern/kern_sendfile.c >=================================================================== >--- sys/kern/kern_sendfile.c (revision 339339) >+++ sys/kern/kern_sendfile.c (working copy) >@@ -1006,7 +1006,7 @@ > fdrop(fp, td); > > if (uap->sbytes != NULL) >- copyout(&sbytes, uap->sbytes, sizeof(off_t)); >+ error = copyout(&sbytes, uap->sbytes, sizeof(off_t)); > > out: > free(hdr_uio, M_IOV);
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 232210
:
198079