https://github.com/cilium/cilium
Revision 28b4c96871df76c84c9afd2f91058b78d87f7c03 authored by Alexandre Perrin on 29 September 2020, 14:41:23 UTC, committed by Robin Hahling on 01 October 2020, 08:56:44 UTC
fsnotify Event.Op is a bit mask and testing for strict equality might
not detect the event operation correctly.

This patch make it so we check for fsnotify event operation
consistently as documented at https://github.com/fsnotify/fsnotify.

Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
1 parent b71cf0d
History
Tip revision: 28b4c96871df76c84c9afd2f91058b78d87f7c03 authored by Alexandre Perrin on 29 September 2020, 14:41:23 UTC
fsnotify: correctly check for event operation
Tip revision: 28b4c96
File Mode Size
include
lib
sockops
tests
.gitignore -rw-r--r-- 151 bytes
COPYING -rw-r--r-- 17.6 KB
Makefile -rw-r--r-- 11.0 KB
Makefile.bpf -rw-r--r-- 2.5 KB
bpf_alignchecker.c -rw-r--r-- 2.6 KB
bpf_features.h -rw-r--r-- 333 bytes
bpf_host.c -rw-r--r-- 28.5 KB
bpf_lxc.c -rw-r--r-- 40.9 KB
bpf_network.c -rw-r--r-- 1.1 KB
bpf_overlay.c -rw-r--r-- 8.6 KB
bpf_sock.c -rw-r--r-- 22.8 KB
bpf_xdp.c -rw-r--r-- 6.0 KB
cilium-map-migrate.c -rw-r--r-- 12.9 KB
cilium-probe-kernel-hz.c -rw-r--r-- 3.9 KB
ep_config.h -rw-r--r-- 1.5 KB
filter_config.h -rw-r--r-- 508 bytes
init.sh -rwxr-xr-x 20.5 KB
netdev_config.h -rw-r--r-- 357 bytes
node_config.h -rw-r--r-- 6.0 KB

back to top