]> git.baikalelectronics.ru Git - kernel.git/commit
Ensure FMODE_NONOTIFY is not set by userspace
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Fri, 29 Oct 2010 10:02:17 +0000 (12:02 +0200)
committerEric Paris <eparis@redhat.com>
Sat, 30 Oct 2010 18:07:40 +0000 (14:07 -0400)
commit46c5e59a966312ec8e87787613faad8b4a1ced89
tree59ebbe6cdc9480008d80670383a6f667f766a3cb
parentd7f76b614cd289471a24fea604f21b5a690e2ec0
Ensure FMODE_NONOTIFY is not set by userspace

    In fsnotify_open() ensure that FMODE_NONOTIFY is never set by userspace.
    Also always call fsnotify_parent and fsnotify.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: Eric Paris <eparis@redhat.com>
include/linux/fsnotify.h