| From: |
| Eric Paris <eparis@redhat.com> |
| To: |
| linux-kernel@vger.kernel.org |
| Subject: |
| [PATCH 0/3] send notification events about exec |
| Date: |
| Mon, 15 Dec 2008 11:44:03 -0500 |
| Message-ID: |
| <20081215164016.2018.4813.stgit@paris.rdu.redhat.com> |
| Cc: |
| hch@infradead.org, akpm@linux-foundation.org |
| Archive‑link: | |
Article |
The following series does two things. First it pushes inotify and dnotify
down into subdirectores inside fs/notify (help clean up fs.) It then adds a
new fsnotify hook for exec functions to call into and uses that new hookd to
send notifications to inotify and dnotify.
---
Eric Paris (3):
fsnotify: use the new open-exec hook for inotify and dnotify
fsnotify: sys_execve and sys_uselib do not call into fsnotify
filesystem notification: create fs/notify to contain all fs notification
fs/Kconfig | 39 --
fs/Makefile | 5
fs/dnotify.c | 194 --------
fs/exec.c | 5
fs/inotify.c | 913 --------------------------------------
fs/inotify_user.c | 778 --------------------------------
fs/notify/Kconfig | 2
fs/notify/Makefile | 2
fs/notify/dnotify/Kconfig | 10
fs/notify/dnotify/Makefile | 1
fs/notify/dnotify/dnotify.c | 194 ++++++++
fs/notify/inotify/Kconfig | 27 +
fs/notify/inotify/Makefile | 2
fs/notify/inotify/inotify.c | 913 ++++++++++++++++++++++++++++++++++++++
fs/notify/inotify/inotify_user.c | 778 ++++++++++++++++++++++++++++++++
include/linux/fsnotify.h | 13 +
16 files changed, 1949 insertions(+), 1927 deletions(-)
delete mode 100644 fs/dnotify.c
delete mode 100644 fs/inotify.c
delete mode 100644 fs/inotify_user.c
create mode 100644 fs/notify/Kconfig
create mode 100644 fs/notify/Makefile
create mode 100644 fs/notify/dnotify/Kconfig
create mode 100644 fs/notify/dnotify/Makefile
create mode 100644 fs/notify/dnotify/dnotify.c
create mode 100644 fs/notify/inotify/Kconfig
create mode 100644 fs/notify/inotify/Makefile
create mode 100644 fs/notify/inotify/inotify.c
create mode 100644 fs/notify/inotify/inotify_user.c