Deleted Added
full compact
imgact_gzip.c (50477) imgact_gzip.c (52635)
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 *
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 * $FreeBSD: head/sys/kern/imgact_gzip.c 50477 1999-08-28 01:08:13Z peter $
9 * $FreeBSD: head/sys/kern/imgact_gzip.c 52635 1999-10-29 18:09:36Z phk $
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.

--- 13 unchanged lines hidden (view full) ---

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>
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.

--- 13 unchanged lines hidden (view full) ---

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 <sys/lock.h>
41#include <vm/pmap.h>
42#include <vm/vm_map.h>
43#include <vm/vm_kern.h>
44#include <vm/vm_extern.h>
45
46struct imgact_gzip {
47 struct image_params *ip;

--- 337 unchanged lines hidden ---
39#include <sys/lock.h>
40#include <vm/pmap.h>
41#include <vm/vm_map.h>
42#include <vm/vm_kern.h>
43#include <vm/vm_extern.h>
44
45struct imgact_gzip {
46 struct image_params *ip;

--- 337 unchanged lines hidden ---