All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <npiggin@suse.de>
To: security@kernel.org, linux-fsdevel@vger.kernel.org,
	tomoyo-users-en@lists.sourceforge.jp,
	Kentaro Takeda <takedakn@nttdata.co.jp>
Subject: time_attrs argument for security_path_truncate
Date: Wed, 2 Jun 2010 01:50:55 +1000	[thread overview]
Message-ID: <20100601155055.GZ9453@laptop> (raw)

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


             reply	other threads:[~2010-06-01 15:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01 15:50 Nick Piggin [this message]
2010-06-01 17:04 ` [Security] time_attrs argument for security_path_truncate 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100601155055.GZ9453@laptop \
    --to=npiggin@suse.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=security@kernel.org \
    --cc=takedakn@nttdata.co.jp \
    --cc=tomoyo-users-en@lists.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.