Re: [patch] inotify, improved.

From: Robert Love (rml_at_novell.com)
Date: 06/17/05

  • Next message: Gerald Schaefer: "Re: [PATCH 0/1] VFS: memory leak in do_kern_mount()"
    To: Chris Friesen <cfriesen@nortel.com>
    Date:	Fri, 17 Jun 2005 11:44:38 -0400
    
    

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

    Hi, Chris.

    > 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.
    >
    > Is this something that would make sense (as an optional bit of
    > information) in inotify?

    It is definitely something that could be added, technically speaking.

    I have been hesitant, though. I do not want feature creep to be a
    deterrent to acceptance into the Linux kernel. I also think that there
    could be arguments about security. Sending the event is one thing,
    telling which pid (and thus what user, etc.) caused the event is
    another. For example, we can make the argument that read rights on a
    file are tantamount to the right to receive a read event. But 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'd add it if there were consensus. I don't know that it makes sense,
    though.

            Robert Love

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


  • Next message: Gerald Schaefer: "Re: [PATCH 0/1] VFS: memory leak in do_kern_mount()"

    Relevant Pages

    • Re: [patch] inotify, improved.
      ... > telling which pid ... we can make the argument that read rights on a ... > say that read rights are enough for a unprivileged user to know that ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Windows XP WMI Reinstall
      ... c:\>tlist -s | findstr /i winmgmt ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > Facility: Windows ... I couldn't get a PID for the winmgmts process because it's not ...
      (microsoft.public.win32.programmer.wmi)
    • Kernel BUG at rmap:482
      ... unfortunately I am experiencing the same problem myself now on a new ... I can reproduce the problem fairly regularly, ... Process sh (pid: 16405, threadinfo ffff810035fa2000, task ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] generic-hardirqs-2.6.9-rc1-mm4.patch
      ... I've got this trace: ... Process kjournald (pid: 694, threadinfo 000001001f588000, task ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: kernel OOPS for XFS in xfs_iget_core (using NFS+SMP+MD)
      ... Server must be SMP ... Make sure you keep lots of things going concurrently on the clients. ... belonging to another unprivileged user - files can show up with modes ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)