exec
struct exec ex;
#define THR_CLEANUP_POP(td, exec) \
if ((exec) != 0) \
REG_SIMPLE(exec),
const char *exec, struct ngm_connect ngc, int cs, int ds, void *request,
syslog(LOG_INFO, "Executing: %s", exec);
execlp(_PATH_BSHELL, _PATH_BSHELL, "-c", exec, (char *)NULL);
char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKSIZ];
exec = NULL;
exec = optarg;
if (exec != NULL && label != NULL)
if (exec == NULL) {
exec = (char *)alloca(sizeof DEFAULT_EXEC_PREFIX + strlen(label));
if (exec == NULL) {
strcpy(exec, DEFAULT_EXEC_PREFIX);
strcpy(exec + sizeof DEFAULT_EXEC_PREFIX - 1, label);
Spawn(prog, acname, provider, exec, ngc, cs, ds, response, sz, optd);
.l_exec = exec
.l_exec = __elfN(exec)
__elfN(exec)(struct preloaded_file *fp)
struct exec ex;
struct exec ex;
struct exec ex;
struct exec ex;
.exec = test_exec,
void (*exec)(void *arg, uint64_t pc);
CALLBACK(exec, entry);
CALLBACK(exec, ehdr->e_entry);
pmap_pti_add_kva_locked(vm_offset_t sva, vm_offset_t eva, bool exec)
(exec ? 0 : pg_nx) | pmap_cache_bits(kernel_pmap,
pmap_pti_add_kva(vm_offset_t sva, vm_offset_t eva, bool exec)
pmap_pti_add_kva_locked(sva, eva, exec);
bool exec);
void pmap_pti_add_kva(vm_offset_t sva, vm_offset_t eva, bool exec);
TAILQ_FOREACH(exec, &wq->exec_head, entry) {
if (exec->target == work) {
exec->target = NULL;
struct work_exec exec;
exec.target = work;
TAILQ_INSERT_TAIL(&wq->exec_head, &exec, entry);
if (exec.target != work) {
exec.target = work;
TAILQ_REMOVE(&wq->exec_head, &exec, entry);
struct work_exec *exec;
exe_q_execute exec,
o->execute = exec;
uint32_t exec;
uint32_t exec;
const struct exec *a_out = (const struct exec *) imgp->image_header;
struct exec *a_out;
const struct exec *a_out;
a_out = (const struct exec *)imgp->image_header;
SDT_PROBE_DEFINE1(proc, , , exec, "char *");
SDT_PROBE1(proc, , , exec, args->fname);
.exec = reap_release, .copyout_on_error = false, },
.exec = reap_status, .copyout_on_error = false, },
.exec = reap_getpids, .copyout_on_error = false, },
.exec = reap_kill, .copyout_on_error = true,
.exec = trace_ctl, .copyout_on_error = false, },
.exec = trace_status, .copyout_on_error = false, },
.exec = trapcap_ctl, .copyout_on_error = false, },
.exec = trapcap_status, .copyout_on_error = false, },
.exec = pdeathsig_ctl, .copyout_on_error = false, },
.exec = pdeathsig_status, .copyout_on_error = false, },
.exec = aslr_ctl, .copyout_on_error = false, },
.exec = aslr_status, .copyout_on_error = false, },
.exec = protmax_ctl, .copyout_on_error = false, },
.exec = protmax_status, .copyout_on_error = false, },
.exec = stackgap_ctl, .copyout_on_error = false, },
.exec = stackgap_status, .copyout_on_error = false, },
.exec = no_new_privs_ctl, .copyout_on_error = false, },
.exec = no_new_privs_status, .copyout_on_error = false, },
.exec = wxmap_ctl, .copyout_on_error = false, },
.exec = wxmap_status, .copyout_on_error = false, },
.exec = logsigexit_ctl, .copyout_on_error = false, },
.exec = logsigexit_status, .copyout_on_error = false, },
return (procctl_cmds_info[com].exec(td, p, data));
int (*exec)(struct thread *, struct proc *, void *);
.exec = protect_set, .copyout_on_error = false, },
.exec = reap_acquire, .copyout_on_error = false, },
struct mac_biba *subj, *obj, *exec;
exec = SLOT(execlabel);
error = biba_atmostflags(exec, 0);
struct mac_mls *subj, *obj, *exec;
exec = SLOT(execlabel);
error = mls_atmostflags(exec, 0);
struct execsw *exec = (struct execsw *)data; \
error = exec_register(exec); \
error = exec_unregister(exec); \
N_GETMAGIC_NET(ex) == ZMAGIC) ? 0 : sizeof(struct exec))
char *exec = (char *)execname;
if (exec != NULL)
exec = strdup(exec);
if (exec != NULL)
base = basename(exec);
if (exec) {
free(exec);
le32toh(stats->general.exec),
goto exec;
exec:
.exec = cb_exec,
const struct exec *ex;
if (hdr->size >= sizeof(struct exec) && !N_BADMAG(*ex)) {
struct exec ex;
char *bin, *exec, *kfile, *ofile;
exec = argv[0];
usage(exec);
usage(exec);
FATAL(exec, "%s: Impossible to locate the binary file\n",
exec);
FATAL(exec, "%s: Impossible to locate the pmcstat file\n",
exec);
FATAL(exec, "%s: Impossible to locate the kernel file\n",
exec);
FATAL(exec, "%s: Cannot create tempfile templates\n",
exec);
FATAL(exec, "%s: Impossible to create the tmp file\n",
exec);
FATAL(exec, "%s: Impossible to create the tmp file\n",
exec);
FATAL(exec, "%s: Impossible to open the map file\n",
exec);
exec);
FATAL(exec,
"%s: Impossible to create a new object\n", exec);
FATAL(exec, "%s: Impossible to close the filedesc\n",
exec);
FATAL(exec, "%s: Impossible to remove the tmpfile\n",
exec);
FATAL(exec, "%s: Impossible to generate an analysis\n",
exec);
FATAL(exec, "%s: Impossible to create the tmp file\n",
exec);
FATAL(exec, "%s: Impossible to open the binary file\n",
exec);
FATAL(NULL, "%s: Invalid format for the C file\n", exec);
FATAL(exec, "%s: Impossible to close the filedesc\n",
exec);
FATAL(exec, "%s: Impossible to remove the tmpfile\n",
exec);
return (cmd->exec(argc, argv));
int (*exec)(int argc, char **argv);
usage(const char *exec)
"[-k password] [-r resolvpath] [-f tty] interface\n", exec);
printf("usage %s -d interface\n", exec);