chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: don't reset log level to NOTICE if we get quiet on the kernel cmdline
[elogind.git]
/
src
/
core
/
ima-setup.c
diff --git
a/src/core/ima-setup.c
b/src/core/ima-setup.c
index 8e4fed17e7fc327d5356234468e810539fe1b30d..0e0d16a7c98c6d2a16e0d61281be7a437bb86257 100644
(file)
--- a/
src/core/ima-setup.c
+++ b/
src/core/ima-setup.c
@@
-66,7
+66,7
@@
int ima_setup(void) {
return 0;
}
- r = copy_bytes(policyfd, imafd,
-1
);
+ r = copy_bytes(policyfd, imafd,
(off_t) -1, false
);
if (r < 0)
log_error_errno(r, "Failed to load the IMA custom policy file "IMA_POLICY_PATH": %m");
else