Skip to content

Commit

Permalink
added lsm_* system calls
Browse files Browse the repository at this point in the history
6.8 got three new LSM system calls:

- lsm_get_self_attr
- lsm_list_modules
- lsm_set_self_attr
  • Loading branch information
github-actions[bot] authored and hrw committed Jan 13, 2024
1 parent 455adf3 commit bbcf537
Show file tree
Hide file tree
Showing 60 changed files with 180 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/syscall-names.text
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie
lremovexattr
lseek
lsetxattr
lsm_get_self_attr
lsm_list_modules
lsm_set_self_attr
lstat
lstat64
madvise
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-alpha
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 406
lremovexattr 392
lseek 19
lsetxattr 383
lsm_get_self_attr 569
lsm_list_modules 571
lsm_set_self_attr 570
lstat 68
lstat64 426
madvise 75
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-arc
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 18
lremovexattr 15
lseek
lsetxattr 6
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat
lstat64
madvise 233
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-arm
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 249
lremovexattr 236
lseek 19
lsetxattr 227
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 107
lstat64 196
madvise 220
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-arm64
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 18
lremovexattr 15
lseek 62
lsetxattr 6
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat
lstat64
madvise 233
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-armoabi
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 9437433
lremovexattr 9437420
lseek 9437203
lsetxattr 9437411
lsm_get_self_attr 9437643
lsm_list_modules 9437645
lsm_set_self_attr 9437644
lstat 9437291
lstat64 9437380
madvise 9437404
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-csky
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 18
lremovexattr 15
lseek
lsetxattr 6
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat
lstat64
madvise 233
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-hexagon
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 18
lremovexattr 15
lseek
lsetxattr 6
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat
lstat64
madvise 233
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-i386
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 253
lremovexattr 236
lseek 19
lsetxattr 227
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 107
lstat64 196
madvise 219
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-loongarch64
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 18
lremovexattr 15
lseek 62
lsetxattr 6
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat
lstat64
madvise 233
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-m68k
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 248
lremovexattr 233
lseek 19
lsetxattr 224
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 107
lstat64 196
madvise 238
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-microblaze
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 253
lremovexattr 236
lseek 19
lsetxattr 227
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 107
lstat64 196
madvise 219
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-mips64
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 5206
lremovexattr 5190
lseek 5008
lsetxattr 5181
lsm_get_self_attr 5459
lsm_list_modules 5461
lsm_set_self_attr 5460
lstat 5006
lstat64
madvise 5027
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-mips64n32
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 6206
lremovexattr 6190
lseek 6008
lsetxattr 6181
lsm_get_self_attr 6459
lsm_list_modules 6461
lsm_set_self_attr 6460
lstat 6006
lstat64
madvise 6027
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-mipso32
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 4247
lremovexattr 4234
lseek 4019
lsetxattr 4225
lsm_get_self_attr 4459
lsm_list_modules 4461
lsm_set_self_attr 4460
lstat 4107
lstat64 4214
madvise 4218
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-nios2
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 18
lremovexattr 15
lseek
lsetxattr 6
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat
lstat64
madvise 233
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-openrisc
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 18
lremovexattr 15
lseek
lsetxattr 6
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat
lstat64
madvise 233
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-parisc
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 223
lremovexattr 248
lseek 19
lsetxattr 239
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 84
lstat64 198
madvise 119
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-powerpc
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 235
lremovexattr 219
lseek 19
lsetxattr 210
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 107
lstat64 196
madvise 205
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-powerpc64
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 235
lremovexattr 219
lseek 19
lsetxattr 210
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 107
lstat64
madvise 205
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-riscv32
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 18
lremovexattr 15
lseek
lsetxattr 6
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat
lstat64
madvise 233
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-riscv64
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 18
lremovexattr 15
lseek 62
lsetxattr 6
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat
lstat64
madvise 233
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-s390
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 110
lremovexattr 234
lseek 19
lsetxattr 225
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 107
lstat64 196
madvise 219
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-s390x
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 110
lremovexattr 234
lseek 19
lsetxattr 225
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 107
lstat64
madvise 219
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 253
lremovexattr 236
lseek 19
lsetxattr 227
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 107
lstat64 196
madvise 219
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-sparc
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 208
lremovexattr 182
lseek 19
lsetxattr 170
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 40
lstat64 132
madvise 75
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-sparc64
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 208
lremovexattr 182
lseek 19
lsetxattr 170
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 40
lstat64 132
madvise 75
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-x32
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 1073742036
lremovexattr 1073742022
lseek 1073741832
lsetxattr 1073742013
lsm_get_self_attr 1073742283
lsm_list_modules 1073742285
lsm_set_self_attr 1073742284
lstat 1073741830
lstat64
madvise 1073741852
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 212
lremovexattr 198
lseek 8
lsetxattr 189
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 6
lstat64
madvise 28
Expand Down
3 changes: 3 additions & 0 deletions data/tables/syscalls-xtensa
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ lookup_dcookie 254
lremovexattr 75
lseek 15
lsetxattr 72
lsm_get_self_attr 459
lsm_list_modules 461
lsm_set_self_attr 460
lstat 49
lstat64 50
madvise 91
Expand Down
3 changes: 3 additions & 0 deletions system_calls/tables/alpha.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@
"lremovexattr": 392,
"lseek": 19,
"lsetxattr": 383,
"lsm_get_self_attr": 569,
"lsm_list_modules": 571,
"lsm_set_self_attr": 570,
"lstat": 68,
"lstat64": 426,
"madvise": 75,
Expand Down
3 changes: 3 additions & 0 deletions system_calls/tables/arc.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@
"lookup_dcookie": 18,
"lremovexattr": 15,
"lsetxattr": 6,
"lsm_get_self_attr": 459,
"lsm_list_modules": 461,
"lsm_set_self_attr": 460,
"madvise": 233,
"map_shadow_stack": 453,
"mbind": 235,
Expand Down
3 changes: 3 additions & 0 deletions system_calls/tables/arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@
"lremovexattr": 236,
"lseek": 19,
"lsetxattr": 227,
"lsm_get_self_attr": 459,
"lsm_list_modules": 461,
"lsm_set_self_attr": 460,
"lstat": 107,
"lstat64": 196,
"madvise": 220,
Expand Down
3 changes: 3 additions & 0 deletions system_calls/tables/arm64.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@
"lremovexattr": 15,
"lseek": 62,
"lsetxattr": 6,
"lsm_get_self_attr": 459,
"lsm_list_modules": 461,
"lsm_set_self_attr": 460,
"madvise": 233,
"map_shadow_stack": 453,
"mbind": 235,
Expand Down
3 changes: 3 additions & 0 deletions system_calls/tables/armoabi.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@
"lremovexattr": 9437420,
"lseek": 9437203,
"lsetxattr": 9437411,
"lsm_get_self_attr": 9437643,
"lsm_list_modules": 9437645,
"lsm_set_self_attr": 9437644,
"lstat": 9437291,
"lstat64": 9437380,
"madvise": 9437404,
Expand Down
3 changes: 3 additions & 0 deletions system_calls/tables/csky.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@
"lookup_dcookie": 18,
"lremovexattr": 15,
"lsetxattr": 6,
"lsm_get_self_attr": 459,
"lsm_list_modules": 461,
"lsm_set_self_attr": 460,
"madvise": 233,
"map_shadow_stack": 453,
"mbind": 235,
Expand Down
3 changes: 3 additions & 0 deletions system_calls/tables/hexagon.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"lookup_dcookie": 18,
"lremovexattr": 15,
"lsetxattr": 6,
"lsm_get_self_attr": 459,
"lsm_list_modules": 461,
"lsm_set_self_attr": 460,
"madvise": 233,
"map_shadow_stack": 453,
"mbind": 235,
Expand Down
3 changes: 3 additions & 0 deletions system_calls/tables/i386.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@
"lremovexattr": 236,
"lseek": 19,
"lsetxattr": 227,
"lsm_get_self_attr": 459,
"lsm_list_modules": 461,
"lsm_set_self_attr": 460,
"lstat": 107,
"lstat64": 196,
"madvise": 219,
Expand Down
3 changes: 3 additions & 0 deletions system_calls/tables/loongarch64.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@
"lremovexattr": 15,
"lseek": 62,
"lsetxattr": 6,
"lsm_get_self_attr": 459,
"lsm_list_modules": 461,
"lsm_set_self_attr": 460,
"madvise": 233,
"map_shadow_stack": 453,
"mbind": 235,
Expand Down
3 changes: 3 additions & 0 deletions system_calls/tables/m68k.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@
"lremovexattr": 233,
"lseek": 19,
"lsetxattr": 224,
"lsm_get_self_attr": 459,
"lsm_list_modules": 461,
"lsm_set_self_attr": 460,
"lstat": 107,
"lstat64": 196,
"madvise": 238,
Expand Down
Loading

0 comments on commit bbcf537

Please sign in to comment.