lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <AANLkTimGueKYoP_qkZ3j94OKj0wCk_XGH0m30bQqb55X@mail.gmail.com>
Date:	Mon, 16 Aug 2010 15:44:09 -0400
From:	Oussama El Mfadli <oussama.el-mfadli@...ymtl.ca>
To:	linux-kernel@...r.kernel.org
Cc:	Alexander Viro <viro@...iv.linux.org.uk>,
	Robert Love <rlove@...ve.org>,
	John McCutchan <john@...nmccutchan.com>,
	Eric Paris <eparis@...isplace.org>
Subject: Inotify doesn't detect splice system call?

I'm currently monitoring file open and modification with inotify. The
tool works perfectly went the file is modify by using a write system
call. But now, I'm using the splice system call to benefit from the
zero-copy mechanism.

The files are perfectly modified, but inotify system call doesn't
detect it. In the read_write.c file, the modification is signalled by
calling "fsnotify_modify(...)" in the vfs_write function. In the file
splice.c, the function is not called when a file is written.

>From what I have understood, the inotify system call has been
integrated to the kernel in the mainline from the release 2.6.13, but
the splice system call has been included later (2.6.17).

Is it a Bug that inotify doesn't support splice() or is there some
considerations that explain it?

Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ