"touch" does not trigger inode_setattr() flags?

From: NAHieu (nahieu@private)
Date: Fri Dec 23 2005 - 01:14:17 PST


Hello,

I am trying to catch the events made by "touch" on a file (for example
by command "touch test.txt"). My small LSM module proves that when
inode_setattr() is triggered, the value of iattr->ia_attr_flags is 0.

But I expect that in this case, iattr->ia_attr_flags is combined of
ATTR_CTIME, ATTR_MTIME and ATTR_ATIME, and that should *not* be 0.

My filesystem is ext3, on kernel 2.6.12.5


Anybody please tell me what is wrong?

Many thanks.
Hieu



This archive was generated by hypermail 2.1.3 : Fri Dec 23 2005 - 01:15:24 PST