imgact_aout.h (55205) | imgact_aout.h (83366) |
---|---|
1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * from: @(#)exec.h 8.1 (Berkeley) 6/11/93 | 1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * from: @(#)exec.h 8.1 (Berkeley) 6/11/93 |
34 * $FreeBSD: head/sys/sys/imgact_aout.h 55205 1999-12-29 04:46:21Z peter $ | 34 * $FreeBSD: head/sys/sys/imgact_aout.h 83366 2001-09-12 08:38:13Z julian $ |
35 */ 36 37#ifndef _IMGACT_AOUT_H_ 38#define _IMGACT_AOUT_H_ 39 40#define N_GETMAGIC(ex) \ 41 ( (ex).a_midmag & 0xffff ) 42#define N_GETMID(ex) \ --- 100 unchanged lines hidden (view full) --- 143/* 144 * a_flags 145 */ 146#define EX_PIC 0x10 /* contains position independent code */ 147#define EX_DYNAMIC 0x20 /* contains run-time link-edit info */ 148#define EX_DPMASK 0x30 /* mask for the above */ 149 150#ifdef _KERNEL | 35 */ 36 37#ifndef _IMGACT_AOUT_H_ 38#define _IMGACT_AOUT_H_ 39 40#define N_GETMAGIC(ex) \ 41 ( (ex).a_midmag & 0xffff ) 42#define N_GETMID(ex) \ --- 100 unchanged lines hidden (view full) --- 143/* 144 * a_flags 145 */ 146#define EX_PIC 0x10 /* contains position independent code */ 147#define EX_DYNAMIC 0x20 /* contains run-time link-edit info */ 148#define EX_DPMASK 0x30 /* mask for the above */ 149 150#ifdef _KERNEL |
151struct proc; | 151struct thread; |
152 | 152 |
153int aout_coredump __P((struct proc *p, struct vnode *vp, off_t limit)); | 153int aout_coredump __P((struct thread *td, struct vnode *vp, off_t limit)); |
154#endif 155 156#endif /* !_IMGACT_AOUT_H_ */ | 154#endif 155 156#endif /* !_IMGACT_AOUT_H_ */ |