Re: [PATCH 1/1] kernel/ucounts: expose current inotify watch count

2019-01-22 Thread Jan Kara
On Mon 21-01-19 17:45:11, Albert Vaca Cintora wrote: > Adds a readonly 'current_inotify_watches' entry to the user sysctl table. > The handler for this entry is a custom function that ends calling > proc_dointvec. > > Signed-off-by: Albert Vaca Cintora FWIW this makes sense to me. I'd just copy

[PATCH 1/1] kernel/ucounts: expose current inotify watch count

2019-01-21 Thread Albert Vaca Cintora
Adds a readonly 'current_inotify_watches' entry to the user sysctl table. The handler for this entry is a custom function that ends calling proc_dointvec. Signed-off-by: Albert Vaca Cintora --- kernel/ucount.c | 29 + 1 file changed, 29 insertions(+) diff --git a/ker