linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* time_attrs argument for security_path_truncate
@ 2010-06-01 15:50 Nick Piggin
  2010-06-01 17:04 ` [Security] " Linus Torvalds
  0 siblings, 1 reply; 10+ messages in thread
From: Nick Piggin @ 2010-06-01 15:50 UTC (permalink / raw)
  To: security, linux-fsdevel, tomoyo-users-en, Kentaro Takeda

It appears like the time_attrs parameter of security_path_truncate is
unused by any security module, so I wonder if we can remove it?

We cannot really get it right for truncate(2) calls anyway without
holding i_mutex over the call (because ATTR_MTIME|ATTR_CTIME is
effectively set iff size changes). So the meaning of this parameter
today is misleading anyway.

Thanks,
Nick


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

end of thread, other threads:[~2010-06-02  5:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-01 15:50 time_attrs argument for security_path_truncate Nick Piggin
2010-06-01 17:04 ` [Security] " Linus Torvalds
2010-06-01 17:24   ` Nick Piggin
2010-06-01 17:52     ` Linus Torvalds
2010-06-02  3:28       ` [PATCH] LSM: Remove unused time_attrs argument Tetsuo Handa
2010-06-02  3:50         ` Nick Piggin
2010-06-02  3:59           ` Nick Piggin
2010-06-02  4:24           ` Tetsuo Handa
2010-06-02  4:41             ` Nick Piggin
2010-06-02  5:22             ` James Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).