git: 6e51d61a96c0 - main - Add declaration for static export_file_to_kinfo()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Dec 2021 20:18:33 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=6e51d61a96c09d7c6785844602d0bb67d30b7f21 commit 6e51d61a96c09d7c6785844602d0bb67d30b7f21 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-12-06 17:42:20 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-12-06 20:18:09 +0000 Add declaration for static export_file_to_kinfo() Reviewed by: jhb, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33277 --- 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 37fec097dcfc..8970e80a9818 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);