PERFORCE change 181249 for review

Ilya Bakulin kibab at FreeBSD.org
Wed Jul 21 06:05:02 UTC 2010


http://p4web.freebsd.org/@@181249?ac=10

Change 181249 by kibab at kibab_kibab-nb on 2010/07/21 06:04:48

	Added FEATUREs for varios SystemV interfaces support modules.
	Note that sysv IPC is actually compiled in regardless of any options,
	so we don't include FEATURE in this file.  

Affected files ...

.. //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/sysv_ipc.c#2 edit
.. //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/sysv_msg.c#2 edit
.. //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/sysv_sem.c#3 edit
.. //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/sysv_shm.c#3 edit

Differences ...

==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/sysv_ipc.c#2 (text+ko) ====


==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/sysv_msg.c#2 (text+ko) ====

@@ -72,6 +72,8 @@
 
 #include <security/mac/mac_framework.h>
 
+FEATURE(sysv_msg, "System V message queues support");
+
 static MALLOC_DEFINE(M_MSG, "msg", "SVID compatible message queues");
 
 static int msginit(void);

==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/sysv_sem.c#3 (text+ko) ====

@@ -62,6 +62,8 @@
 
 #include <security/mac/mac_framework.h>
 
+FEATURE(sysv_sem, "System V semaphores support");
+
 static MALLOC_DEFINE(M_SEM, "sem", "SVID compatible semaphores");
 
 #ifdef SEM_DEBUG

==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/sysv_shm.c#3 (text+ko) ====

@@ -95,6 +95,8 @@
 #include <vm/vm_page.h>
 #include <vm/vm_pager.h>
 
+FEATURE(sysv_shm, "System V shared memory segments support");
+
 static MALLOC_DEFINE(M_SHM, "shm", "SVID compatible shared memory segments");
 
 static int shmget_allocate_segment(struct thread *td,


More information about the p4-projects mailing list