linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * Re: [PATCH] [RFC] xfs: initialise attr fork on inode create
           [not found] <20201202232724.1730114-1-david@fromorbit.com>
           [not found] ` <20201203084012.GA32480@infradead.org>
    @ 2020-12-07 17:31 ` Christoph Hellwig
      2020-12-07 20:42   ` Dave Chinner
      1 sibling, 1 reply; 6+ messages in thread
    From: Christoph Hellwig @ 2020-12-07 17:31 UTC (permalink / raw)
      To: Dave Chinner; +Cc: linux-xfs, linux-security-module, Casey Schaufler
    
    Btw, while looking at the code before replying to Casey I noticed
    something else in this area of code which we should probably fix
    if we touch all this.  We are really supposed to create the ACLs
    and security labels atomically with the actual inode creation.  And
    I think we have all the infrastructure to do this without too much
    pain now for ACLs.  Security labels with the weird
    security_inode_init_security interface might be a little harder but
    not impossible.
    
    And I suspect security_inode_init_security might be right thing
    to reuse for the helper to figure out what attrs would be set.  If
    security_inode_init_security with an idempotent callback is
    idempotent itself we might be able to use it directly, but all the
    weird hooking makes it rather hard to read.
    
    ^ permalink raw reply	[flat|nested] 6+ messages in thread

  • end of thread, other threads:[~2020-12-07 21:14 UTC | newest]
    
    Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
    -- links below jump to the message on this page --
         [not found] <20201202232724.1730114-1-david@fromorbit.com>
         [not found] ` <20201203084012.GA32480@infradead.org>
         [not found]   ` <20201203214426.GE3913616@dread.disaster.area>
    2020-12-04  7:54     ` [PATCH] [RFC] xfs: initialise attr fork on inode create Christoph Hellwig
    2020-12-07 17:22       ` Casey Schaufler
    2020-12-07 17:25         ` Christoph Hellwig
    2020-12-07 20:49           ` Dave Chinner
    2020-12-07 17:31 ` Christoph Hellwig
    2020-12-07 20:42   ` Dave Chinner
    

    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).