mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
lsm: do not print a warning if no LSM has been detected
Without any LSM detected CRIU would print a warning for every run: Warn (criu/lsm.c:328): don't know how to suspend LSM 0 Which clutters up the CI logs. Change the message to a debug message. Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
960f26f907
commit
399a53a43f
1 changed files with 3 additions and 1 deletions
|
|
@ -324,8 +324,10 @@ int collect_and_suspend_lsm(void)
|
|||
break;
|
||||
case LSMTYPE__SELINUX:
|
||||
break;
|
||||
case LSMTYPE__NO_LSM:
|
||||
break;
|
||||
default:
|
||||
pr_warn("don't know how to suspend LSM %d\n", kdat.lsm);
|
||||
pr_debug("don't know how to suspend LSM %d\n", kdat.lsm);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue