Re: [RFC][PATCH] super block [alloc|free]_security

From: Stephen Smalley (sdsat_private)
Date: Wed Dec 19 2001 - 06:17:13 PST

  • Next message: Stephen Smalley: "Re: 2.5 and mount MS_MOVE"

    On Tue, 18 Dec 2001, Chris Wright wrote:
    > same patch for lsm-2.4.  currently lsm-2.4 appears to miss the mount cases for
    > get_sb_bdev() (normal block device) and get_sb_single() (single sb, like
    > /proc, devfs, etc), since they have moved to calling fs_type->read_super()
    > directly.
    > comments?
    Looks fine.  SELinux just allocates the security blob on the first
    attempted use anyway (via its precondition functions) if it wasn't caught
    by an alloc_security hook.
    Stephen D. Smalley, NAI Labs
    linux-security-module mailing list

    This archive was generated by hypermail 2b30 : Wed Dec 19 2001 - 06:19:20 PST