summaryrefslogtreecommitdiff
path: root/security/security.c
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2021-03-30 16:16:45 +0300
committerPaul Moore <paul@paul-moore.com>2021-05-11 04:31:58 +0300
commitfba472bb38e2d2b9a676364ade4be4e5df665a82 (patch)
tree1ebd303d97a1a16739f61b98d98fedf20a440619 /security/security.c
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
downloadlinux-fba472bb38e2d2b9a676364ade4be4e5df665a82.tar.xz
selinux: simplify duplicate_policydb_cond_list() by using kmemdup()
We can do the allocation + copying of expr.nodes in one go using kmemdup(). Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions