FreeBSD kernel kern code
imgact_aout.c File Reference
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/exec.h>
#include <sys/imgact.h>
#include <sys/imgact_aout.h>
#include <sys/kernel.h>
#include <sys/limits.h>
#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/racct.h>
#include <sys/resourcevar.h>
#include <sys/signalvar.h>
#include <sys/syscall.h>
#include <sys/sysent.h>
#include <sys/systm.h>
#include <sys/vnode.h>
#include <machine/frame.h>
#include <machine/md_var.h>
#include <vm/vm.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
#include <vm/vm_object.h>
#include <vm/vm_param.h>
Include dependency graph for imgact_aout.c:

Go to the source code of this file.

Macros

#define AOUT32_USRSTACK   0xbfc00000
 

Functions

 __FBSDID ("$FreeBSD$")
 
static int exec_aout_imgact (struct image_params *imgp)
 
static int aout_fixup (uintptr_t *stack_base, struct image_params *imgp)
 
 EXEC_SET (aout, aout_execsw)
 

Variables

static struct execsw aout_execsw
 

Macro Definition Documentation

◆ AOUT32_USRSTACK

#define AOUT32_USRSTACK   0xbfc00000

Definition at line 70 of file imgact_aout.c.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ aout_fixup()

static int aout_fixup ( uintptr_t *  stack_base,
struct image_params *  imgp 
)
static

Definition at line 169 of file imgact_aout.c.

◆ exec_aout_imgact()

static int exec_aout_imgact ( struct image_params *  imgp)
static

Definition at line 179 of file imgact_aout.c.

References exec_map_stack(), exec_new_vmspace(), lim_cur_proc(), and maxtsiz.

Here is the call graph for this function:

◆ EXEC_SET()

EXEC_SET ( aout  ,
aout_execsw   
)

Variable Documentation

◆ aout_execsw

struct execsw aout_execsw
static
Initial value:
= {
.ex_imgact = exec_aout_imgact,
.ex_name = "a.out"
}
static int exec_aout_imgact(struct image_params *imgp)
Definition: imgact_aout.c:179

Definition at line 369 of file imgact_aout.c.