linux_sysctl.c (235063) | linux_sysctl.c (246085) |
---|---|
1/*- 2 * Copyright (c) 2001 Marcel Moolenaar 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 --- 13 unchanged lines hidden (view full) --- 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001 Marcel Moolenaar 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 --- 13 unchanged lines hidden (view full) --- 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29#include <sys/cdefs.h> |
30__FBSDID("$FreeBSD: head/sys/compat/linux/linux_sysctl.c 235063 2012-05-05 19:42:38Z netchild $"); | 30__FBSDID("$FreeBSD: head/sys/compat/linux/linux_sysctl.c 246085 2013-01-29 18:41:30Z jhb $"); |
31 32#include "opt_compat.h" 33#include "opt_kdtrace.h" 34 35#include <sys/param.h> 36#include <sys/kernel.h> 37#include <sys/lock.h> 38#include <sys/malloc.h> --- 8 unchanged lines hidden (view full) --- 47#include <machine/../linux32/linux.h> 48#include <machine/../linux32/linux32_proto.h> 49#else 50#include <machine/../linux/linux.h> 51#include <machine/../linux/linux_proto.h> 52#endif 53 54#include <compat/linux/linux_dtrace.h> | 31 32#include "opt_compat.h" 33#include "opt_kdtrace.h" 34 35#include <sys/param.h> 36#include <sys/kernel.h> 37#include <sys/lock.h> 38#include <sys/malloc.h> --- 8 unchanged lines hidden (view full) --- 47#include <machine/../linux32/linux.h> 48#include <machine/../linux32/linux32_proto.h> 49#else 50#include <machine/../linux/linux.h> 51#include <machine/../linux/linux_proto.h> 52#endif 53 54#include <compat/linux/linux_dtrace.h> |
55#include <compat/linux/linux_misc.h> |
|
55#include <compat/linux/linux_util.h> 56 57#define LINUX_CTL_KERN 1 58#define LINUX_CTL_VM 2 59#define LINUX_CTL_NET 3 60#define LINUX_CTL_PROC 4 61#define LINUX_CTL_FS 5 62#define LINUX_CTL_DEBUG 6 --- 131 unchanged lines hidden --- | 56#include <compat/linux/linux_util.h> 57 58#define LINUX_CTL_KERN 1 59#define LINUX_CTL_VM 2 60#define LINUX_CTL_NET 3 61#define LINUX_CTL_PROC 4 62#define LINUX_CTL_FS 5 63#define LINUX_CTL_DEBUG 6 --- 131 unchanged lines hidden --- |