Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat Unbreak Linux emulation by default. While not loa...
details: https://anonhg.NetBSD.org/src/rev/ea35d6c31775
branches: trunk
changeset: 828191:ea35d6c31775
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Dec 01 22:14:52 2017 +0000
description:
Unbreak Linux emulation by default. While not loading it automatically
is somewhat sensible, breaking functionality of GENERIC is not and has
been objected to on a regular base.
diffstat:
sys/compat/linux/common/linux_mod.c | 6 +++---
sys/compat/linux32/common/linux32_mod.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 276e6d3c6ee0 -r ea35d6c31775 sys/compat/linux/common/linux_mod.c
--- a/sys/compat/linux/common/linux_mod.c Fri Dec 01 21:22:45 2017 +0000
+++ b/sys/compat/linux/common/linux_mod.c Fri Dec 01 22:14:52 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_mod.c,v 1.7 2017/09/29 17:08:00 maxv Exp $ */
+/* $NetBSD: linux_mod.c,v 1.8 2017/12/01 22:14:52 joerg Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_mod.c,v 1.7 2017/09/29 17:08:00 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_mod.c,v 1.8 2017/12/01 22:14:52 joerg Exp $");
#ifdef _KERNEL_OPT
#include "opt_execfmt.h"
@@ -119,7 +119,7 @@
#endif
};
-int linux_enabled = 0;
+int linux_enabled = 1;
int
linux_sysctl_enable(SYSCTLFN_ARGS)
diff -r 276e6d3c6ee0 -r ea35d6c31775 sys/compat/linux32/common/linux32_mod.c
--- a/sys/compat/linux32/common/linux32_mod.c Fri Dec 01 21:22:45 2017 +0000
+++ b/sys/compat/linux32/common/linux32_mod.c Fri Dec 01 22:14:52 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_mod.c,v 1.8 2017/09/29 17:47:29 maxv Exp $ */
+/* $NetBSD: linux32_mod.c,v 1.9 2017/12/01 22:14:52 joerg Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_mod.c,v 1.8 2017/09/29 17:47:29 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_mod.c,v 1.9 2017/12/01 22:14:52 joerg Exp $");
#ifdef _KERNEL_OPT
#include "opt_execfmt.h"
@@ -78,7 +78,7 @@
#endif
};
-int linux32_enabled = 0;
+int linux32_enabled = 1;
int
linux32_sysctl_enable(SYSCTLFN_ARGS)
Home |
Main Index |
Thread Index |
Old Index