aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_descrip.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-12-06 17:42:20 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-12-06 20:18:09 +0000
commit6e51d61a96c09d7c6785844602d0bb67d30b7f21 (patch)
tree54021a703d1588965a8f29d7fb7b88516b1736a7 /sys/kern/kern_descrip.c
parent2616ee608cd54e544259ee738cd8b8ff71334ced (diff)
downloadsrc-6e51d61a96c09d7c6785844602d0bb67d30b7f21.tar.gz
src-6e51d61a96c09d7c6785844602d0bb67d30b7f21.zip
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
Diffstat (limited to 'sys/kern/kern_descrip.c')
-rw-r--r--sys/kern/kern_descrip.c3
1 files changed, 3 insertions, 0 deletions
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);