Skip to content

Commit 1e31e1a

Browse files
authored
Merge pull request kubearmor#1637 from Prateeknandle/signal
fix : adding header for signal_struct
2 parents 291c2b6 + 74f0ba8 commit 1e31e1a

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

KubeArmor/BPF/system_monitor.c

+3-8
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939

4040
#include <linux/bpf.h>
4141
#include <linux/version.h>
42+
#include <linux/sched/signal.h>
43+
#include <linux/tty.h>
44+
4245
#endif
4346

4447
#include <bpf_helpers.h>
@@ -195,14 +198,6 @@ struct fs_struct {
195198
struct path pwd;
196199
};
197200

198-
struct tty_struct {
199-
char name[64];
200-
};
201-
202-
struct signal_struct {
203-
struct tty_struct *tty;
204-
};
205-
206201
struct mount
207202
{
208203
struct hlist_node mnt_hash;

0 commit comments

Comments
 (0)