1/* 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@login.dkuug.dk> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * |
9 * $Id: imgact_gzip.c,v 1.20 1996/03/19 15:02:47 bde Exp $ |
10 * 11 * This module handles execution of a.out files which have been run through 12 * "gzip". This saves diskspace, but wastes cpu-cycles and VM. 13 * 14 * TODO: 15 * text-segments should be made R/O after being filled 16 * is the vm-stuff safe ? 17 * should handle the entire header of gzip'ed stuff. --- 4 unchanged lines hidden (view full) --- 22 */ 23 24#include <sys/param.h> 25#include <sys/exec.h> 26#include <sys/imgact.h> 27#include <sys/imgact_aout.h> 28#include <sys/kernel.h> 29#include <sys/mman.h> |
30#include <sys/proc.h> |
31#include <sys/resourcevar.h> 32#include <sys/sysent.h> 33#include <sys/systm.h> |
34#include <sys/vnode.h> |
35#include <sys/inflate.h> 36 37#include <vm/vm.h> 38#include <vm/vm_param.h> 39#include <vm/vm_prot.h> 40#include <vm/lock.h> 41#include <vm/pmap.h> 42#include <vm/vm_map.h> --- 341 unchanged lines hidden --- |