Re: [Tracker] Linux kernel watchless file notification



well to do the kernel thingy we need a generic kernel notification
thingy that only root can read

Would the intent there be to have a 'master' Tracker daemon that is 
system-wide and which provides the required security semantics to individual 
user searches?

then we need to modify libc to make use of said notification thingy as
kernel team will not allow resolution of file descriptors to file paths
within the kernel

Why does this have to go through libc? I would have thought this would be kept 
out of libc precisely because it is a kernel-specific API. There will need to 
be a way to resolve inodes/fd's to paths, certainly, but this is a solvable 
problem.

My initial ideas were to use either the same mechanism as inotify but with 
better semantics for our purposes, or port across something like BSD kevents. 

Is anyone actively working on something to solve this general problem, or 
should I just go ahead and hack something together? :-)

Ian



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