SUSE / linux-security-sensor

Linux security sensor
Other
18 stars 9 forks source link

chattrsnoop: replace global variables with locals #104

Closed djoreilly closed 4 months ago

djoreilly commented 4 months ago

libbpf has to create a map and do relocations for global variables and sometimes there is a file descriptor error with the map. These variables don't need to be global, so we can make them local and avoid this problem.