Skip to content
Commit d0a6a87e authored by Amir Goldstein's avatar Amir Goldstein Committed by Jan Kara
Browse files

fanotify: support reporting thread id instead of process id



In order to identify which thread triggered the event in a
multi-threaded program, add the FAN_REPORT_TID flag in fanotify_init to
opt-in for reporting the event creator's thread id information.

Signed-off-by: default avatarnixiaoming <nixiaoming@huawei.com>
Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent bdd5a46f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment