Page MenuHomeFreeBSD

D19151.id53821.diff
No OneTemporary

D19151.id53821.diff

Index: stable/12/lib/libc/sys/sendfile.2
===================================================================
--- stable/12/lib/libc/sys/sendfile.2
+++ stable/12/lib/libc/sys/sendfile.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 12, 2018
+.Dd January 25, 2019
.Dt SENDFILE 2
.Os
.Sh NAME
@@ -104,7 +104,7 @@
The least significant 16 bits of
.Fa flags
argument is a bitmap of these values:
-.Bl -tag -offset indent
+.Bl -tag -offset indent -width "SF_USER_READAHEAD"
.It Dv SF_NODISKIO
This flag causes
.Nm
@@ -403,3 +403,14 @@
.Fx 11
implementation was written by
.An Gleb Smirnoff Aq Mt glebius@FreeBSD.org .
+.Sh BUGS
+The
+.Fn sendfile
+system call will not fail, i.e., return
+.Dv -1
+and set
+.Va errno
+to
+.Er EFAULT ,
+if provided an invalid address for
+.Fa sbytes .

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 13, 2:05 AM (11 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23651592
Default Alt Text
D19151.id53821.diff (800 B)

Event Timeline