Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 5 of 5) sorted by relevance

/security/tomoyo/
Dload_policy.c86 char *argv[2]; in tomoyo_load_policy() local
100 argv[0] = (char *) tomoyo_loader; in tomoyo_load_policy()
101 argv[1] = NULL; in tomoyo_load_policy()
105 call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in tomoyo_load_policy()
Dcondition.c25 const int argc, const struct tomoyo_argv *argv, in tomoyo_argv() argument
31 for (i = 0; i < argc; argv++, checked++, i++) { in tomoyo_argv()
33 if (index != argv->index) in tomoyo_argv()
37 result = tomoyo_path_matches_pattern(&arg, argv->value); in tomoyo_argv()
38 if (argv->is_not) in tomoyo_argv()
101 const u16 argc, const struct tomoyo_argv *argv, in tomoyo_scan_bprm() argument
154 arg_ptr, argc, argv, in tomoyo_scan_bprm()
192 if (argv[i].is_not) in tomoyo_scan_bprm()
288 struct tomoyo_argv *argv) in tomoyo_parse_argv() argument
290 if (tomoyo_parse_ulong(&argv->index, &left) != in tomoyo_parse_argv()
[all …]
Dgc.c284 const struct tomoyo_argv *argv in tomoyo_del_condition() local
287 = (const struct tomoyo_envp *) (argv + argc); in tomoyo_del_condition()
292 for (i = 0; i < argc; argv++, i++) in tomoyo_del_condition()
293 tomoyo_put_name(argv->value); in tomoyo_del_condition()
Dcommon.c1234 const struct tomoyo_argv *argv = in tomoyo_print_condition() local
1235 (typeof(argv)) (names_p + cond->names_count); in tomoyo_print_condition()
1237 (typeof(envp)) (argv + cond->argc); in tomoyo_print_condition()
1245 argv++; in tomoyo_print_condition()
1276 argv->index, argv-> in tomoyo_print_condition()
1279 argv->value->name); in tomoyo_print_condition()
1281 argv++; in tomoyo_print_condition()
/security/keys/
Drequest_key.c93 static int call_usermodehelper_keys(char *path, char **argv, char **envp, in call_usermodehelper_keys() argument
98 call_usermodehelper_setup(path, argv, envp, gfp_mask); in call_usermodehelper_keys()
120 char *argv[9], *envp[3], uid_str[12], gid_str[12]; in call_sbin_request_key() local
181 argv[i++] = "/sbin/request-key"; in call_sbin_request_key()
182 argv[i++] = (char *) op; in call_sbin_request_key()
183 argv[i++] = key_str; in call_sbin_request_key()
184 argv[i++] = uid_str; in call_sbin_request_key()
185 argv[i++] = gid_str; in call_sbin_request_key()
186 argv[i++] = keyring_str[0]; in call_sbin_request_key()
187 argv[i++] = keyring_str[1]; in call_sbin_request_key()
[all …]