svr4_resource.c (84811) | svr4_resource.c (92761) |
---|---|
1/* Derived from: 2 * $NetBSD: svr4_resource.c,v 1.3 1998/12/13 18:00:52 christos Exp $ 3 */ 4 5/*- 6 * Original copyright: 7 * 8 * Copyright (c) 1998 The NetBSD Foundation, Inc. --- 25 unchanged lines hidden (view full) --- 34 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 35 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 36 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 37 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 38 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 39 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 40 * POSSIBILITY OF SUCH DAMAGE. 41 * | 1/* Derived from: 2 * $NetBSD: svr4_resource.c,v 1.3 1998/12/13 18:00:52 christos Exp $ 3 */ 4 5/*- 6 * Original copyright: 7 * 8 * Copyright (c) 1998 The NetBSD Foundation, Inc. --- 25 unchanged lines hidden (view full) --- 34 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 35 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 36 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 37 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 38 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 39 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 40 * POSSIBILITY OF SUCH DAMAGE. 41 * |
42 * $FreeBSD: head/sys/compat/svr4/svr4_resource.c 84811 2001-10-11 17:52:20Z jhb $ | 42 * $FreeBSD: head/sys/compat/svr4/svr4_resource.c 92761 2002-03-20 05:48:58Z alfred $ |
43 */ 44 45/* 46 * Portions of this software have been derived from software contributed 47 * to the FreeBSD Project by Mark Newton. 48 * 49 * Copyright (c) 1999 Mark Newton 50 * All rights reserved. --- 32 unchanged lines hidden (view full) --- 83 84#include <compat/svr4/svr4.h> 85#include <compat/svr4/svr4_types.h> 86#include <compat/svr4/svr4_resource.h> 87#include <compat/svr4/svr4_signal.h> 88#include <compat/svr4/svr4_proto.h> 89#include <compat/svr4/svr4_util.h> 90 | 43 */ 44 45/* 46 * Portions of this software have been derived from software contributed 47 * to the FreeBSD Project by Mark Newton. 48 * 49 * Copyright (c) 1999 Mark Newton 50 * All rights reserved. --- 32 unchanged lines hidden (view full) --- 83 84#include <compat/svr4/svr4.h> 85#include <compat/svr4/svr4_types.h> 86#include <compat/svr4/svr4_resource.h> 87#include <compat/svr4/svr4_signal.h> 88#include <compat/svr4/svr4_proto.h> 89#include <compat/svr4/svr4_util.h> 90 |
91static __inline int svr4_to_native_rl __P((int)); | 91static __inline int svr4_to_native_rl(int); |
92 93static __inline int 94svr4_to_native_rl(rl) 95 int rl; 96{ 97 switch (rl) { 98 case SVR4_RLIMIT_CPU: 99 return RLIMIT_CPU; --- 225 unchanged lines hidden --- | 92 93static __inline int 94svr4_to_native_rl(rl) 95 int rl; 96{ 97 switch (rl) { 98 case SVR4_RLIMIT_CPU: 99 return RLIMIT_CPU; --- 225 unchanged lines hidden --- |