imgact.h (886) | imgact.h (1549) |
---|---|
1/*- 2 * Copyright (c) 1993, David Greenman 3 * 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 --- 26 unchanged lines hidden (view full) --- 35 36#ifndef __h_imgact 37#define __h_imgact 1 38 39#include "proc.h" 40#include "namei.h" 41#include "vnode.h" 42 | 1/*- 2 * Copyright (c) 1993, David Greenman 3 * 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 --- 26 unchanged lines hidden (view full) --- 35 36#ifndef __h_imgact 37#define __h_imgact 1 38 39#include "proc.h" 40#include "namei.h" 41#include "vnode.h" 42 |
43struct execve_args { 44 char *fname; /* file name */ 45 char **argv; /* pointer to table of argument pointers */ 46 char **envv; /* pointer to table of environment pointers */ 47}; 48 | |
49struct image_params { 50 struct proc *proc; /* our process struct */ 51 struct execve_args *uap; /* syscall arguments */ 52 struct vnode *vnodep; /* pointer to vnode of file to exec */ 53 struct vattr *attr; /* attributes of file */ 54 const char *image_header; /* head of file to exec */ 55 char *stringbase; /* base address of tmp string storage */ 56 char *stringp; /* current 'end' pointer of tmp strings */ --- 15 unchanged lines hidden --- | 43struct image_params { 44 struct proc *proc; /* our process struct */ 45 struct execve_args *uap; /* syscall arguments */ 46 struct vnode *vnodep; /* pointer to vnode of file to exec */ 47 struct vattr *attr; /* attributes of file */ 48 const char *image_header; /* head of file to exec */ 49 char *stringbase; /* base address of tmp string storage */ 50 char *stringp; /* current 'end' pointer of tmp strings */ --- 15 unchanged lines hidden --- |