execsw
static struct execsw exec_coff_execsw[] = {
static struct execsw aoutm68k_execsw = {
static struct execsw freebsd_execsw[] = {
static struct execsw linux_execsw[] = {
static struct execsw linux32_execsw[] = {
static struct execsw exec_m68k4k_execsw = {
static struct execsw netbsd32_execsw[] = {
static struct execsw sunos_execsw = {
static struct execsw sunos_execsw = {
static struct execsw ultrix_execsw[] = {
static struct execsw exec_vax1k_execsw = {
static struct execsw exec_aout_execsw = {
static struct execsw exec_ecoff_execsw = {
static struct execsw exec_elf32_execsw[] = {
static struct execsw exec_elf64_execsw[] = {
static struct execsw exec_script_execsw = {
static const struct execsw **execsw = NULL;
exec_add(struct execsw *esp, int count)
exec_remove(struct execsw *esp, int count)
const struct execsw *ex_sw;
const struct execsw **sw;
sw = kmem_alloc(sz * sizeof(struct execsw *) + 1, KM_SLEEP);
if (execsw != NULL) {
kmem_free(__UNCONST(execsw),
nexecs * sizeof(struct execsw *) + 1);
execsw = sw;
if (execsw[i]->es_hdrsz > exec_maxhdrsz)
exec_maxhdrsz = execsw[i]->es_hdrsz;
epp->ep_esch = execsw[i];
newerror = (*execsw[i]->es_makecmds)(l, epp);
const struct execsw *ep_esch;/* execsw entry */
int exec_add(struct execsw *, int);
int exec_remove(struct execsw *, int);
const struct execsw *p_execsw; /* :: exec package information */