From mboxrd@z Thu Jan 1 00:00:00 1970 From: Evgeniy Polyakov Subject: Re: [take 3] Use pid in inotify events. Date: Sat, 22 Nov 2008 12:37:49 +0300 Message-ID: <20081122093749.GA12543@ioremap.net> References: <20081120230612.GB6536@ioremap.net> <200811211939.46812.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200811211939.46812.arnd-r2nGTMty4D4@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Arnd Bergmann Cc: John McCutchan , mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Christoph Hellwig , Robert Love , linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Andrew Morton List-Id: linux-api@vger.kernel.org On Fri, Nov 21, 2008 at 07:39:45PM +0100, Arnd Bergmann (arnd-r2nGTMty4D4@public.gmane.org) wrote: > The how about an inotify_init1 flag telling the kernel to ignore > changes done by the current PID? That sounds like it is potentially > useful to other applications that want to monitor the whole file system > and also write to it. It also doesn't need to change the ABI in > incompatible ways or introduce a security relevant side channel. That's a good idea. Robert, John, Michael - comments? -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755639AbYKVJiA (ORCPT ); Sat, 22 Nov 2008 04:38:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752664AbYKVJhv (ORCPT ); Sat, 22 Nov 2008 04:37:51 -0500 Received: from cet.com.ru ([195.178.208.66]:37658 "EHLO tservice.net.ru" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751072AbYKVJhv (ORCPT ); Sat, 22 Nov 2008 04:37:51 -0500 Date: Sat, 22 Nov 2008 12:37:49 +0300 From: Evgeniy Polyakov To: Arnd Bergmann Cc: John McCutchan , mtk.manpages@gmail.com, Christoph Hellwig , Robert Love , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [take 3] Use pid in inotify events. Message-ID: <20081122093749.GA12543@ioremap.net> References: <20081120230612.GB6536@ioremap.net> <200811211939.46812.arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200811211939.46812.arnd@arndb.de> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 21, 2008 at 07:39:45PM +0100, Arnd Bergmann (arnd@arndb.de) wrote: > The how about an inotify_init1 flag telling the kernel to ignore > changes done by the current PID? That sounds like it is potentially > useful to other applications that want to monitor the whole file system > and also write to it. It also doesn't need to change the ABI in > incompatible ways or introduce a security relevant side channel. That's a good idea. Robert, John, Michael - comments? -- Evgeniy Polyakov