mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
updateuio_t: improve comment and style
Reported by: netchild
Effort: CHERI upstreaming
Fixes: afe41f1ab9 ("sys/uio: add updateiov()")
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D60169
This commit is contained in:
1 parent
228d2ac511
commit
deadb35bec
1 file changed
+5
-3
@@ -97,11 +97,13 @@ typedef int (copyinuio_t)(const void *iovp, unsigned int iovcnt,
|
||||
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,
|
||||
|
||||
Reference in new issue
Block a user