Skip to content

Commit

Permalink
update(driver): update syscalls tables and driver report.
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
yzewei authored Jun 1, 2024
1 parent 91e8aa8 commit ee06b52
Show file tree
Hide file tree
Showing 12 changed files with 439 additions and 415 deletions.
823 changes: 412 additions & 411 deletions docs/report.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion driver/SCHEMA_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.19.6
2.19.7
3 changes: 2 additions & 1 deletion driver/ppm_events_public.h
Original file line number Diff line number Diff line change
Expand Up @@ -1960,7 +1960,8 @@ enum extra_event_prog_code
PPM_SC_X(STATMOUNT, 438) \
PPM_SC_X(LSM_GET_SELF_ATTR, 439) \
PPM_SC_X(LSM_SET_SELF_ATTR, 440) \
PPM_SC_X(LSM_LIST_MODULES, 441)
PPM_SC_X(LSM_LIST_MODULES, 441) \
PPM_SC_X(MSEAL, 442)

typedef enum {
#define PPM_SC_X(name, value) PPM_SC_##name = (value),
Expand Down
3 changes: 3 additions & 0 deletions driver/syscall_compat_aarch64.h
Original file line number Diff line number Diff line change
Expand Up @@ -962,3 +962,6 @@ or GPL2.txt for full copies of the license.
#ifndef __NR_lsm_list_modules
#define __NR_lsm_list_modules 461
#endif
#ifndef __NR_mseal
#define __NR_mseal 462
#endif
3 changes: 3 additions & 0 deletions driver/syscall_compat_loongarch64.h
Original file line number Diff line number Diff line change
Expand Up @@ -944,3 +944,6 @@ or GPL2.txt for full copies of the license.
#ifndef __NR_lsm_list_modules
#define __NR_lsm_list_modules 461
#endif
#ifndef __NR_mseal
#define __NR_mseal 462
#endif
3 changes: 3 additions & 0 deletions driver/syscall_compat_ppc64le.h
Original file line number Diff line number Diff line change
Expand Up @@ -1193,3 +1193,6 @@ or GPL2.txt for full copies of the license.
#ifndef __NR_lsm_list_modules
#define __NR_lsm_list_modules 461
#endif
#ifndef __NR_mseal
#define __NR_mseal 462
#endif
3 changes: 3 additions & 0 deletions driver/syscall_compat_riscv64.h
Original file line number Diff line number Diff line change
Expand Up @@ -965,3 +965,6 @@ or GPL2.txt for full copies of the license.
#ifndef __NR_lsm_list_modules
#define __NR_lsm_list_modules 461
#endif
#ifndef __NR_mseal
#define __NR_mseal 462
#endif
3 changes: 3 additions & 0 deletions driver/syscall_compat_s390x.h
Original file line number Diff line number Diff line change
Expand Up @@ -1121,3 +1121,6 @@ or GPL2.txt for full copies of the license.
#ifndef __NR_lsm_list_modules
#define __NR_lsm_list_modules 461
#endif
#ifndef __NR_mseal
#define __NR_mseal 462
#endif
3 changes: 3 additions & 0 deletions driver/syscall_compat_x86_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -1097,3 +1097,6 @@ or GPL2.txt for full copies of the license.
#ifndef __NR_lsm_list_modules
#define __NR_lsm_list_modules 461
#endif
#ifndef __NR_mseal
#define __NR_mseal 462
#endif
1 change: 1 addition & 0 deletions driver/syscall_ia32_64_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,4 +453,5 @@ const int g_ia32_64_map[SYSCALL_TABLE_SIZE] = {
[459] = 459,
[460] = 460,
[461] = 461,
[462] = 462,
};
3 changes: 3 additions & 0 deletions driver/syscall_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -1009,4 +1009,7 @@ const struct syscall_evt_pair g_syscall_table[SYSCALL_TABLE_SIZE] = {
#ifdef __NR_listmount
[__NR_listmount - SYSCALL_TABLE_ID0] = {.ppm_sc = PPM_SC_LISTMOUNT},
#endif
#ifdef __NR_mseal
[__NR_mseal - SYSCALL_TABLE_ID0] = {.ppm_sc = PPM_SC_MSEAL},
#endif
};
4 changes: 2 additions & 2 deletions userspace/libscap/linux/scap_ppm_sc.c

Large diffs are not rendered by default.

0 comments on commit ee06b52

Please sign in to comment.