2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +00:00

Effectively revert revno 1471, and fix the misdetected error condition

so that caching will work again without needing kernel_load.
This commit is contained in:
Kees Cook
2010-09-14 12:38:38 -07:00
parent 3a1fbb49f4
commit feb70284bc
2 changed files with 4 additions and 10 deletions

View File

@@ -895,8 +895,7 @@ int process_profile(int option, char *profilename)
goto out;
}
if (kernel_load || option == OPTION_STDOUT || option == OPTION_OFILE)
retval = load_policy(option);
retval = load_policy(option);
out:
if (cachetemp) {