/linux-master/security/tomoyo/ |
H A D | load_policy.c | 89 char *envp[3]; local 103 envp[0] = "HOME=/"; 104 envp[1] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; 105 envp[2] = NULL; 106 call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC);
|
H A D | condition.c | 50 * tomoyo_envp - Check envp[] in "struct linux_binbrm". 54 * @envc: Length of @envp. 55 * @envp: Pointer to "struct tomoyo_envp". 56 * @checked: Set to true if @envp[@env_name] was found. 61 const int envc, const struct tomoyo_envp *envp, 72 for (i = 0; i < envc; envp++, checked++, i++) { 75 if (!tomoyo_path_matches_pattern(&name, envp->name)) 78 if (envp->value) { 80 envp->value); 81 if (envp 60 tomoyo_envp(const char *env_name, const char *env_value, const int envc, const struct tomoyo_envp *envp, u8 *checked) argument 105 tomoyo_scan_bprm(struct tomoyo_execve *ee, const u16 argc, const struct tomoyo_argv *argv, const u16 envc, const struct tomoyo_envp *envp) argument 318 tomoyo_parse_envp(char *left, char *right, struct tomoyo_envp *envp) argument 502 struct tomoyo_envp *envp = NULL; local 775 const struct tomoyo_envp *envp; local [all...] |
/linux-master/arch/um/os-Linux/ |
H A D | elf_aux.c | 26 __init void scan_elf_aux( char **envp) argument 31 while ( *envp++ != NULL) ; 33 for ( auxv = (elf_auxv_t *)envp; auxv->a_type != AT_NULL; auxv++) { 38 if (__kernel_vsyscall < (unsigned long) envp) 44 if (vsyscall_ehdr < (unsigned long) envp)
|
H A D | main.c | 105 extern void scan_elf_aux( char **envp); 107 int __init main(int argc, char **argv, char **envp) argument 140 scan_elf_aux(envp);
|
/linux-master/tools/include/nolibc/ |
H A D | crt.h | 30 char **envp; local 62 environ = envp = argv + argc + 1; 65 for (auxv = (void *)envp; *auxv++;) 75 exitcode = _nolibc_main(argc, argv, envp);
|
/linux-master/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_uevent.c | 16 char *envp[2] = { NULL, NULL }; local 20 envp[0] = info->uevent; 22 if (kobject_uevent_env(&info->dev->kobj, KOBJ_CHANGE, envp))
|
/linux-master/drivers/s390/net/ |
H A D | smsgiucv_app.c | 54 char *envp[4]; member in struct:smsg_app_event 84 ev->envp[0] = ev->buf; 85 ev->envp[1] = ev->envp[0] + ENV_SENDER_LEN; 86 ev->envp[2] = ev->envp[1] + ENV_PREFIX_LEN; 87 ev->envp[3] = NULL; 90 snprintf(ev->envp[0], ENV_SENDER_LEN, ENV_SENDER_STR "%s", from); 91 snprintf(ev->envp[1], ENV_PREFIX_LEN, ENV_PREFIX_STR "%s", SMSG_PREFIX); 92 snprintf(ev->envp[ [all...] |
/linux-master/tools/testing/selftests/exec/ |
H A D | null-argv.c | 47 int main(int argc, char *argv[], char *envp[]) argument 73 FORK(execve(argv[0], NULL, envp)); 75 FORK(execve(argv[0], args, envp));
|
H A D | execveat.c | 30 static char *envp[] = { "IN_TEST=yes", NULL, NULL }; variable 33 static int execveat_(int fd, const char *path, char **argv, char **envp, argument 37 return syscall(__NR_execveat, fd, path, argv, envp, flags); 56 rc = execveat_(fd, path, argv, envp, flags); 100 rc = execveat_(fd, path, argv, envp, flags); 443 envp[1] = "VERBOSE=1";
|
H A D | non-regular.c | 190 char * const envp[1] = { NULL }; local 192 EXPECT_LT(fexecve(self->fd, argv, envp), 0);
|
/linux-master/include/linux/ |
H A D | umh.h | 25 char **envp; member in struct:subprocess_info 34 call_usermodehelper(const char *path, char **argv, char **envp, int wait); 37 call_usermodehelper_setup(const char *path, char **argv, char **envp,
|
H A D | kobject.h | 127 char *envp[UEVENT_NUM_ENVP]; member in struct:kobj_uevent_env 216 char *envp[]);
|
/linux-master/drivers/pnp/pnpbios/ |
H A D | core.c | 89 char *argv[3], **envp, *buf, *scratch; local 92 if (!(envp = kcalloc(20, sizeof(char *), GFP_KERNEL))) 95 kfree(envp); 108 envp[i++] = "HOME=/"; 109 envp[i++] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; 113 envp[i++] = "DEBUG=kernel"; 121 envp[i++] = scratch; 125 envp[i++] = scratch; 128 envp[i] = NULL; 130 value = call_usermodehelper(sbin_pnpbios, argv, envp, UMH_WAIT_EXE [all...] |
/linux-master/tools/testing/selftests/x86/ |
H A D | test_syscall_vdso.c | 28 int main(int argc, char **argv, char **envp) argument 36 long get_syscall(char **envp) argument 39 while (*envp++ != NULL) 41 for (auxv = (void *)envp; auxv->a_type != AT_NULL; auxv++) 376 int main(int argc, char **argv, char **envp) argument 392 syscall_addr = get_syscall(envp);
|
H A D | test_mremap_vdso.c | 57 int main(int argc, char **argv, char **envp) argument
|
/linux-master/kernel/ |
H A D | umh.c | 112 (const char *const *)sub_info->envp); 337 * @envp: environment for process 352 * be freed. This can be used for freeing the argv and envp. The 357 char **envp, gfp_t gfp_mask, 375 sub_info->envp = envp; 474 * @envp: environment for process 483 int call_usermodehelper(const char *path, char **argv, char **envp, int wait) argument 488 info = call_usermodehelper_setup(path, argv, envp, gfp_mask, 356 call_usermodehelper_setup(const char *path, char **argv, char **envp, gfp_t gfp_mask, int (*init)(struct subprocess_info *info, struct cred *new), void (*cleanup)(struct subprocess_info *info), void *data) argument
|
/linux-master/fs/nfs/ |
H A D | cache_lib.c | 37 static char *envp[] = { "HOME=/", local 52 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC);
|
/linux-master/kernel/module/ |
H A D | kmod.c | 75 static char *envp[] = { local 98 info = call_usermodehelper_setup(modprobe_path, argv, envp, GFP_KERNEL,
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_sysfs.c | 443 char *envp[] = { event_string, NULL }; local 447 kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHANGE, envp); 464 char *envp[] = { event_string, NULL }; local 468 kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHANGE, envp); 484 char *envp[] = { hotplug_str, conn_id, NULL }; local 493 kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHANGE, envp); 512 char *envp[4] = { hotplug_str, conn_id, prop_id, NULL }; local 527 kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHANGE, envp);
|
/linux-master/drivers/vfio/mdev/ |
H A D | mdev_core.c | 64 char *envp[] = { env_string, NULL }; local 84 kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp); 96 char *envp[] = { env_string, NULL }; local 106 kobject_uevent_env(&parent->dev->kobj, KOBJ_CHANGE, envp);
|
/linux-master/lib/ |
H A D | kobject_uevent.c | 221 r = kobject_uevent_env(kobj, action, env->envp); 427 if (strncmp(env->envp[i], modalias_prefix, 433 len = strlen(env->envp[i]) + 1; 436 memmove(env->envp[i], env->envp[i + 1], 440 env->envp[j] = env->envp[j + 1] - len; 614 env->envp, GFP_KERNEL, 658 if (env->envp_idx >= ARRAY_SIZE(env->envp)) { 674 env->envp[en [all...] |
/linux-master/drivers/greybus/ |
H A D | svc_watchdog.c | 47 static char *envp[] = { local 60 call_usermodehelper(start_path, argv, envp, UMH_WAIT_EXEC);
|
/linux-master/tools/testing/selftests/rlimits/ |
H A D | rlimits-per-userns.c | 77 char *const envp[] = { "I_AM_SERVICE=1", NULL }; local 81 execve(service_prog, argv, envp);
|
/linux-master/drivers/scsi/qedf/ |
H A D | qedf_dbg.c | 137 char *envp[] = {event_string, NULL}; local 152 kobject_uevent_env(&shost->shost_gendev.kobj, KOBJ_CHANGE, envp);
|
/linux-master/arch/mips/sibyte/common/ |
H A D | cfe.c | 213 char **envp = (char **) fw_arg2; local 226 cfe_ept = (long)envp;
|