/* SPDX-License-Identifier: GPL-2.0-only */ /* * Landlock LSM - Limits for different components * * Copyright © 2016-2020 Mickaël Salaün <[email protected]> * Copyright © 2018-2020 ANSSI */ #ifndef _SECURITY_LANDLOCK_LIMITS_H #define _SECURITY_LANDLOCK_LIMITS_H #include <linux/bitops.h> #include <linux/limits.h> #include <uapi/linux/landlock.h> /* clang-format off */ #define LANDLOCK_MAX_NUM_LAYERS … #define LANDLOCK_MAX_NUM_RULES … #define LANDLOCK_LAST_ACCESS_FS … #define LANDLOCK_MASK_ACCESS_FS … #define LANDLOCK_NUM_ACCESS_FS … #define LANDLOCK_LAST_ACCESS_NET … #define LANDLOCK_MASK_ACCESS_NET … #define LANDLOCK_NUM_ACCESS_NET … /* clang-format on */ #endif /* _SECURITY_LANDLOCK_LIMITS_H */