Skip to content

Commit

Permalink
Add authors info
Browse files Browse the repository at this point in the history
  • Loading branch information
yanivagman committed Sep 22, 2019
1 parent 1fe3310 commit ba4f4ac
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
8 changes: 7 additions & 1 deletion container_event_monitor_ebpf.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Authors:
* Yaniv Agman <yaniv@aquasec.com>
*
*/

// todo: add missing syscalls
// todo: macro of function which includes entry and exit
// todo: fix problem with execveat - can't see pathname
Expand Down Expand Up @@ -677,4 +683,4 @@ int kprobe__cap_capable(struct pt_regs *ctx, const struct cred *cred,

events.perf_submit(ctx, &cap_info, sizeof(cap_info_t));
return 0;
};
};
4 changes: 4 additions & 0 deletions container_tracer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/python

# Authors:
# Yaniv Agman <yaniv@aquasec.com>


# todo: add syscalls: "getdirents", "uname"
# todo: add full sockaddr struct to: "connect", "accept", "bind", "getsockname"
# todo: move python helpers (e.g. flags) to different file
Expand Down
5 changes: 4 additions & 1 deletion start.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/python

# Authors:
# Yaniv Agman <yaniv@aquasec.com>

# arguments
import argparse
from container_tracer import EventMonitor
Expand All @@ -22,4 +25,4 @@

event_monitor = EventMonitor(args)
event_monitor.init_bpf()
event_monitor.monitor_events()
event_monitor.monitor_events()

0 comments on commit ba4f4ac

Please sign in to comment.