summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/sem.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-09 19:20:15 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-09 19:20:15 +0100
commit885f5974cdf65b59415837ae97f5a14ef1350670 (patch)
tree66ac13de29c7f4932c5fcae11773df574e4e256a /include/arch/x86_64/linux/sem.h
parent8f9e448b2ef6db7cd905540c21f3c5b190e7a1e7 (diff)
feat: add gzip and new headers
Diffstat (limited to 'include/arch/x86_64/linux/sem.h')
-rw-r--r--include/arch/x86_64/linux/sem.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/include/arch/x86_64/linux/sem.h b/include/arch/x86_64/linux/sem.h
index a555806f..38685e75 100644
--- a/include/arch/x86_64/linux/sem.h
+++ b/include/arch/x86_64/linux/sem.h
@@ -76,13 +76,14 @@ struct seminfo {
* allocating the sop array.
*/
-#define SEMMNI 32000 /* <= IPCMNI max # of semaphore identifiers */
-#define SEMMSL 32000 /* <= INT_MAX max num of semaphores per id */
-#define SEMMNS (SEMMNI * SEMMSL) /* <= INT_MAX max # of semaphores in system \
- */
-#define SEMOPM 500 /* <= 1 000 max num of ops per semop call */
-#define SEMVMX 32767 /* <= 32767 semaphore maximum value */
-#define SEMAEM SEMVMX /* adjust on exit max value */
+#define SEMMNI 32000 /* <= IPCMNI max # of semaphore identifiers */
+#define SEMMSL 32000 /* <= INT_MAX max num of semaphores per id */
+#define SEMMNS \
+ (SEMMNI * SEMMSL) /* <= INT_MAX max # of semaphores in system \
+ */
+#define SEMOPM 500 /* <= 1 000 max num of ops per semop call */
+#define SEMVMX 32767 /* <= 32767 semaphore maximum value */
+#define SEMAEM SEMVMX /* adjust on exit max value */
/* unused */
#define SEMUME SEMOPM /* max num of undo entries per process */