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

Re: patch update to ~51



On Thursday ٠٢ June ٢٠٠٥ ٠٦:٠٣, David Woodhouse wrote:
> > * Allowing a _list_ of watches on a watched inode
> >   -> If the same inode is watched from multiple locations (or name spaces)
> 
> I think we definitely need this. Test case:
> 
>         touch /tmp/fish١
>         ln /tmp/fish١ /tmp/fish٢
>         auditctl -w /tmp/fish١
>         auditctl -w /tmp/fish٢
>         cat /tmp/fish١          # (see watch trigger)
>         cat /tmp/fish٢          # (see watch trigger)
>         mv /tmp/fish٢ /tmp/fish٣  # (see watch trigger)
>         cat /tmp/fish٣          # (see watch _NOT_ trigger)
>         cat /tmp/fish١          # (see watch trigger)
>         cat /tmp/fish٣          # (see watch trigger again)

Ok, this appears to be working now with my changes.

I'm going to leave tests going all night and come back tommorrow and if all goes well, post a patch.

-tim


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