Lines Matching refs:argc
26 const int argc, const struct tomoyo_argv *argv, in tomoyo_argv() argument
33 for (i = 0; i < argc; argv++, checked++, i++) { in tomoyo_argv()
106 const u16 argc, const struct tomoyo_argv *argv, in tomoyo_scan_bprm() argument
115 int argv_count = bprm->argc; in tomoyo_scan_bprm()
121 if (argc + envc <= sizeof(local_checked)) { in tomoyo_scan_bprm()
125 checked = kzalloc(argc + envc, GFP_NOFS); in tomoyo_scan_bprm()
160 if (!tomoyo_argv(bprm->argc - argv_count, in tomoyo_scan_bprm()
161 arg_ptr, argc, argv, in tomoyo_scan_bprm()
174 checked + argc)) { in tomoyo_scan_bprm()
194 for (i = 0; i < argc; i++) { in tomoyo_scan_bprm()
207 if (checked[argc + i]) in tomoyo_scan_bprm()
363 a->argc == b->argc && a->envc == b->envc && in tomoyo_same_condition()
566 e.argc++; in tomoyo_get_condition()
569 e.argc--; in tomoyo_get_condition()
656 __LINE__, e.condc, e.numbers_count, e.names_count, e.argc, in tomoyo_get_condition()
659 BUG_ON(e.names_count | e.numbers_count | e.argc | e.envc | in tomoyo_get_condition()
667 + e.argc * sizeof(struct tomoyo_argv) in tomoyo_get_condition()
678 envp = (struct tomoyo_envp *) (argv + e.argc); in tomoyo_get_condition()
778 u16 argc; in tomoyo_condition() local
785 argc = cond->argc; in tomoyo_condition()
790 if (!bprm && (argc || envc)) in tomoyo_condition()
797 envp = (const struct tomoyo_envp *) (argv + argc); in tomoyo_condition()
930 value = bprm->argc; in tomoyo_condition()
1119 if (r->ee && (argc || envc)) in tomoyo_condition()
1120 return tomoyo_scan_bprm(r->ee, argc, argv, envc, envp); in tomoyo_condition()