Re: [patch] inotify, improved.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert Love wrote:
On Fri, 2005-06-17 at 09:37 -0600, Chris Friesen wrote:

On a newsgroup someone was using inotify, but was asking if there was any way to also determine which process/user had caused the notification.

I have been hesitant, though.  I do not want feature creep to be a
deterrent to acceptance into the Linux kernel.

Absolutely.

I also think that there could be arguments about security.
...can we
say that read rights are enough for a unprivileged user to know that
root at pid 820 is writing the file?  I don't know.

I'm sure some reasonable rules could be determined. Maybe you'd need to be the owner of the file to get the extra info, with root able to monitor everything.

Maybe there should be a way to load plugins into inotify (something like netfilter) so that people load modules to send themselves whatever information they want...

Let's get it in first though before thinking too hard about extra stuff.

Chris

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux