Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11637e4b authored by Eric Paris's avatar Eric Paris
Browse files

fanotify: fanotify_init syscall declaration



This patch defines a new syscall fanotify_init() of the form:

int sys_fanotify_init(unsigned int flags, unsigned int event_f_flags,
		      unsigned int priority)

This syscall is used to create and fanotify group.  This is very similar to
the inotify_init() syscall.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 9dced01a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -842,4 +842,5 @@ ia32_sys_call_table:
	.quad compat_sys_rt_tgsigqueueinfo	/* 335 */
	.quad sys_perf_event_open
	.quad compat_sys_recvmmsg
	.quad sys_fanotify_init
ia32_syscall_end:
+2 −1
Original line number Diff line number Diff line
@@ -343,10 +343,11 @@
#define __NR_rt_tgsigqueueinfo	335
#define __NR_perf_event_open	336
#define __NR_recvmmsg		337
#define __NR_fanotify_init	338

#ifdef __KERNEL__

#define NR_syscalls 338
#define NR_syscalls 339

#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
+2 −0
Original line number Diff line number Diff line
@@ -663,6 +663,8 @@ __SYSCALL(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo)
__SYSCALL(__NR_perf_event_open, sys_perf_event_open)
#define __NR_recvmmsg				299
__SYSCALL(__NR_recvmmsg, sys_recvmmsg)
#define __NR_fanotify_init			300
__SYSCALL(__NR_fanotify_init, sys_fanotify_init)

#ifndef __NO_STUBS
#define __ARCH_WANT_OLD_READDIR
+1 −0
Original line number Diff line number Diff line
@@ -337,3 +337,4 @@ ENTRY(sys_call_table)
	.long sys_rt_tgsigqueueinfo	/* 335 */
	.long sys_perf_event_open
	.long sys_recvmmsg
	.long sys_fanotify_init
+1 −1
Original line number Diff line number Diff line
obj-$(CONFIG_FANOTIFY)		+= fanotify.o
obj-$(CONFIG_FANOTIFY)		+= fanotify.o fanotify_user.o
Loading