CVS commit: [pgoyette-compat] src/sys/conf

2018-09-27 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Sep 27 21:34:57 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
EXEC_ELF32 does not depend on COMPAT_NETBSD32


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.12 -r1.1196.2.13 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/conf

2018-09-27 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Sep 27 21:34:57 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
EXEC_ELF32 does not depend on COMPAT_NETBSD32


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.12 -r1.1196.2.13 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/files
diff -u src/sys/conf/files:1.1196.2.12 src/sys/conf/files:1.1196.2.13
--- src/sys/conf/files:1.1196.2.12	Thu Sep  6 06:55:47 2018
+++ src/sys/conf/files	Thu Sep 27 21:34:57 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files,v 1.1196.2.12 2018/09/06 06:55:47 pgoyette Exp $
+#	$NetBSD: files,v 1.1196.2.13 2018/09/27 21:34:57 pgoyette Exp $
 #	@(#)files.newconf	7.5 (Berkeley) 5/10/93
 
 version 	20171118
@@ -83,7 +83,7 @@ defflag	opt_revcache.h		NAMECACHE_ENTER_
 
 defflag	opt_exec.h		DEBUG_EXEC
 
-defflag	opt_execfmt.h		EXEC_AOUT EXEC_COFF EXEC_ECOFF
+defflag	opt_execfmt.h		EXEC_AOUT EXEC_COFF EXEC_ECOFF EXEC_ELF32
 EXEC_ELF64 EXEC_SCRIPT
 EXEC_ELF_NOTELESS
 
@@ -158,7 +158,6 @@ defflagCOMPAT_SUNOS: COMPAT_30
 defflag	opt_compat_svr4.h	COMPAT_SVR4 COMPAT_SVR4_32 SVR4_COMPAT_SOLARIS2
 defflagCOMPAT_ULTRIX: COMPAT_50
 defflagCOMPAT_NETBSD32
-defflag opt_execfmt.h		EXEC_ELF32	: COMPAT_NETBSD32
 defflagCOMPAT_SYSV
 defflagSYSV_IPC	: SYSVSHM, SYSVSEM, SYSVMSG
 defflagCOMPAT_NETBSD32_SYSVIPC : SYSV_IPC,



CVS commit: [pgoyette-compat] src/sys/conf

2018-09-27 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Sep 27 08:20:44 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: std

Log Message:
This should no longer be needed


To generate a diff of this commit:
cvs rdiff -u -r1.22.14.1 -r1.22.14.2 src/sys/conf/std

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/conf

2018-09-27 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Sep 27 08:20:44 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: std

Log Message:
This should no longer be needed


To generate a diff of this commit:
cvs rdiff -u -r1.22.14.1 -r1.22.14.2 src/sys/conf/std

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/std
diff -u src/sys/conf/std:1.22.14.1 src/sys/conf/std:1.22.14.2
--- src/sys/conf/std:1.22.14.1	Tue Mar  6 05:43:02 2018
+++ src/sys/conf/std	Thu Sep 27 08:20:44 2018
@@ -1,4 +1,4 @@
-# $NetBSD: std,v 1.22.14.1 2018/03/06 05:43:02 pgoyette Exp $
+# $NetBSD: std,v 1.22.14.2 2018/09/27 08:20:44 pgoyette Exp $
 #
 # standard MI 'options'
 #
@@ -34,13 +34,6 @@ options	AIO		# POSIX asynchronous I/O
 options	MQUEUE		# POSIX message queues
 
 #
-# Common compatibility functions. They happen to be needed even when
-# no compatibility option is explicitly enabled.
-#
-options 	COMPAT_UTILS
-
-#
-
 # Security model.
 #
 options	secmodel_bsd44	# Traditional 4.4BSD security model



CVS commit: [pgoyette-compat] src/sys/conf

2018-09-09 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Sep  9 22:35:23 UTC 2018

Added Files:
src/sys/conf [pgoyette-compat]: compat_netbsd80.config

Log Message:
Add compat_netbsd80.config


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/conf/compat_netbsd80.config

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/sys/conf/compat_netbsd80.config
diff -u /dev/null src/sys/conf/compat_netbsd80.config:1.1.2.1
--- /dev/null	Sun Sep  9 22:35:23 2018
+++ src/sys/conf/compat_netbsd80.config	Sun Sep  9 22:35:23 2018
@@ -0,0 +1,9 @@
+#	$NetBSD: compat_netbsd80.config,v 1.1.2.1 2018/09/09 22:35:23 pgoyette Exp $
+
+# Common fragment for all NetBSD targets wanting NetBSD 7.0 and newer
+# compatibility support.
+#
+# Note that COMPAT_80 implies all newer COMPAT_XX options.
+
+include"conf/compat_netbsd.config"
+options 	COMPAT_80	# NetBSD 8.0 and beyond.



CVS commit: [pgoyette-compat] src/sys/conf

2018-09-09 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Sep  9 22:35:23 UTC 2018

Added Files:
src/sys/conf [pgoyette-compat]: compat_netbsd80.config

Log Message:
Add compat_netbsd80.config


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/conf/compat_netbsd80.config

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



re: CVS commit: [pgoyette-compat] src/sys/conf

2018-03-14 Thread Paul Goyette

Ack - reverted.

Thanks again for keeping me honest.


On Thu, 15 Mar 2018, matthew green wrote:


"Paul Goyette" writes:

Module Name:src
Committed By:   pgoyette
Date:   Wed Mar 14 21:46:51 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
COMPAT_43 is even older than COMPAT_09, so if _43 is enabled, we'll
need everything newer as well.


this isn't traditionally how we did COMPAT_43.  it's more
"enable obsolete interfaces", which is not quite the same
as "make old binaries work".

eg, they enable the old sgtty interfaces that _are_ still
visible and potentially callable from modern binaries.
we still install the headers for this interfaces.

COMPAT_09 enables old binaries with changed interfaces.

i think you should revert this part, untying them.


.mrg.

!DSPAM:5aa99da1134231867360323!




+--+--++
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:  |
| (Retired)| FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+--+--++


CVS commit: [pgoyette-compat] src/sys/conf

2018-03-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Mar 14 22:26:16 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
Revert previous.

>From mrg@:

this isn't traditionally how we did COMPAT_43.  it's more
"enable obsolete interfaces", which is not quite the same
as "make old binaries work".

eg, they enable the old sgtty interfaces that _are_ still
visible and potentially callable from modern binaries.
we still install the headers for this interfaces.

COMPAT_09 enables old binaries with changed interfaces.


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.6 -r1.1196.2.7 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/files
diff -u src/sys/conf/files:1.1196.2.6 src/sys/conf/files:1.1196.2.7
--- src/sys/conf/files:1.1196.2.6	Wed Mar 14 21:46:51 2018
+++ src/sys/conf/files	Wed Mar 14 22:26:15 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files,v 1.1196.2.6 2018/03/14 21:46:51 pgoyette Exp $
+#	$NetBSD: files,v 1.1196.2.7 2018/03/14 22:26:15 pgoyette Exp $
 #	@(#)files.newconf	7.5 (Berkeley) 5/10/93
 
 version 	20171118
@@ -148,7 +148,6 @@ defflag	opt_compat_netbsd.h	COMPAT_12: C
 defflag	opt_compat_netbsd.h	COMPAT_11: COMPAT_12, COMPAT_NETBSD
 defflag	opt_compat_netbsd.h	COMPAT_10: COMPAT_11, COMPAT_NETBSD
 defflag	opt_compat_netbsd.h	COMPAT_09: COMPAT_10, COMPAT_NETBSD
-defflagCOMPAT_43: COMPAT_09, COMPAT_NETBSD
 defflagCOMPAT_OSSAUDIO
 defflagCOMPAT_FREEBSD: COMPAT_30
 defflagCOMPAT_IBCS2
@@ -170,6 +169,7 @@ defflagCOMPAT_LINUX32 : COMPAT_LINUX
 defflagCOMPAT_AOUT_M68K: COMPAT_40
 defflagCOMPAT_M68K4K
 defflagCOMPAT_VAX1K
+defflagCOMPAT_43
 defflag	opt_compat_netbsd.h	COMPAT_NOMID
 
 include	"compat/common/files.common"



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Mar 14 22:26:16 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
Revert previous.

>From mrg@:

this isn't traditionally how we did COMPAT_43.  it's more
"enable obsolete interfaces", which is not quite the same
as "make old binaries work".

eg, they enable the old sgtty interfaces that _are_ still
visible and potentially callable from modern binaries.
we still install the headers for this interfaces.

COMPAT_09 enables old binaries with changed interfaces.


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.6 -r1.1196.2.7 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



re: CVS commit: [pgoyette-compat] src/sys/conf

2018-03-14 Thread matthew green
"Paul Goyette" writes:
> Module Name:  src
> Committed By: pgoyette
> Date: Wed Mar 14 21:46:51 UTC 2018
> 
> Modified Files:
>   src/sys/conf [pgoyette-compat]: files
> 
> Log Message:
> COMPAT_43 is even older than COMPAT_09, so if _43 is enabled, we'll
> need everything newer as well.

this isn't traditionally how we did COMPAT_43.  it's more
"enable obsolete interfaces", which is not quite the same
as "make old binaries work".

eg, they enable the old sgtty interfaces that _are_ still
visible and potentially callable from modern binaries.
we still install the headers for this interfaces.

COMPAT_09 enables old binaries with changed interfaces.

i think you should revert this part, untying them.


.mrg.


CVS commit: [pgoyette-compat] src/sys/conf

2018-03-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Mar 14 21:46:51 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
COMPAT_43 is even older than COMPAT_09, so if _43 is enabled, we'll
need everything newer as well.


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.5 -r1.1196.2.6 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/files
diff -u src/sys/conf/files:1.1196.2.5 src/sys/conf/files:1.1196.2.6
--- src/sys/conf/files:1.1196.2.5	Tue Mar 13 09:07:20 2018
+++ src/sys/conf/files	Wed Mar 14 21:46:51 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files,v 1.1196.2.5 2018/03/13 09:07:20 pgoyette Exp $
+#	$NetBSD: files,v 1.1196.2.6 2018/03/14 21:46:51 pgoyette Exp $
 #	@(#)files.newconf	7.5 (Berkeley) 5/10/93
 
 version 	20171118
@@ -148,6 +148,7 @@ defflag	opt_compat_netbsd.h	COMPAT_12: C
 defflag	opt_compat_netbsd.h	COMPAT_11: COMPAT_12, COMPAT_NETBSD
 defflag	opt_compat_netbsd.h	COMPAT_10: COMPAT_11, COMPAT_NETBSD
 defflag	opt_compat_netbsd.h	COMPAT_09: COMPAT_10, COMPAT_NETBSD
+defflagCOMPAT_43: COMPAT_09, COMPAT_NETBSD
 defflagCOMPAT_OSSAUDIO
 defflagCOMPAT_FREEBSD: COMPAT_30
 defflagCOMPAT_IBCS2
@@ -169,7 +170,6 @@ defflagCOMPAT_LINUX32 : COMPAT_LINUX
 defflagCOMPAT_AOUT_M68K: COMPAT_40
 defflagCOMPAT_M68K4K
 defflagCOMPAT_VAX1K
-defflagCOMPAT_43
 defflag	opt_compat_netbsd.h	COMPAT_NOMID
 
 include	"compat/common/files.common"



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Mar 14 21:46:51 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
COMPAT_43 is even older than COMPAT_09, so if _43 is enabled, we'll
need everything newer as well.


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.5 -r1.1196.2.6 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar 13 09:07:20 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
More clean-up of compat code interdependencies


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.4 -r1.1196.2.5 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar 13 09:07:20 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
More clean-up of compat code interdependencies


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.4 -r1.1196.2.5 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/files
diff -u src/sys/conf/files:1.1196.2.4 src/sys/conf/files:1.1196.2.5
--- src/sys/conf/files:1.1196.2.4	Tue Mar 13 07:21:23 2018
+++ src/sys/conf/files	Tue Mar 13 09:07:20 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files,v 1.1196.2.4 2018/03/13 07:21:23 pgoyette Exp $
+#	$NetBSD: files,v 1.1196.2.5 2018/03/13 09:07:20 pgoyette Exp $
 #	@(#)files.newconf	7.5 (Berkeley) 5/10/93
 
 version 	20171118
@@ -158,12 +158,14 @@ defflag	opt_compat_svr4.h	COMPAT_SVR4 CO
 defflagCOMPAT_ULTRIX: COMPAT_50
 defflagCOMPAT_NETBSD32
 defflag opt_execfmt.h		EXEC_ELF32	: COMPAT_NETBSD32
-defflagCOMPAT_LINUX32 : COMPAT_LINUX, COMPAT_NETBSD32,
-		 COMPAT_50, COMPAT_SYSV,
-		 COMPAT_NETBSD32_SYSVIPC
+defflagCOMPAT_SYSV
+defflagSYSV_IPC	: SYSVSHM, SYSVSEM, SYSVMSG
 defflagCOMPAT_NETBSD32_SYSVIPC : SYSV_IPC,
 			  COMPAT_SYSV,
 			  COMPAT_NETBSD32
+defflagCOMPAT_LINUX32 : COMPAT_LINUX, COMPAT_NETBSD32,
+		 COMPAT_50, COMPAT_SYSV,
+		 COMPAT_NETBSD32_SYSVIPC
 defflagCOMPAT_AOUT_M68K: COMPAT_40
 defflagCOMPAT_M68K4K
 defflagCOMPAT_VAX1K



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar 13 07:21:23 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
Add some more config dependencies between compat modules


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.3 -r1.1196.2.4 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/files
diff -u src/sys/conf/files:1.1196.2.3 src/sys/conf/files:1.1196.2.4
--- src/sys/conf/files:1.1196.2.3	Tue Mar  6 10:07:35 2018
+++ src/sys/conf/files	Tue Mar 13 07:21:23 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files,v 1.1196.2.3 2018/03/06 10:07:35 pgoyette Exp $
+#	$NetBSD: files,v 1.1196.2.4 2018/03/13 07:21:23 pgoyette Exp $
 #	@(#)files.newconf	7.5 (Berkeley) 5/10/93
 
 version 	20171118
@@ -159,7 +159,11 @@ defflagCOMPAT_ULTRIX: COMPAT_50
 defflagCOMPAT_NETBSD32
 defflag opt_execfmt.h		EXEC_ELF32	: COMPAT_NETBSD32
 defflagCOMPAT_LINUX32 : COMPAT_LINUX, COMPAT_NETBSD32,
-		 COMPAT_50
+		 COMPAT_50, COMPAT_SYSV,
+		 COMPAT_NETBSD32_SYSVIPC
+defflagCOMPAT_NETBSD32_SYSVIPC : SYSV_IPC,
+			  COMPAT_SYSV,
+			  COMPAT_NETBSD32
 defflagCOMPAT_AOUT_M68K: COMPAT_40
 defflagCOMPAT_M68K4K
 defflagCOMPAT_VAX1K



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar 13 07:21:23 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
Add some more config dependencies between compat modules


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.3 -r1.1196.2.4 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar  6 10:07:36 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
Re-sequence to declare dependency before depending on it


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.2 -r1.1196.2.3 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/files
diff -u src/sys/conf/files:1.1196.2.2 src/sys/conf/files:1.1196.2.3
--- src/sys/conf/files:1.1196.2.2	Tue Mar  6 09:55:59 2018
+++ src/sys/conf/files	Tue Mar  6 10:07:35 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files,v 1.1196.2.2 2018/03/06 09:55:59 pgoyette Exp $
+#	$NetBSD: files,v 1.1196.2.3 2018/03/06 10:07:35 pgoyette Exp $
 #	@(#)files.newconf	7.5 (Berkeley) 5/10/93
 
 version 	20171118
@@ -85,7 +85,6 @@ defflag	opt_exec.h		DEBUG_EXEC
 defflag	opt_execfmt.h		EXEC_AOUT EXEC_COFF EXEC_ECOFF
 EXEC_ELF64 EXEC_SCRIPT
 EXEC_ELF_NOTELESS
-defflag opt_execfmt.h		EXEC_ELF32 : COMPAT_NETBSD32
 
 defflag	opt_dkwedge.h		DKWEDGE_AUTODISCOVER
 DKWEDGE_METHOD_BSDLABEL
@@ -158,6 +157,7 @@ defflagCOMPAT_SUNOS: COMPAT_30
 defflag	opt_compat_svr4.h	COMPAT_SVR4 COMPAT_SVR4_32 SVR4_COMPAT_SOLARIS2
 defflagCOMPAT_ULTRIX: COMPAT_50
 defflagCOMPAT_NETBSD32
+defflag opt_execfmt.h		EXEC_ELF32	: COMPAT_NETBSD32
 defflagCOMPAT_LINUX32 : COMPAT_LINUX, COMPAT_NETBSD32,
 		 COMPAT_50
 defflagCOMPAT_AOUT_M68K: COMPAT_40



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar  6 10:07:36 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
Re-sequence to declare dependency before depending on it


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.2 -r1.1196.2.3 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar  6 09:55:59 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
Expand dependencies for EXEC_ELF32 and COMPAT_LINUX32


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.1 -r1.1196.2.2 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar  6 09:55:59 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
Expand dependencies for EXEC_ELF32 and COMPAT_LINUX32


To generate a diff of this commit:
cvs rdiff -u -r1.1196.2.1 -r1.1196.2.2 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/files
diff -u src/sys/conf/files:1.1196.2.1 src/sys/conf/files:1.1196.2.2
--- src/sys/conf/files:1.1196.2.1	Tue Mar  6 05:41:51 2018
+++ src/sys/conf/files	Tue Mar  6 09:55:59 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files,v 1.1196.2.1 2018/03/06 05:41:51 pgoyette Exp $
+#	$NetBSD: files,v 1.1196.2.2 2018/03/06 09:55:59 pgoyette Exp $
 #	@(#)files.newconf	7.5 (Berkeley) 5/10/93
 
 version 	20171118
@@ -82,9 +82,10 @@ defflag	opt_revcache.h		NAMECACHE_ENTER_
 
 defflag	opt_exec.h		DEBUG_EXEC
 
-defflag	opt_execfmt.h		EXEC_AOUT EXEC_COFF EXEC_ECOFF EXEC_ELF32
+defflag	opt_execfmt.h		EXEC_AOUT EXEC_COFF EXEC_ECOFF
 EXEC_ELF64 EXEC_SCRIPT
 EXEC_ELF_NOTELESS
+defflag opt_execfmt.h		EXEC_ELF32 : COMPAT_NETBSD32
 
 defflag	opt_dkwedge.h		DKWEDGE_AUTODISCOVER
 DKWEDGE_METHOD_BSDLABEL
@@ -157,7 +158,8 @@ defflagCOMPAT_SUNOS: COMPAT_30
 defflag	opt_compat_svr4.h	COMPAT_SVR4 COMPAT_SVR4_32 SVR4_COMPAT_SOLARIS2
 defflagCOMPAT_ULTRIX: COMPAT_50
 defflagCOMPAT_NETBSD32
-defflagCOMPAT_LINUX32 : COMPAT_LINUX, COMPAT_NETBSD32
+defflagCOMPAT_LINUX32 : COMPAT_LINUX, COMPAT_NETBSD32,
+		 COMPAT_50
 defflagCOMPAT_AOUT_M68K: COMPAT_40
 defflagCOMPAT_M68K4K
 defflagCOMPAT_VAX1K



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar  6 05:43:02 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: std

Log Message:
Include utilities required by compat stuff


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.22.14.1 src/sys/conf/std

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar  6 05:43:02 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: std

Log Message:
Include utilities required by compat stuff


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.22.14.1 src/sys/conf/std

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/std
diff -u src/sys/conf/std:1.22 src/sys/conf/std:1.22.14.1
--- src/sys/conf/std:1.22	Wed Nov  2 00:11:59 2016
+++ src/sys/conf/std	Tue Mar  6 05:43:02 2018
@@ -1,4 +1,4 @@
-# $NetBSD: std,v 1.22 2016/11/02 00:11:59 pgoyette Exp $
+# $NetBSD: std,v 1.22.14.1 2018/03/06 05:43:02 pgoyette Exp $
 #
 # standard MI 'options'
 #
@@ -34,6 +34,13 @@ options	AIO		# POSIX asynchronous I/O
 options	MQUEUE		# POSIX message queues
 
 #
+# Common compatibility functions. They happen to be needed even when
+# no compatibility option is explicitly enabled.
+#
+options 	COMPAT_UTILS
+
+#
+
 # Security model.
 #
 options	secmodel_bsd44	# Traditional 4.4BSD security model



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar  6 05:41:51 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
Include the list of compat files


To generate a diff of this commit:
cvs rdiff -u -r1.1196 -r1.1196.2.1 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/files
diff -u src/sys/conf/files:1.1196 src/sys/conf/files:1.1196.2.1
--- src/sys/conf/files:1.1196	Tue Feb 27 14:28:01 2018
+++ src/sys/conf/files	Tue Mar  6 05:41:51 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files,v 1.1196 2018/02/27 14:28:01 maxv Exp $
+#	$NetBSD: files,v 1.1196.2.1 2018/03/06 05:41:51 pgoyette Exp $
 #	@(#)files.newconf	7.5 (Berkeley) 5/10/93
 
 version 	20171118
@@ -164,6 +164,8 @@ defflagCOMPAT_VAX1K
 defflagCOMPAT_43
 defflag	opt_compat_netbsd.h	COMPAT_NOMID
 
+include	"compat/common/files.common"
+
 define	machdep
 defflag	opt_machdep.h		MACHDEP
 



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar  6 05:41:51 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: files

Log Message:
Include the list of compat files


To generate a diff of this commit:
cvs rdiff -u -r1.1196 -r1.1196.2.1 src/sys/conf/files

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar  6 05:40:32 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: Makefile.kern.inc

Log Message:
No longer build the libcompat.o which ends up including most of the
compat_netbsd code without creating the module entry that other
modules are depending on, which in turn causes the modules to fail
to load because of redefined symbols.


To generate a diff of this commit:
cvs rdiff -u -r1.264 -r1.264.2.1 src/sys/conf/Makefile.kern.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/conf

2018-03-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Mar  6 05:40:32 UTC 2018

Modified Files:
src/sys/conf [pgoyette-compat]: Makefile.kern.inc

Log Message:
No longer build the libcompat.o which ends up including most of the
compat_netbsd code without creating the module entry that other
modules are depending on, which in turn causes the modules to fail
to load because of redefined symbols.


To generate a diff of this commit:
cvs rdiff -u -r1.264 -r1.264.2.1 src/sys/conf/Makefile.kern.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.264 src/sys/conf/Makefile.kern.inc:1.264.2.1
--- src/sys/conf/Makefile.kern.inc:1.264	Sat Feb 17 22:47:14 2018
+++ src/sys/conf/Makefile.kern.inc	Tue Mar  6 05:40:32 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.kern.inc,v 1.264 2018/02/17 22:47:14 joerg Exp $
+#	$NetBSD: Makefile.kern.inc,v 1.264.2.1 2018/03/06 05:40:32 pgoyette Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -155,7 +155,7 @@ LINK_O?=	@${_MKSHMSG} "   link  ${.CURDI
 		${KLINK.o}
 
 ##
-## (3) libkern and compat
+## (3) libkern
 ##
 ## Set KERN_AS in the port Makefile to "obj" or "library".  The
 ## default is "library", as documented in $S/lib/libkern/Makefile.inc.
@@ -171,16 +171,6 @@ LIBKERN?=	${KERNLIB_PROF}
 
 LIBKERNLN?=	${KERNLIBLN}
 
-### find out what to use for libcompat
-.include "$S/compat/common/Makefile.inc"
-.ifndef PROF
-SYSLIBCOMPAT?=	${COMPATLIB}
-.else
-SYSLIBCOMPAT?=	${COMPATLIB_PROF}
-.endif
-
-SYSLIBCOMPATLN?=	${COMPATLIBLN}
-
 ##
 ## (4) local objects, compile rules, and dependencies
 ##
@@ -205,7 +195,7 @@ _MD_OBJS=	${MD_OBJS}
 # load lines for config "xxx" will be emitted as:
 # xxx: ${SYSTEM_DEP} swap.o vers.o build_kernel
 
-SYSTEM_LIB=	${MD_LIBS} ${SYSLIBCOMPAT} ${LIBKERN}
+SYSTEM_LIB=	${MD_LIBS} ${LIBKERN}
 SYSTEM_OBJ?=	${_MD_OBJS} ${OBJS} ${SYSTEM_LIB}
 SYSTEM_DEP+=	Makefile ${SYSTEM_OBJ:O}
 .if defined(CTFMERGE)