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

typedef enum {
#define PPM_SC_X(name, value) PPM_SC_##name = (value),
Expand Down
51 changes: 48 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,36 @@
#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
Loading

0 comments on commit d266a72

Please sign in to comment.