Skip to content

Commit

Permalink
Merge pull request kubearmor#1637 from Prateeknandle/signal
Browse files Browse the repository at this point in the history
fix : adding header for signal_struct
  • Loading branch information
daemon1024 authored Feb 16, 2024
2 parents 291c2b6 + 74f0ba8 commit 1e31e1a
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions KubeArmor/BPF/system_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@

#include <linux/bpf.h>
#include <linux/version.h>
#include <linux/sched/signal.h>
#include <linux/tty.h>

#endif

#include <bpf_helpers.h>
Expand Down Expand Up @@ -195,14 +198,6 @@ struct fs_struct {
struct path pwd;
};

struct tty_struct {
char name[64];
};

struct signal_struct {
struct tty_struct *tty;
};

struct mount
{
struct hlist_node mnt_hash;
Expand Down

0 comments on commit 1e31e1a

Please sign in to comment.