@@ -491,3 +491,6 @@
559 common futex_waitv sys_futex_waitv
560 common set_mempolicy_home_node sys_ni_syscall
561 common cachestat sys_cachestat
+562 common lsm_get_self_attr sys_lsm_get_self_attr
+563 common lsm_set_self_attr sys_lsm_set_self_attr
+564 common lsm_list_modules sys_lsm_list_modules
@@ -465,3 +465,6 @@
449 common futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules
@@ -39,7 +39,7 @@
#define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE + 5)
#define __ARM_NR_COMPAT_END (__ARM_NR_COMPAT_BASE + 0x800)
-#define __NR_compat_syscalls 452
+#define __NR_compat_syscalls 455
#endif
#define __ARCH_WANT_SYS_CLONE
@@ -909,6 +909,12 @@ __SYSCALL(__NR_futex_waitv, sys_futex_waitv)
__SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)
#define __NR_cachestat 451
__SYSCALL(__NR_cachestat, sys_cachestat)
+#define __NR_lsm_get_self_attr 452
+__SYSCALL(__NR_lsm_get_self_attr, sys_lsm_get_self_attr)
+#define __NR_lsm_set_self_attr 453
+__SYSCALL(__NR_lsm_set_self_attr, sys_lsm_set_self_attr)
+#define __NR_lsm_list_modules 454
+__SYSCALL(__NR_lsm_list_modules, sys_lsm_list_modules)
/*
* Please add new compat syscalls above this comment and update
@@ -372,3 +372,6 @@
449 common futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules
@@ -451,3 +451,6 @@
449 common futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules
@@ -457,3 +457,6 @@
449 common futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules
@@ -390,3 +390,6 @@
449 n32 futex_waitv sys_futex_waitv
450 n32 set_mempolicy_home_node sys_set_mempolicy_home_node
451 n32 cachestat sys_cachestat
+452 n32 lsm_get_self_attr sys_lsm_get_self_attr
+453 n32 lsm_set_self_attr sys_lsm_set_self_attr
+454 n32 lsm_list_modules sys_lsm_list_modules
@@ -366,3 +366,6 @@
449 n64 futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
451 n64 cachestat sys_cachestat
+452 n64 lsm_get_self_attr sys_lsm_get_self_attr
+453 n64 lsm_set_self_attr sys_lsm_set_self_attr
+454 n64 lsm_list_modules sys_lsm_list_modules
@@ -439,3 +439,6 @@
449 o32 futex_waitv sys_futex_waitv
450 o32 set_mempolicy_home_node sys_set_mempolicy_home_node
451 o32 cachestat sys_cachestat
+452 o32 lsm_get_self_attr sys_lsm_get_self_attr
+453 032 lsm_set_self_attr sys_lsm_set_self_attr
+454 o32 lsm_list_modules sys_lsm_list_modules
@@ -450,3 +450,6 @@
449 common futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules
@@ -538,3 +538,6 @@
449 common futex_waitv sys_futex_waitv
450 nospu set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules
@@ -454,3 +454,6 @@
449 common futex_waitv sys_futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules sys_lsm_list_modules
@@ -454,3 +454,6 @@
449 common futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules
@@ -497,3 +497,6 @@
449 common futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules
@@ -456,3 +456,6 @@
449 i386 futex_waitv sys_futex_waitv
450 i386 set_mempolicy_home_node sys_set_mempolicy_home_node
451 i386 cachestat sys_cachestat
+452 i386 lsm_get_self_attr sys_lsm_get_self_attr
+453 i386 lsm_set_self_attr sys_lsm_set_self_attr
+454 i386 lsm_list_modules sys_lsm_list_modules
@@ -373,6 +373,9 @@
449 common futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules
#
# Due to a historical design error, certain syscalls are numbered differently
@@ -422,3 +422,6 @@
449 common futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules
@@ -820,8 +820,15 @@ __SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)
#define __NR_cachestat 451
__SYSCALL(__NR_cachestat, sys_cachestat)
+#define __NR_lsm_get_self_attr 452
+__SYSCALL(__NR_lsm_get_self_attr, sys_lsm_get_self_attr)
+#define __NR_lsm_set_self_attr 453
+__SYSCALL(__NR_lsm_set_self_attr, sys_lsm_set_self_attr)
+#define __NR_lsm_list_modules 454
+__SYSCALL(__NR_lsm_list_modules, sys_lsm_list_modules)
+
#undef __NR_syscalls
-#define __NR_syscalls 452
+#define __NR_syscalls 455
/*
* 32 bit systems traditionally used different
@@ -366,3 +366,6 @@
449 n64 futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
451 n64 cachestat sys_cachestat
+452 n64 lsm_get_self_attr sys_lsm_get_self_attr
+453 n64 lsm_set_self_attr sys_lsm_set_self_attr
+454 n64 lsm_list_modules sys_lsm_list_modules
@@ -538,3 +538,6 @@
449 common futex_waitv sys_futex_waitv
450 nospu set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules
@@ -454,3 +454,6 @@
449 common futex_waitv sys_futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules sys_lsm_list_modules
@@ -373,6 +373,9 @@
449 common futex_waitv sys_futex_waitv
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
451 common cachestat sys_cachestat
+452 common lsm_get_self_attr sys_lsm_get_self_attr
+453 common lsm_set_self_attr sys_lsm_set_self_attr
+454 common lsm_list_modules sys_lsm_list_modules
#
# Due to a historical design error, certain syscalls are numbered differently