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
LucaGuerra authored Sep 1, 2024
1 parent 6c11056 commit 0013d3e
Show file tree
Hide file tree
Showing 11 changed files with 3,495 additions and 55 deletions.
413 changes: 413 additions & 0 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.3.0
2.3.1
44 changes: 43 additions & 1 deletion driver/ppm_events_public.h
Original file line number Diff line number Diff line change
Expand Up @@ -1630,7 +1630,49 @@ enum extra_event_prog_code
PPM_SC_X(SCHED_SWITCH, 397) \
PPM_SC_X(PAGE_FAULT_USER, 398) \
PPM_SC_X(PAGE_FAULT_KERNEL, 399) \
PPM_SC_X(SIGNAL_DELIVER, 400)
PPM_SC_X(SIGNAL_DELIVER, 400) \
PPM_SC_X(READDIR, 401) \
PPM_SC_X(CACHESTAT, 402) \
PPM_SC_X(OLDLSTAT, 403) \
PPM_SC_X(LSM_SET_SELF_ATTR, 404) \
PPM_SC_X(SIGACTION, 405) \
PPM_SC_X(S390_STHYI, 406) \
PPM_SC_X(SWITCH_ENDIAN, 407) \
PPM_SC_X(PCICONFIG_IOBASE, 408) \
PPM_SC_X(MULTIPLEXER, 409) \
PPM_SC_X(MSEAL, 410) \
PPM_SC_X(SPU_RUN, 411) \
PPM_SC_X(OLDOLDUNAME, 412) \
PPM_SC_X(URETPROBE, 413) \
PPM_SC_X(S390_PCI_MMIO_WRITE, 414) \
PPM_SC_X(SYS_DEBUG_SETCONTEXT, 415) \
PPM_SC_X(FUTEX_REQUEUE, 416) \
PPM_SC_X(LSM_LIST_MODULES, 417) \
PPM_SC_X(RISCV_HWPROBE, 418) \
PPM_SC_X(VM86, 419) \
PPM_SC_X(MAP_SHADOW_STACK, 420) \
PPM_SC_X(SIGRETURN, 421) \
PPM_SC_X(RTAS, 422) \
PPM_SC_X(S390_GUARDED_STORAGE, 423) \
PPM_SC_X(RISCV_FLUSH_ICACHE, 424) \
PPM_SC_X(S390_RUNTIME_INSTR, 425) \
PPM_SC_X(S390_PCI_MMIO_READ, 426) \
PPM_SC_X(OLDSTAT, 427) \
PPM_SC_X(PCICONFIG_READ, 428) \
PPM_SC_X(PCICONFIG_WRITE, 429) \
PPM_SC_X(LSM_GET_SELF_ATTR, 430) \
PPM_SC_X(STATMOUNT, 431) \
PPM_SC_X(SPU_CREATE, 432) \
PPM_SC_X(SUBPAGE_PROT, 433) \
PPM_SC_X(SYNC_FILE_RANGE2, 434) \
PPM_SC_X(TIMERFD, 435) \
PPM_SC_X(SIGSUSPEND, 436) \
PPM_SC_X(SWAPCONTEXT, 437) \
PPM_SC_X(FUTEX_WAIT, 438) \
PPM_SC_X(OLDFSTAT, 439) \
PPM_SC_X(FUTEX_WAKE, 440) \
PPM_SC_X(FCHMODAT2, 441) \
PPM_SC_X(LISTMOUNT, 442)

typedef enum {
#define PPM_SC_X(name, value) PPM_SC_##name = (value),
Expand Down
54 changes: 51 additions & 3 deletions driver/syscall_compat_aarch64.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// SPDX-License-Identifier: GPL-2.0-only OR MIT
/*
Copyright (C) 2023 The Falco Authors.
This file is dual licensed under either the MIT or GPL 2. See MIT.txt
or GPL2.txt for full copies of the license.
*/

/*
* This file was automatically created by syscalls-bumper (https://github.com/falcosecurity/syscalls-bumper).")
* DO NOT EDIT THIS FILE MANUALLY.")
*/

#pragma once
#ifndef __NR_io_setup
#define __NR_io_setup 0
Expand Down Expand Up @@ -125,9 +140,6 @@
#ifndef __NR_pivot_root
#define __NR_pivot_root 41
#endif
#ifndef __NR_nfsservctl
#define __NR_nfsservctl 42
#endif
#ifndef __NR_statfs
#define __NR_statfs 43
#endif
Expand Down Expand Up @@ -917,3 +929,39 @@
#ifndef __NR_set_mempolicy_home_node
#define __NR_set_mempolicy_home_node 450
#endif
#ifndef __NR_cachestat
#define __NR_cachestat 451
#endif
#ifndef __NR_fchmodat2
#define __NR_fchmodat2 452
#endif
#ifndef __NR_map_shadow_stack
#define __NR_map_shadow_stack 453
#endif
#ifndef __NR_futex_wake
#define __NR_futex_wake 454
#endif
#ifndef __NR_futex_wait
#define __NR_futex_wait 455
#endif
#ifndef __NR_futex_requeue
#define __NR_futex_requeue 456
#endif
#ifndef __NR_statmount
#define __NR_statmount 457
#endif
#ifndef __NR_listmount
#define __NR_listmount 458
#endif
#ifndef __NR_lsm_get_self_attr
#define __NR_lsm_get_self_attr 459
#endif
#ifndef __NR_lsm_set_self_attr
#define __NR_lsm_set_self_attr 460
#endif
#ifndef __NR_lsm_list_modules
#define __NR_lsm_list_modules 461
#endif
#ifndef __NR_mseal
#define __NR_mseal 462
#endif
Loading

0 comments on commit 0013d3e

Please sign in to comment.