From: Yi Yang <yang.y.yi@gmail.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: LKML <linux-kernel@vger.kernel.org>, Andrew Morton <akpm@osdl.org>
Subject: Re: [2.6.16-rc5-m3 PATCH] inotify: add the monitor for the event source
Date: Fri, 10 Mar 2006 09:27:35 +0800 [thread overview]
Message-ID: <4410D607.5080102@gmail.com> (raw)
In-Reply-To: <1141932941.2883.26.camel@laptopd505.fenrus.org>
Arjan van de Ven wrote:
>>> it breaks ABI because this structure is communicated to userspace, and
>>> you change both the layout and the size of it. What else would ABI
>>> mean??
>>>
>>>
>> Many structures exported to user space in kernel are undergoing some
>> change, A good application shouldn't count on invariability forever,
>> My test application hasn't any problem before change and after change.
>>
>
>
> this is absolutely incorrect. This is an ABI that cannot change in any
> incompatible way.
>
>>> but... what makes you think it's not a kernel thread such as kjournald?
>>> (which have basically meaningless current)
>>>
>>>
>> you can get values of these fields without any problem for kernel
>> thread although they are useless.
>>
>
> exactly
>
>
>>> there is no "full path name" concept in linux like that. And even worse,
>>> many processes will not have *any* path because they have been deleted,
>>> especially the viruses will use this ;)
>>>
>>>
>> For this case you said, this patch has now way really, do you have a
>> good way to handle this case?
>>
>
> it sounds that what you want to achieve is broken in the first place...
> (or should use audit etc)
>
As I known, BSD process audit only can be done inside a process, and
audit result is just visible after
termination of this process, if an application wants to monitor all the
processes, it has no way. My patch
provides such a way bases on inotify with minimal work, it should be an
good extension for
inotify although it can't cover all the cases.
>
>
next prev parent reply other threads:[~2006-03-10 1:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-08 16:33 [2.6.16-rc5-m3 PATCH] inotify: add the monitor for the event source Yi Yang
2006-03-08 16:53 ` Arjan van de Ven
2006-03-09 5:18 ` Yi Yang
2006-03-09 5:35 ` Arjan van de Ven
2006-03-09 9:55 ` Yi Yang
2006-03-09 19:35 ` Arjan van de Ven
2006-03-10 1:27 ` Yi Yang [this message]
2006-03-10 7:39 ` Arjan van de Ven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4410D607.5080102@gmail.com \
--to=yang.y.yi@gmail.com \
--cc=akpm@osdl.org \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.