summaryrefslogtreecommitdiffstats
path: root/sys/sys/mman.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-09-10 15:45:18 +0000
committerjhb <jhb@FreeBSD.org>2014-09-10 15:45:18 +0000
commitb2f9aa76a4bbf30efec9702139f27c272bbdfa80 (patch)
treed822b287ef479cc33ad682e76db8bacda1a7b040 /sys/sys/mman.h
parent692154fe89c88e5be49b1529dce6d92bff79de07 (diff)
downloadFreeBSD-src-b2f9aa76a4bbf30efec9702139f27c272bbdfa80.zip
FreeBSD-src-b2f9aa76a4bbf30efec9702139f27c272bbdfa80.tar.gz
MFC 270823,270825,270829:
Use a unit number allocator to provide suitable st_dev and st_ino values for POSIX shared memory descriptors. The implementation is similar to that used for pipes. Approved by: re (gjb for 10)
Diffstat (limited to 'sys/sys/mman.h')
-rw-r--r--sys/sys/mman.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/mman.h b/sys/sys/mman.h
index e89bee3..a13e3d1 100644
--- a/sys/sys/mman.h
+++ b/sys/sys/mman.h
@@ -219,6 +219,7 @@ struct shmfd {
struct timespec shm_mtime;
struct timespec shm_ctime;
struct timespec shm_birthtime;
+ ino_t shm_ino;
struct label *shm_label; /* MAC label */
const char *shm_path;
OpenPOWER on IntegriCloud