git: 2c34e6519465 - stable/13 - kern_utimensat: Update name of last arg in prototype.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Apr 2022 20:54:55 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=2c34e6519465382c7861c86acbb2d64850d6db04 commit 2c34e6519465382c7861c86acbb2d64850d6db04 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2021-11-04 18:02:55 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-29 20:50:04 +0000 kern_utimensat: Update name of last arg in prototype. The last argument is a mask of AT_* flags, not a namei cnp flag as 'int follow' implies in other kern_* functions. Obtained from: CheriBSD Sponsored by: The University of Cambridge, Google Inc. (cherry picked from commit 3225fd22b2191c7a7a655cb5dacea9148f29c926) --- sys/sys/syscallsubr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h index bd246019bcc9..2f1c35dba48b 100644 --- a/sys/sys/syscallsubr.h +++ b/sys/sys/syscallsubr.h @@ -330,7 +330,7 @@ int kern_utimesat(struct thread *td, int fd, const char *path, enum uio_seg pathseg, struct timeval *tptr, enum uio_seg tptrseg); int kern_utimensat(struct thread *td, int fd, const char *path, enum uio_seg pathseg, struct timespec *tptr, enum uio_seg tptrseg, - int follow); + int flag); int kern_wait(struct thread *td, pid_t pid, int *status, int options, struct rusage *rup); int kern_wait6(struct thread *td, enum idtype idtype, id_t id, int *status,