Commit 725660b8 authored by Janne Karhunen's avatar Janne Karhunen Committed by Yongqiang Liu
Browse files

LSM: switch to blocking policy update notifiers

mainline inclusion
from mainline-v5.3-rc1
commit 42df744c
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I692HU


CVE: NA

--------------------------------

Atomic policy updaters are not very useful as they cannot
usually perform the policy updates on their own. Since it
seems that there is no strict need for the atomicity,
switch to the blocking variant. While doing so, rename
the functions accordingly.

Signed-off-by: default avatarJanne Karhunen <janne.karhunen@gmail.com>
Acked-by: default avatarPaul Moore <paul@paul-moore.com>
Acked-by: default avatarJames Morris <jamorris@linux.microsoft.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
Conflicts:
	drivers/infiniband/core/security.c
Signed-off-by: default avatarGUO Zihua <guozihua@huawei.com>
Reviewed-by: default avatarXiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
parent 13d09031
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment