Home
last modified time | relevance | path

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

/security/tomoyo/
Dload_policy.c88 char *argv[2]; in tomoyo_load_policy() local
101 argv[0] = (char *) tomoyo_loader; in tomoyo_load_policy()
102 argv[1] = NULL; in tomoyo_load_policy()
106 call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC); in tomoyo_load_policy()
Dcondition.c26 const int argc, const struct tomoyo_argv *argv, in tomoyo_argv() argument
33 for (i = 0; i < argc; argv++, checked++, i++) { in tomoyo_argv()
36 if (index != argv->index) in tomoyo_argv()
40 result = tomoyo_path_matches_pattern(&arg, argv->value); in tomoyo_argv()
41 if (argv->is_not) in tomoyo_argv()
106 const u16 argc, const struct tomoyo_argv *argv, in tomoyo_scan_bprm() argument
161 arg_ptr, argc, argv, in tomoyo_scan_bprm()
201 if (argv[i].is_not) in tomoyo_scan_bprm()
300 struct tomoyo_argv *argv) in tomoyo_parse_argv() argument
302 if (tomoyo_parse_ulong(&argv->index, &left) != in tomoyo_parse_argv()
[all …]
Dgc.c293 const struct tomoyo_argv *argv in tomoyo_del_condition() local
296 = (const struct tomoyo_envp *) (argv + argc); in tomoyo_del_condition()
302 for (i = 0; i < argc; argv++, i++) in tomoyo_del_condition()
303 tomoyo_put_name(argv->value); in tomoyo_del_condition()
Dcommon.c1254 const struct tomoyo_argv *argv = in tomoyo_print_condition() local
1255 (typeof(argv)) (names_p + cond->names_count); in tomoyo_print_condition()
1257 (typeof(envp)) (argv + cond->argc); in tomoyo_print_condition()
1267 argv++; in tomoyo_print_condition()
1299 argv->index, argv->is_not ? "!" : ""); in tomoyo_print_condition()
1301 argv->value->name); in tomoyo_print_condition()
1303 argv++; in tomoyo_print_condition()
/security/keys/
Drequest_key.c96 static int call_usermodehelper_keys(const char *path, char **argv, char **envp, in call_usermodehelper_keys() argument
101 info = call_usermodehelper_setup(path, argv, envp, GFP_KERNEL, in call_usermodehelper_keys()
122 char *argv[9], *envp[3], uid_str[12], gid_str[12]; in call_sbin_request_key() local
182 argv[i++] = (char *)request_key; in call_sbin_request_key()
183 argv[i++] = (char *)rka->op; in call_sbin_request_key()
184 argv[i++] = key_str; in call_sbin_request_key()
185 argv[i++] = uid_str; in call_sbin_request_key()
186 argv[i++] = gid_str; in call_sbin_request_key()
187 argv[i++] = keyring_str[0]; in call_sbin_request_key()
188 argv[i++] = keyring_str[1]; in call_sbin_request_key()
[all …]