/linux-master/fs/ |
H A D | exec.c | 498 * We must account for the size of all the argv and envp pointers to 499 * the argv and envp strings, since they will also take up space in 507 * argc can never be 0, to keep them from walking envp by accident. 1905 struct user_arg_ptr envp, 1944 retval = count(envp, MAX_ARG_STRINGS); 1958 retval = copy_strings(bprm->envc, envp, bprm); 1969 * from argv[1] won't end up walking envp. See also 1989 const char *const *argv, const char *const *envp) 2017 retval = count_strings_kernel(envp); 2031 retval = copy_strings_kernel(bprm->envc, envp, bpr 1903 do_execveat_common(int fd, struct filename *filename, struct user_arg_ptr argv, struct user_arg_ptr envp, int flags) argument 1988 kernel_execve(const char *kernel_filename, const char *const *argv, const char *const *envp) argument 2052 struct user_arg_ptr envp = { .ptr.native = __envp }; local 2062 struct user_arg_ptr envp = { .ptr.native = __envp }; local 2076 struct user_arg_ptr envp = { local 2092 struct user_arg_ptr envp = { local [all...] |
/linux-master/tools/testing/selftests/x86/ |
H A D | test_FISTTP.c | 118 int main(int argc, char **argv, char **envp) argument
|
H A D | test_FCMOV.c | 54 int main(int argc, char **argv, char **envp) argument
|
H A D | test_FCOMI.c | 299 int main(int argc, char **argv, char **envp) argument
|
/linux-master/include/linux/ |
H A D | binfmts.h | 142 const char *const *argv, const char *const *envp);
|
/linux-master/fs/ocfs2/ |
H A D | stackglue.c | 419 char *argv[5], *envp[3]; local 428 envp[0] = "HOME=/"; 429 envp[1] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; 430 envp[2] = NULL; 432 ret = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC);
|
/linux-master/drivers/platform/x86/amd/pmf/ |
H A D | tee-if.c | 67 char *envp[2] = {}; local 69 envp[0] = kasprintf(GFP_KERNEL, "EVENT_ID=%d", event); 70 if (!envp[0]) 73 kobject_uevent_env(&dev->dev->kobj, KOBJ_CHANGE, envp); 75 kfree(envp[0]);
|
/linux-master/security/keys/ |
H A D | request_key.c | 99 static int call_usermodehelper_keys(const char *path, char **argv, char **envp, argument 104 info = call_usermodehelper_setup(path, argv, envp, GFP_KERNEL, 125 char *argv[9], *envp[3], uid_str[12], gid_str[12]; local 179 envp[i++] = "HOME=/"; 180 envp[i++] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; 181 envp[i] = NULL; 196 ret = call_usermodehelper_keys(request_key, argv, envp, keyring,
|
/linux-master/drivers/video/backlight/ |
H A D | backlight.c | 163 char *envp[2]; local 167 envp[0] = "SOURCE=sysfs"; 170 envp[0] = "SOURCE=hotkey"; 173 envp[0] = "SOURCE=unknown"; 176 envp[1] = NULL; 177 kobject_uevent_env(&bd->dev.kobj, KOBJ_CHANGE, envp);
|
/linux-master/block/ |
H A D | disk-events.c | 173 char *envp[ARRAY_SIZE(disk_uevents) + 1] = { }; local 178 envp[nr_events++] = disk_uevents[i]; 181 kobject_uevent_env(&disk_to_dev(disk)->kobj, KOBJ_CHANGE, envp);
|
/linux-master/security/tomoyo/ |
H A D | gc.c | 295 const struct tomoyo_envp *envp local 304 for (i = 0; i < envc; envp++, i++) { 305 tomoyo_put_name(envp->name); 306 tomoyo_put_name(envp->value);
|
/linux-master/tools/thermal/thermometer/ |
H A D | thermometer.c | 421 static int thermometer_execute(int argc, char *argv[], char *const envp[], pid_t *pid) argument 433 execvpe(argv[0], argv, envp); 532 int main(int argc, char *argv[], char *const envp[]) argument 562 if (thermometer_execute(argc - optind, &argv[optind], envp, &pid))
|
/linux-master/drivers/leds/ |
H A D | led-triggers.c | 161 char *envp[2]; local 213 envp[0] = event; 214 envp[1] = NULL; 215 if (kobject_uevent_env(&led_cdev->dev->kobj, KOBJ_CHANGE, envp))
|
/linux-master/drivers/staging/greybus/ |
H A D | audio_manager_module.c | 162 char *envp[] = { local 181 kobject_uevent_env(&module->kobj, KOBJ_ADD, envp);
|
/linux-master/lib/ |
H A D | kobject.c | 480 char *envp[2]; local 501 envp[0] = devpath_string; 502 envp[1] = NULL; 521 kobject_uevent_env(kobj, KOBJ_MOVE, envp); 544 char *envp[2]; local 567 envp[0] = devpath_string; 568 envp[1] = NULL; 576 kobject_uevent_env(kobj, KOBJ_MOVE, envp);
|
/linux-master/samples/landlock/ |
H A D | sandboxer.c | 210 int main(const int argc, char *const argv[], char *const *const envp) argument 389 execvpe(cmd_path, cmd_argv, envp);
|
/linux-master/drivers/pci/ |
H A D | pci-driver.c | 1598 char *envp[3]; local 1603 envp[idx++] = "ERROR_EVENT=BEGIN_RECOVERY"; 1604 envp[idx++] = "DEVICE_ONLINE=0"; 1607 envp[idx++] = "ERROR_EVENT=SUCCESSFUL_RECOVERY"; 1608 envp[idx++] = "DEVICE_ONLINE=1"; 1611 envp[idx++] = "ERROR_EVENT=FAILED_RECOVERY"; 1612 envp[idx++] = "DEVICE_ONLINE=0"; 1619 envp[idx++] = NULL; 1620 kobject_uevent_env(&pdev->dev.kobj, KOBJ_CHANGE, envp);
|
/linux-master/drivers/acpi/ |
H A D | dock.c | 285 char *envp[] = { event_string, NULL }; local 298 kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp); 304 kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp);
|
/linux-master/drivers/md/ |
H A D | dm-uevent.c | 152 r = kobject_uevent_env(kobj, event->action, event->ku_env.envp);
|
/linux-master/net/bridge/ |
H A D | br_stp_if.c | 131 char *envp[] = { NULL }; local 135 rc = call_usermodehelper(BR_STP_PROG, argv, envp, UMH_WAIT_PROC);
|
/linux-master/drivers/macintosh/ |
H A D | windfarm_core.c | 76 static char *envp[] = { "HOME=/", local 82 argv, envp, UMH_WAIT_EXEC);
|
/linux-master/drivers/s390/crypto/ |
H A D | ap_bus.c | 669 char *envp[] = { "INITSCAN=done", NULL }; local 671 kobject_uevent_env(&ap_root_device->kobj, KOBJ_CHANGE, envp); 677 char *envp[] = { "BINDINGS=complete", buf, NULL }; local 681 kobject_uevent_env(&ap_root_device->kobj, KOBJ_CHANGE, envp); 687 char *envp[] = { buf, NULL }; local 691 kobject_uevent_env(&ap_dev->device.kobj, KOBJ_CHANGE, envp); 698 char *envp[] = { buf, NULL }; local 702 kobject_uevent_env(&ap_dev->device.kobj, KOBJ_CHANGE, envp); 710 char *envp[] = { buf, NULL }; local 721 kobject_uevent_env(&ap_root_device->kobj, KOBJ_CHANGE, envp); [all...] |
/linux-master/drivers/s390/char/ |
H A D | tape_core.c | 226 char *envp[] = { NULL, NULL }; local 232 envp[0] = env_state_unloaded; 233 kobject_uevent_env(&device->cdev->dev.kobj, KOBJ_CHANGE, envp); 238 envp[0] = env_state_loaded; 239 kobject_uevent_env(&device->cdev->dev.kobj, KOBJ_CHANGE, envp);
|
/linux-master/drivers/extcon/ |
H A D | extcon.c | 434 char *envp[3]; local 482 envp[env_offset++] = name_buf; 490 envp[env_offset++] = state_buf; 492 envp[env_offset] = NULL; 496 kobject_uevent_env(&edev->dev.kobj, KOBJ_CHANGE, envp);
|
/linux-master/kernel/cgroup/ |
H A D | cgroup-v1.c | 785 char *argv[3], *envp[3]; local 813 envp[0] = "HOME=/"; 814 envp[1] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin"; 815 envp[2] = NULL; 817 call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC);
|