Searched refs:execpath (Results 1 – 13 of 13) sorted by relevance
| /freebsd-12.1/usr.sbin/pmcstat/ |
| H A D | pmcpl_gprof.c | 318 const char *execpath; in pmcpl_gmon_initimage() local 330 execpath = pmcstat_string_unintern(pi->pi_execpath); in pmcpl_gmon_initimage() 331 if ((snbuf = strdup(execpath)) == NULL) in pmcpl_gmon_initimage() 332 err(EX_OSERR, "ERROR: Cannot copy \"%s\"", execpath); in pmcpl_gmon_initimage() 334 err(EX_OSERR, "ERROR: Cannot process \"%s\"", execpath); in pmcpl_gmon_initimage()
|
| /freebsd-12.1/lib/libproc/ |
| H A D | proc_create.c | 97 error = procstat_getpathname(phdl->procstat, kp, phdl->execpath, in proc_init() 98 sizeof(phdl->execpath)); in proc_init() 104 if ((fd = open(phdl->execpath, O_RDONLY)) < 0) { in proc_init()
|
| H A D | _libproc.h | 80 char execpath[PATH_MAX]; /* Path to program executable. */ member
|
| H A D | proc_rtld.c | 65 if (strcmp(lop->rdl_path, phdl->execpath) == 0 && in map_iter()
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_exec.c | 574 imgp->execpath = args->fname; in do_execve() 577 if (vn_fullpath(td, imgp->vp, &imgp->execpath, in do_execve() 579 imgp->execpath = args->fname; in do_execve() 645 imgp->execpath = NULL; in do_execve() 665 imgp->execpath != NULL ? imgp->execpath : "<unresolved>"); in do_execve() 1497 if (imgp->execpath != NULL && imgp->auxargs != NULL) in exec_copyout_strings() 1498 execpath_len = strlen(imgp->execpath) + 1; in exec_copyout_strings() 1526 copyout(imgp->execpath, (void *)destp, execpath_len); in exec_copyout_strings()
|
| /freebsd-12.1/contrib/openbsm/bin/auditdistd/ |
| H A D | auditdistd.c | 625 const char *execpath, *pidfile; in main() local 631 execpath = argv[0]; in main() 632 if (execpath[0] != '/') { in main() 685 if (proto_set("execpath", execpath) == -1) in main()
|
| /freebsd-12.1/sys/arm64/linux/ |
| H A D | linux_sysvec.c | 233 if (imgp->execpath != NULL && imgp->auxargs != NULL) in linux_copyout_strings() 234 execpath_len = strlen(imgp->execpath) + 1; in linux_copyout_strings() 247 copyout(imgp->execpath, (void *)imgp->execpathp, execpath_len); in linux_copyout_strings()
|
| /freebsd-12.1/sys/sys/ |
| H A D | imgact.h | 80 char *execpath; member
|
| /freebsd-12.1/sys/dev/filemon/ |
| H A D | filemon_wrapper.c | 127 imgp->execpath != NULL ? imgp->execpath : "<unknown>"); in filemon_event_process_exec()
|
| /freebsd-12.1/sys/amd64/linux/ |
| H A D | linux_sysvec.c | 320 if (imgp->execpath != NULL && imgp->auxargs != NULL) in linux_copyout_strings() 321 execpath_len = strlen(imgp->execpath) + 1; in linux_copyout_strings() 334 copyout(imgp->execpath, (void *)imgp->execpathp, execpath_len); in linux_copyout_strings()
|
| /freebsd-12.1/sys/amd64/linux32/ |
| H A D | linux32_sysvec.c | 779 if (imgp->execpath != NULL && imgp->auxargs != NULL) in linux_copyout_strings() 780 execpath_len = strlen(imgp->execpath) + 1; in linux_copyout_strings() 792 copyout(imgp->execpath, (void *)imgp->execpathp, execpath_len); in linux_copyout_strings()
|
| /freebsd-12.1/sys/i386/linux/ |
| H A D | linux_sysvec.c | 294 if (imgp->execpath != NULL && imgp->auxargs != NULL) in linux_copyout_strings() 295 execpath_len = strlen(imgp->execpath) + 1; in linux_copyout_strings() 311 copyout(imgp->execpath, (void *)imgp->execpathp, execpath_len); in linux_copyout_strings()
|
| /freebsd-12.1/sys/compat/freebsd32/ |
| H A D | freebsd32_misc.c | 3151 if (imgp->execpath != NULL && imgp->auxargs != NULL) in freebsd32_copyout_strings() 3152 execpath_len = strlen(imgp->execpath) + 1; in freebsd32_copyout_strings() 3179 copyout(imgp->execpath, (void *)destp, execpath_len); in freebsd32_copyout_strings()
|