FreeBSD kernel kern code
|
#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/lock.h>
#include <sys/mman.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/racct.h>
#include <sys/resourcevar.h>
#include <sys/sysent.h>
#include <sys/systm.h>
#include <sys/vnode.h>
#include <sys/inflate.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
Go to the source code of this file.
Data Structures | |
struct | imgact_gzip |
Functions | |
__FBSDID ("$BSDSUniX$") | |
static int | exec_gzip_imgact (struct image_params *imgp) |
static int | NextByte (void *vp) |
static int | do_aout_hdr (struct imgact_gzip *) |
static int | Flush (void *vp, u_char *, u_long siz) |
EXEC_SET (execgzip, gzip_execsw) | |
Variables | |
static struct execsw | gzip_execsw = {exec_gzip_imgact, "gzip"} |
__FBSDID | ( | "$BSDSUniX$" | ) |
|
static |
Definition at line 154 of file imgact_gzip.c.
References imgact_gzip::a_out, imgact_gzip::bss_size, exec_new_vmspace(), imgact_gzip::file_end, imgact_gzip::file_offset, imgact_gzip::ip, lim_cur(), maxtsiz, racct_set(), imgact_gzip::virtual_offset, and imgact_gzip::where.
Referenced by Flush().
|
static |
Definition at line 70 of file imgact_gzip.c.
References Flush(), inflate(), NextByte(), and printf().
EXEC_SET | ( | execgzip | , |
gzip_execsw | |||
) |
|
static |
Definition at line 334 of file imgact_gzip.c.
References imgact_gzip::a_out, do_aout_hdr(), imgact_gzip::error, imgact_gzip::file_end, imgact_gzip::file_offset, imgact_gzip::gotheader, imgact_gzip::output, imgact_gzip::virtual_offset, and imgact_gzip::where.
Referenced by exec_gzip_imgact().
|
static |
Definition at line 300 of file imgact_gzip.c.
References imgact_gzip::error, imgact_gzip::idx, imgact_gzip::inbuf, imgact_gzip::ip, imgact_gzip::len, imgact_gzip::offset, and imgact_gzip::where.
Referenced by exec_gzip_imgact().
|
static |
Definition at line 392 of file imgact_gzip.c.