1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (c) 2020 Cyril Hrubis <chrubis@suse.cz> 4 */ 5 6 #ifndef LAPI_SHM_H__ 7 #define LAPI_SHM_H__ 8 9 #include <limits.h> 10 11 #ifndef SHM_STAT_ANY 12 # define SHM_STAT_ANY 15 13 #endif 14 15 #ifndef SHMMIN 16 # define SHMMIN 1 17 #endif 18 19 #ifndef SHMMAX 20 # define SHMMAX (ULONG_MAX - (1UL << 24)) 21 #endif 22 23 #ifndef SHMMNI 24 # define SHMMNI 4096 25 #endif 26 27 #endif /* LAPI_SHM_H__ */ 28