[AppArmor 33/47] VFS: new fsetattr() file operation

2007-12-20 Thread John
From: Miklos Szeredi <[EMAIL PROTECTED]> Add a new file operation: f_op->fsetattr(), that is invoked by ftruncate, fchmod, fchown and utimensat. Fall back to i_op->setattr() if it is not defined. For the reasons why we need this, see patch adding fgetattr(). ftruncate() already passed the open

[AppArmor 33/47] VFS: new fsetattr() file operation

2007-12-20 Thread John
From: Miklos Szeredi [EMAIL PROTECTED] Add a new file operation: f_op-fsetattr(), that is invoked by ftruncate, fchmod, fchown and utimensat. Fall back to i_op-setattr() if it is not defined. For the reasons why we need this, see patch adding fgetattr(). ftruncate() already passed the open