Skip to content

Commit

Permalink
wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
mmat11 committed Sep 29, 2023
1 parent 7bddbfc commit b916220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GPL/Events/Helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ static long ebpf_env__fill(char *buf, size_t buf_size, const struct task_struct
static void ebpf_tty_dev__fill(struct ebpf_tty_dev *tty_dev, const struct tty_struct *tty)
{
tty_dev->major = BPF_CORE_READ(tty, driver, major);
tty_dev->minor = BPF_CORE_READ(tty, driver, minor_start);
tty_dev->minor += BPF_CORE_READ(tty, index);
// tty_dev->minor = BPF_CORE_READ(tty, driver, minor_start);
// tty_dev->minor += BPF_CORE_READ(tty, index);

struct winsize winsize = BPF_CORE_READ(tty, winsize);
struct ebpf_tty_winsize ws = {};
Expand Down

0 comments on commit b916220

Please sign in to comment.