commit | d0a6a87e40da49cfc7954c491d3065a25a641b29 | [log] [tgz] |
---|---|---|
author | Amir Goldstein <amir73il@gmail.com> | Thu Oct 04 00:25:38 2018 +0300 |
committer | Jan Kara <jack@suse.cz> | Mon Oct 08 13:48:45 2018 +0200 |
tree | 49e34224bcda4f0a436beb3b4a4e0214606dfaa1 | |
parent | bdd5a46fe30653cb4d26c7c787a22159bf79eed9 [diff] |
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: nixiaoming <nixiaoming@huawei.com> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>