git: c14695417b84 - stable/13 - Add declaration for static export_file_to_kinfo()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Dec 2021 01:00:57 UTC
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=c14695417b8449665e3d99cd45150eb53a2d9e49 commit c14695417b8449665e3d99cd45150eb53a2d9e49 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-12-06 17:42:20 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-12-13 00:58:22 +0000 Add declaration for static export_file_to_kinfo() (cherry picked from commit 6e51d61a96c09d7c6785844602d0bb67d30b7f21) --- sys/kern/kern_descrip.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index 794d72824cc9..5247f8f12e6a 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -107,6 +107,9 @@ VFS_SMR_DECLARE; static int closefp(struct filedesc *fdp, int fd, struct file *fp, struct thread *td, bool holdleaders, bool audit); +static void export_file_to_kinfo(struct file *fp, int fd, + cap_rights_t *rightsp, struct kinfo_file *kif, + struct filedesc *fdp, int flags); static int fd_first_free(struct filedesc *fdp, int low, int size); static void fdgrowtable(struct filedesc *fdp, int nfd); static void fdgrowtable_exp(struct filedesc *fdp, int nfd);