kern_fork.c (4bf53d0b4672dca72c809b44349fb82657f482f5) | kern_fork.c (90f54cbfeb973c0e2ee7b617b7759ac4335a9efe) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 935 unchanged lines hidden (view full) --- 944 racct_proc_exit(newproc); 945fail1: 946 crfree(proc_set_cred(newproc, NULL)); 947fail2: 948 if (vm2 != NULL) 949 vmspace_free(vm2); 950 uma_zfree(proc_zone, newproc); 951 if ((flags & RFPROCDESC) != 0 && fp_procdesc != NULL) { | 1/*- 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 935 unchanged lines hidden (view full) --- 944 racct_proc_exit(newproc); 945fail1: 946 crfree(proc_set_cred(newproc, NULL)); 947fail2: 948 if (vm2 != NULL) 949 vmspace_free(vm2); 950 uma_zfree(proc_zone, newproc); 951 if ((flags & RFPROCDESC) != 0 && fp_procdesc != NULL) { |
952 fdclose(td->td_proc->p_fd, fp_procdesc, *procdescp, td); | 952 fdclose(td, fp_procdesc, *procdescp); |
953 fdrop(fp_procdesc, td); 954 } 955 pause("fork", hz / 2); 956 return (error); 957} 958 959/* 960 * Handle the return of a child process from fork1(). This function --- 99 unchanged lines hidden --- | 953 fdrop(fp_procdesc, td); 954 } 955 pause("fork", hz / 2); 956 return (error); 957} 958 959/* 960 * Handle the return of a child process from fork1(). This function --- 99 unchanged lines hidden --- |