lkml.org 
[lkml]   [2021]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v26 07/25] LSM: Use lsmblob in security_secctx_to_secid
    On Thu, May 13, 2021 at 4:16 PM Casey Schaufler <casey@schaufler-ca.com> wrote:
    >
    > Change the security_secctx_to_secid interface to use a lsmblob
    > structure in place of the single u32 secid in support of
    > module stacking. Change its callers to do the same.
    >
    > The security module hook is unchanged, still passing back a secid.
    > The infrastructure passes the correct entry from the lsmblob.
    >
    > Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
    > Cc: netdev@vger.kernel.org
    > Cc: netfilter-devel@vger.kernel.org
    > To: Pablo Neira Ayuso <pablo@netfilter.org>
    > ---
    > include/linux/security.h | 26 ++++++++++++++++++--
    > kernel/cred.c | 4 +---
    > net/netfilter/nft_meta.c | 10 ++++----
    > net/netfilter/xt_SECMARK.c | 7 +++++-
    > net/netlabel/netlabel_unlabeled.c | 23 +++++++++++-------
    > security/security.c | 40 ++++++++++++++++++++++++++-----
    > 6 files changed, 85 insertions(+), 25 deletions(-)

    Acked-by: Paul Moore <paul@paul-moore.com>


    --
    paul moore
    www.paul-moore.com

    \
     
     \ /
      Last update: 2021-05-21 22:19    [W:2.277 / U:0.268 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site