diff --git a/sys/kern/sysv_sem.c b/sys/kern/sysv_sem.c index 56bd842682a0..1bef15d0153f 100644 --- a/sys/kern/sysv_sem.c +++ b/sys/kern/sysv_sem.c @@ -154,18 +154,18 @@ SYSCTL_INT(_kern_ipc, OID_AUTO, semaem, CTLFLAG_RW, &seminfo.semaem, 0, ""); SYSCTL_PROC(_kern_ipc, OID_AUTO, sema, CTLFLAG_RD, NULL, 0, sysctl_sema, "", ""); -#if 0 -RO seminfo.semmap /* SEMMAP unused */ -RO seminfo.semmni -RO seminfo.semmns -RO seminfo.semmnu /* undo entries per system */ -RW seminfo.semmsl -RO seminfo.semopm /* SEMOPM unused */ -RO seminfo.semume -RO seminfo.semusz /* param - derived from SEMUME for per-proc sizeof */ -RO seminfo.semvmx /* SEMVMX unused - user param */ -RO seminfo.semaem /* SEMAEM unused - user param */ -#endif +/*- + * RW seminfo.semmap: SEMMAP unused + * RO seminfo.semmni + * RO seminfo.semmns + * RO seminfo.semmnu: undo entries per system + * RW seminfo.semmsl + * RO seminfo.semopm: SEMOPM unused + * RO seminfo.semume + * RO seminfo.semusz: param - derived from SEMUME for per-proc sizeof + * RW seminfo.semvmx: SEMVMX unused - user param + * RW seminfo.semaem: SEMAEM unused - user param + */ static void seminit(void)