Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/report.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
| fcntl | 🟢 | aarch64,loongarch64,ppc64le,riscv64,s390x,x86_64 |
| fdatasync | 🟡 | aarch64,loongarch64,ppc64le,riscv64,s390x,x86_64 |
| fgetxattr | 🟡 | aarch64,loongarch64,ppc64le,riscv64,s390x,x86_64 |
| file_getattr | 🟡 | aarch64,loongarch64,ppc64le,riscv64,s390x,x86_64 |
| file_setattr | 🟡 | aarch64,loongarch64,ppc64le,riscv64,s390x,x86_64 |
| finit_module | 🟢 | aarch64,loongarch64,ppc64le,riscv64,s390x,x86_64 |
| flistxattr | 🟡 | aarch64,loongarch64,ppc64le,riscv64,s390x,x86_64 |
| flock | 🟢 | aarch64,loongarch64,ppc64le,riscv64,s390x,x86_64 |
Expand Down
2 changes: 1 addition & 1 deletion driver/SCHEMA_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.69.0
3.69.1
4 changes: 3 additions & 1 deletion driver/ppm_events_public.h
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,9 @@ enum sys_exit_extra_code {
PPM_SC_X(LISTXATTRAT, 445) \
PPM_SC_X(GETXATTRAT, 446) \
PPM_SC_X(SETXATTRAT, 447) \
PPM_SC_X(OPEN_TREE_ATTR, 448)
PPM_SC_X(OPEN_TREE_ATTR, 448) \
PPM_SC_X(FILE_GETATTR, 449) \
PPM_SC_X(FILE_SETATTR, 450)

typedef enum {
#define PPM_SC_X(name, value) PPM_SC_##name = (value),
Expand Down
6 changes: 6 additions & 0 deletions driver/syscall_compat_aarch64.h
Original file line number Diff line number Diff line change
Expand Up @@ -980,3 +980,9 @@ or GPL2.txt for full copies of the license.
#ifndef __NR_open_tree_attr
#define __NR_open_tree_attr 467
#endif
#ifndef __NR_file_getattr
#define __NR_file_getattr 468
#endif
#ifndef __NR_file_setattr
#define __NR_file_setattr 469
#endif
6 changes: 6 additions & 0 deletions driver/syscall_compat_loongarch64.h
Original file line number Diff line number Diff line change
Expand Up @@ -968,3 +968,9 @@ or GPL2.txt for full copies of the license.
#ifndef __NR_open_tree_attr
#define __NR_open_tree_attr 467
#endif
#ifndef __NR_file_getattr
#define __NR_file_getattr 468
#endif
#ifndef __NR_file_setattr
#define __NR_file_setattr 469
#endif
6 changes: 6 additions & 0 deletions driver/syscall_compat_ppc64le.h
Original file line number Diff line number Diff line change
Expand Up @@ -1211,3 +1211,9 @@ or GPL2.txt for full copies of the license.
#ifndef __NR_open_tree_attr
#define __NR_open_tree_attr 467
#endif
#ifndef __NR_file_getattr
#define __NR_file_getattr 468
#endif
#ifndef __NR_file_setattr
#define __NR_file_setattr 469
#endif
6 changes: 6 additions & 0 deletions driver/syscall_compat_riscv64.h
Original file line number Diff line number Diff line change
Expand Up @@ -983,3 +983,9 @@ or GPL2.txt for full copies of the license.
#ifndef __NR_open_tree_attr
#define __NR_open_tree_attr 467
#endif
#ifndef __NR_file_getattr
#define __NR_file_getattr 468
#endif
#ifndef __NR_file_setattr
#define __NR_file_setattr 469
#endif
6 changes: 6 additions & 0 deletions driver/syscall_compat_s390x.h
Original file line number Diff line number Diff line change
Expand Up @@ -1139,3 +1139,9 @@ or GPL2.txt for full copies of the license.
#ifndef __NR_open_tree_attr
#define __NR_open_tree_attr 467
#endif
#ifndef __NR_file_getattr
#define __NR_file_getattr 468
#endif
#ifndef __NR_file_setattr
#define __NR_file_setattr 469
#endif
6 changes: 6 additions & 0 deletions driver/syscall_compat_x86_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -1118,3 +1118,9 @@ or GPL2.txt for full copies of the license.
#ifndef __NR_open_tree_attr
#define __NR_open_tree_attr 467
#endif
#ifndef __NR_file_getattr
#define __NR_file_getattr 468
#endif
#ifndef __NR_file_setattr
#define __NR_file_setattr 469
#endif
2 changes: 2 additions & 0 deletions driver/syscall_ia32_64_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,4 +459,6 @@ const int g_ia32_64_map[SYSCALL_TABLE_SIZE] = {
[465] = 465,
[466] = 466,
[467] = 467,
[468] = 468,
[469] = 469,
};
6 changes: 6 additions & 0 deletions driver/syscall_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -1033,4 +1033,10 @@ const struct syscall_evt_pair g_syscall_table[SYSCALL_TABLE_SIZE] = {
#ifdef __NR_open_tree_attr
[__NR_open_tree_attr - SYSCALL_TABLE_ID0] = {.ppm_sc = PPM_SC_OPEN_TREE_ATTR},
#endif
#ifdef __NR_file_setattr
[__NR_file_setattr - SYSCALL_TABLE_ID0] = {.ppm_sc = PPM_SC_FILE_SETATTR},
#endif
#ifdef __NR_file_getattr
[__NR_file_getattr - SYSCALL_TABLE_ID0] = {.ppm_sc = PPM_SC_FILE_GETATTR},
#endif
};
4 changes: 4 additions & 0 deletions userspace/libscap/linux/scap_ppm_sc.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ static const ppm_sc_code *g_events_to_sc_map[] = {
PPM_SC_GETXATTRAT,
PPM_SC_SETXATTRAT,
PPM_SC_OPEN_TREE_ATTR,
PPM_SC_FILE_GETATTR,
PPM_SC_FILE_SETATTR,
-1},
[PPME_GENERIC_X] = (ppm_sc_code[]){PPM_SC_RESTART_SYSCALL,
PPM_SC_EXIT,
Expand Down Expand Up @@ -570,6 +572,8 @@ static const ppm_sc_code *g_events_to_sc_map[] = {
PPM_SC_SETXATTRAT,
PPM_SC_REMOVEXATTRAT,
PPM_SC_OPEN_TREE_ATTR,
PPM_SC_FILE_GETATTR,
PPM_SC_FILE_SETATTR,
-1},
[PPME_SYSCALL_OPEN_E] = (ppm_sc_code[]){PPM_SC_OPEN, -1},
[PPME_SYSCALL_OPEN_X] = (ppm_sc_code[]){PPM_SC_OPEN, -1},
Expand Down
Loading