lkml.org 
[lkml]   [2021]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v26 08/25] LSM: Use lsmblob in security_secid_to_secctx
    On Thu, May 13, 2021 at 01:07:50PM -0700, Casey Schaufler wrote:
    > Change security_secid_to_secctx() to take a lsmblob as input
    > instead of a u32 secid. It will then call the LSM hooks
    > using the lsmblob element allocated for that module. The
    > callers have been updated as well. This allows for the
    > possibility that more than one module may be called upon
    > to translate a secid to a string, as can occur in the
    > audit code.
    >
    > Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>

    This looks sensible.

    Reviewed-by: Kees Cook <keescook@chromium.org>

    --
    Kees Cook

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