commit | fba472bb38e2d2b9a676364ade4be4e5df665a82 | [log] [tgz] |
---|---|---|
author | Ondrej Mosnacek <omosnace@redhat.com> | Tue Mar 30 15:16:45 2021 +0200 |
committer | Paul Moore <paul@paul-moore.com> | Mon May 10 21:31:58 2021 -0400 |
tree | 1ebd303d97a1a16739f61b98d98fedf20a440619 | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 [diff] |
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>