Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102679933
D45175.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
748 B
Referenced Files
None
Subscribers
None
D45175.diff
View Options
diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c
--- a/sys/kern/sysv_shm.c
+++ b/sys/kern/sysv_shm.c
@@ -109,10 +109,6 @@
static MALLOC_DEFINE(M_SHM, "shm", "SVID compatible shared memory segments");
-#define SHMSEG_FREE 0x0200
-#define SHMSEG_REMOVED 0x0400
-#define SHMSEG_ALLOCATED 0x0800
-
static int shm_last_free, shm_nused, shmalloced;
vm_size_t shm_committed;
static struct shmid_kernel *shmsegs;
diff --git a/sys/sys/shm.h b/sys/sys/shm.h
--- a/sys/sys/shm.h
+++ b/sys/sys/shm.h
@@ -152,6 +152,10 @@
extern struct shminfo shminfo;
+#define SHMSEG_FREE 0x0200
+#define SHMSEG_REMOVED 0x0400
+#define SHMSEG_ALLOCATED 0x0800
+
void shmexit(struct vmspace *);
void shmfork(struct proc *, struct proc *);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 6:50 PM (20 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14663046
Default Alt Text
D45175.diff (748 B)
Attached To
Mode
D45175: SysV IPC: provide in-kernel helpers to obtain ipcs(8)-like information
Attached
Detach File
Event Timeline
Log In to Comment