mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 13:28:19 +00:00
Update several flags to not preclude there using with writing the cache,
they will however still skip reading the cache.
This commit is contained in:
parent
6186118aa0
commit
d295e3b444
@ -262,7 +262,7 @@ static int process_args(int argc, char *argv[])
|
|||||||
break;
|
break;
|
||||||
case 'd':
|
case 'd':
|
||||||
debug++;
|
debug++;
|
||||||
skip_cache = 1;
|
skip_read_cache = 1;
|
||||||
break;
|
break;
|
||||||
case 'h':
|
case 'h':
|
||||||
if (!optarg) {
|
if (!optarg) {
|
||||||
@ -320,7 +320,7 @@ static int process_args(int argc, char *argv[])
|
|||||||
subdomainbase = strndup(optarg, PATH_MAX);
|
subdomainbase = strndup(optarg, PATH_MAX);
|
||||||
break;
|
break;
|
||||||
case 'D':
|
case 'D':
|
||||||
skip_cache = 1;
|
skip_read_cache = 1;
|
||||||
if (!optarg) {
|
if (!optarg) {
|
||||||
dump_vars = 1;
|
dump_vars = 1;
|
||||||
} else if (strcmp(optarg, "variables") == 0) {
|
} else if (strcmp(optarg, "variables") == 0) {
|
||||||
@ -363,7 +363,7 @@ static int process_args(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'O':
|
case 'O':
|
||||||
skip_cache = 1;
|
skip_read_cache = 1;
|
||||||
if (strcmp(optarg, "0") == 0) {
|
if (strcmp(optarg, "0") == 0) {
|
||||||
dfaflags |= DFA_CONTROL_NO_TREE_NORMAL |
|
dfaflags |= DFA_CONTROL_NO_TREE_NORMAL |
|
||||||
DFA_CONTROL_NO_TREE_SIMPLE |
|
DFA_CONTROL_NO_TREE_SIMPLE |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user