kern_fork.c (367a13f905874f6ad0a5f78cb88a4923cfe86e5e) | kern_fork.c (6236e71bfe7a77e1f4b1908c727cc52e4c2888cc) |
---|---|
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. --- 810 unchanged lines hidden (view full) --- 819 } 820 821 /* 822 * If required, create a process descriptor in the parent first; we 823 * will abandon it if something goes wrong. We don't finit() until 824 * later. 825 */ 826 if (flags & RFPROCDESC) { | 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. --- 810 unchanged lines hidden (view full) --- 819 } 820 821 /* 822 * If required, create a process descriptor in the parent first; we 823 * will abandon it if something goes wrong. We don't finit() until 824 * later. 825 */ 826 if (flags & RFPROCDESC) { |
827 error = falloc_caps(td, &fp_procdesc, procdescp, 0, 828 fcaps); | 827 error = falloc_caps(td, &fp_procdesc, procdescp, 0, fcaps); |
829 if (error != 0) 830 return (error); 831 } 832 833 mem_charged = 0; 834 vm2 = NULL; 835 if (pages == 0) 836 pages = KSTACK_PAGES; --- 237 unchanged lines hidden --- | 828 if (error != 0) 829 return (error); 830 } 831 832 mem_charged = 0; 833 vm2 = NULL; 834 if (pages == 0) 835 pages = KSTACK_PAGES; --- 237 unchanged lines hidden --- |