aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2024-01-22 22:31:55 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2024-02-11 01:40:28 +0000
commiteb34be853a21e05db54ad6f22abe366bc5b6086b (patch)
tree338a5216bcc6a69cf55597000d7e4c9d3dd85eb2 /sys/sys
parent58ccdcc6ffc5d053b92ba0069f02cfbe9ff498b6 (diff)
downloadsrc-eb34be853a21e05db54ad6f22abe366bc5b6086b.tar.gz
src-eb34be853a21e05db54ad6f22abe366bc5b6086b.zip
Add fget_remote()
(cherry picked from commit 58d3171698341c664d7c676541b86385a924ae93)
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h
index e5532b37572f..ca8a229b994a 100644
--- a/sys/sys/file.h
+++ b/sys/sys/file.h
@@ -257,6 +257,7 @@ int fget_write(struct thread *td, int fd, cap_rights_t *rightsp,
int fget_fcntl(struct thread *td, int fd, cap_rights_t *rightsp,
int needfcntl, struct file **fpp);
int _fdrop(struct file *fp, struct thread *td);
+int fget_remote(struct thread *td, struct proc *p, int fd, struct file **fpp);
fo_rdwr_t invfo_rdwr;
fo_truncate_t invfo_truncate;