aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mman.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2016-02-28 17:52:33 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2016-02-28 17:52:33 +0000
commit1bdbd705993eab79189dff87b69a9cff5c69b17e (patch)
tree93354adb0a612a635964c8498072087760a0f93b /sys/sys/mman.h
parent3f3af790f95027d0c3b859a53eb82ef5d00dc4f8 (diff)
downloadsrc-1bdbd705993eab79189dff87b69a9cff5c69b17e.tar.gz
src-1bdbd705993eab79189dff87b69a9cff5c69b17e.zip
Notes
Diffstat (limited to 'sys/sys/mman.h')
-rw-r--r--sys/sys/mman.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/sys/mman.h b/sys/sys/mman.h
index 19d992e83361..1fce960746e8 100644
--- a/sys/sys/mman.h
+++ b/sys/sys/mman.h
@@ -233,6 +233,13 @@ struct shmfd {
int shm_map(struct file *fp, size_t size, off_t offset, void **memp);
int shm_unmap(struct file *fp, void *mem, size_t size);
+int shm_access(struct shmfd *shmfd, struct ucred *ucred, int flags);
+struct shmfd *shm_alloc(struct ucred *ucred, mode_t mode);
+struct shmfd *shm_hold(struct shmfd *shmfd);
+void shm_drop(struct shmfd *shmfd);
+int shm_dotruncate(struct shmfd *shmfd, off_t length);
+
+extern struct fileops shm_ops;
#else /* !_KERNEL */
__BEGIN_DECLS