summaryrefslogtreecommitdiff
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-08-31 04:34:11 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-08-31 04:34:11 -0700
commit02488b12cd4b626c770a73df67f73c31479148ed (patch)
tree18be9e29faae0eebc357ff901b2ec907b09c4853 /include/linux/fs.h
parenta19a49218d5fed4ac16b3da67cb0334a94d4e30c (diff)
[PATCH] Use tgid rather than pid in dnotify
From: Ulrich Drepper <drepper@redhat.com> I'm not entirely sure about this change. But it seems to be necessary. The dnotify code stores the PID in the file structure. The entire process shares the file and any signal (is it used for that?) should be sent to the process (thread group), not the individual thread. Also keep in mind that threads can go away while the process (and therefore file descriptor) remain. And the ID of the thread can be reused. Somebody who knows this code should take a good look. (Looks right to me...)
Diffstat (limited to 'include/linux/fs.h')
0 files changed, 0 insertions, 0 deletions