All of lore.kernel.org
 help / color / mirror / Atom feed
* inotify and /proc?
@ 2007-06-21 19:54 C. Scott Ananian
  2007-06-21 23:17 ` Arnd Bergmann
  0 siblings, 1 reply; 5+ messages in thread
From: C. Scott Ananian @ 2007-06-21 19:54 UTC (permalink / raw)
  To: linux-kernel

I'd like to make a read-only /proc file which supports inotify -- that
is, the kernel can send change notifications to userland via the
inotify mechanism.  I've found fsnotify_modify() (in
include/linux/fsnotify.h) which seems to do what I want, but it takes
a struct dentry * -- how can I get a dentry from a struct
proc_dir_entry and increment its ref count to keep it around?  Any
help would be appreciated.  Thanks!
 --scott

-- 
                         ( http://cscott.net/ )

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-06-25  3:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-21 19:54 inotify and /proc? C. Scott Ananian
2007-06-21 23:17 ` Arnd Bergmann
2007-06-22 22:51   ` C. Scott Ananian
2007-06-22 23:28     ` Al Viro
2007-06-25  3:12     ` Kyle Moffett

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.