Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174155397
D60169.id188193.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
907 B
Referenced Files
None
Subscribers
None
D60169.id188193.diff
View Options
diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h
--- a/sys/sys/syscallsubr.h
+++ b/sys/sys/syscallsubr.h
@@ -97,11 +97,13 @@
struct uio **iov);
/*
- * A updateiov_t takes a pointer to a struct uio previously created with
+ * An updateiov_t takes a pointer to a struct uio previously created with
* copyinuio_t and a pointer to the corresponding iovec in userspace.
- * It updates all lengths in userspace to match those in the uio.
+ * They update all lengths in userspace to match those in the uio.
+ * They are a helper for non-standard uio use (not using uiomove) such
+ * as that in the jail_get(2) system call implementation.
*/
-typedef int(updateiov_t)(const struct uio *uiop, void *iovp);
+typedef int (updateiov_t)(const struct uio *uiop, void *iovp);
uint64_t at2cnpflags(u_int at_flags, u_int mask);
int kern___getcwd(struct thread *td, char *buf, enum uio_seg bufseg,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 1, 11:56 PM (14 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40012396
Default Alt Text
D60169.id188193.diff (907 B)
Attached To
Mode
D60169: updateuio_t: improve comment and style
Attached
Detach File
Event Timeline
Log In to Comment