| Server IP : 68.178.164.50 / Your IP : 216.73.216.142 Web Server : Apache System : Linux 50.164.178.68.host.secureserver.net 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64 User : rathinambschool ( 1053) PHP Version : 8.2.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/include/linux/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Linux Security Modules (LSM) - User space API * * Copyright (C) 2022 Casey Schaufler <casey@schaufler-ca.com> * Copyright (C) 2022 Intel Corporation */ #ifndef _LINUX_LSM_H #define _LINUX_LSM_H /* * ID tokens to identify Linux Security Modules (LSMs) * * These token values are used to uniquely identify specific LSMs * in the kernel as well as in the kernel's LSM userspace API. * * A value of zero/0 is considered undefined and should not be used * outside the kernel. Values 1-99 are reserved for potential * future use. */ #define LSM_ID_UNDEF 0 #define LSM_ID_CAPABILITY 100 #define LSM_ID_SELINUX 101 #define LSM_ID_SMACK 102 #define LSM_ID_TOMOYO 103 #define LSM_ID_IMA 104 #define LSM_ID_APPARMOR 105 #define LSM_ID_YAMA 106 #define LSM_ID_LOADPIN 107 #define LSM_ID_SAFESETID 108 #define LSM_ID_LOCKDOWN 109 #define LSM_ID_BPF 110 #define LSM_ID_LANDLOCK 111 /* * LSM_ATTR_XXX definitions identify different LSM attributes * which are used in the kernel's LSM userspace API. Support * for these attributes vary across the different LSMs. None * are required. * * A value of zero/0 is considered undefined and should not be used * outside the kernel. Values 1-99 are reserved for potential * future use. */ #define LSM_ATTR_UNDEF 0 #define LSM_ATTR_CURRENT 100 #define LSM_ATTR_EXEC 101 #define LSM_ATTR_FSCREATE 102 #define LSM_ATTR_KEYCREATE 103 #define LSM_ATTR_PREV 104 #define LSM_ATTR_SOCKCREATE 105 #endif /* _LINUX_LSM_H */