Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys/compat/common Remove the monolithic compat and...
details: https://anonhg.NetBSD.org/src/rev/8e441e1e381e
branches: pgoyette-compat
changeset: 830633:8e441e1e381e
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Sep 10 08:41:47 2018 +0000
description:
Remove the monolithic compat and compat_sysv modules. Now that we
don't have aliases, we need to use only the version-specific module
names when resolving dependencies.
diffstat:
sys/compat/common/compat_09_mod.c | 7 ++-----
sys/compat/common/compat_10_mod.c | 7 ++-----
sys/compat/common/compat_12_mod.c | 7 ++-----
sys/compat/common/compat_13_mod.c | 7 ++-----
sys/compat/common/compat_14_mod.c | 7 ++-----
sys/compat/common/compat_16_mod.c | 7 ++-----
sys/compat/common/compat_20_mod.c | 7 ++-----
sys/compat/common/compat_30_mod.c | 7 ++-----
sys/compat/common/compat_40_mod.c | 7 ++-----
sys/compat/common/compat_43_mod.c | 8 ++------
sys/compat/common/compat_50_mod.c | 7 ++-----
sys/compat/common/compat_60_mod.c | 7 ++-----
sys/compat/common/compat_70_mod.c | 7 ++-----
sys/compat/common/compat_80_mod.c | 7 ++-----
sys/compat/common/compat_sysctl_09_43.c | 7 ++-----
sys/compat/common/compat_util.c | 7 ++-----
sys/compat/common/files.common | 4 ++--
17 files changed, 34 insertions(+), 83 deletions(-)
diffs (truncated from 528 to 300 lines):
diff -r a13bdc47730a -r 8e441e1e381e sys/compat/common/compat_09_mod.c
--- a/sys/compat/common/compat_09_mod.c Sun Sep 09 22:35:23 2018 +0000
+++ b/sys/compat/common/compat_09_mod.c Mon Sep 10 08:41:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_09_mod.c,v 1.1.2.1 2018/04/17 08:07:13 pgoyette Exp $ */
+/* $NetBSD: compat_09_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_09_mod.c,v 1.1.2.1 2018/04/17 08:07:13 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_09_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -69,8 +69,6 @@
return 0;
}
-#ifdef _MODULE
-
#define REQD_09_1 "compat_80,compat_70,compat_60,compat_50,"
#define REQD_09_2 "compat_40,compat_30,compat_20,compat_16,"
#define REQD_09_3 "compat_14,compat_13,compat_12,compat_10,"
@@ -91,4 +89,3 @@
return ENOTTY;
}
}
-#endif
diff -r a13bdc47730a -r 8e441e1e381e sys/compat/common/compat_10_mod.c
--- a/sys/compat/common/compat_10_mod.c Sun Sep 09 22:35:23 2018 +0000
+++ b/sys/compat/common/compat_10_mod.c Mon Sep 10 08:41:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_10_mod.c,v 1.1.2.1 2018/04/17 08:07:13 pgoyette Exp $ */
+/* $NetBSD: compat_10_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_10_mod.c,v 1.1.2.1 2018/04/17 08:07:13 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_10_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -62,8 +62,6 @@
return 0;
}
-#ifdef _MODULE
-
#define REQD_10_1 "compat_80,compat_70,compat_60,compat_50,"
#define REQD_10_2 "compat_40,compat_30,compat_20,compat_16,"
#define REQD_10_3 "compat_14,compat_13,compat_12,compat_util"
@@ -83,4 +81,3 @@
return ENOTTY;
}
}
-#endif
diff -r a13bdc47730a -r 8e441e1e381e sys/compat/common/compat_12_mod.c
--- a/sys/compat/common/compat_12_mod.c Sun Sep 09 22:35:23 2018 +0000
+++ b/sys/compat/common/compat_12_mod.c Mon Sep 10 08:41:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_12_mod.c,v 1.1.2.2 2018/04/01 23:07:57 pgoyette Exp $ */
+/* $NetBSD: compat_12_mod.c,v 1.1.2.3 2018/09/10 08:41:47 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_12_mod.c,v 1.1.2.2 2018/04/01 23:07:57 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_12_mod.c,v 1.1.2.3 2018/09/10 08:41:47 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -96,8 +96,6 @@
return 0;
}
-#ifdef _MODULE
-
#define REQD_12_1 "compat_80,compat_70,compat_60,compat_50,"
#define REQD_12_2 "compat_40,compat_30,compat_20,compat_16,"
#define REQD_12_3 "compat_14,compat_13"
@@ -117,4 +115,3 @@
return ENOTTY;
}
}
-#endif
diff -r a13bdc47730a -r 8e441e1e381e sys/compat/common/compat_13_mod.c
--- a/sys/compat/common/compat_13_mod.c Sun Sep 09 22:35:23 2018 +0000
+++ b/sys/compat/common/compat_13_mod.c Mon Sep 10 08:41:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_13_mod.c,v 1.1.2.2 2018/04/01 23:07:57 pgoyette Exp $ */
+/* $NetBSD: compat_13_mod.c,v 1.1.2.3 2018/09/10 08:41:47 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_13_mod.c,v 1.1.2.2 2018/04/01 23:07:57 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_13_mod.c,v 1.1.2.3 2018/09/10 08:41:47 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -74,8 +74,6 @@
return 0;
}
-#ifdef _MODULE
-
#define REQD_13_1 "compat_80,compat_70,compat_60,compat_50,"
#define REQD_13_2 "compat_40,compat_30,compat_20,compat_16,"
#define REQD_13_3 "compat_14"
@@ -95,4 +93,3 @@
return ENOTTY;
}
}
-#endif
diff -r a13bdc47730a -r 8e441e1e381e sys/compat/common/compat_14_mod.c
--- a/sys/compat/common/compat_14_mod.c Sun Sep 09 22:35:23 2018 +0000
+++ b/sys/compat/common/compat_14_mod.c Mon Sep 10 08:41:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_14_mod.c,v 1.1.2.1 2018/03/30 10:09:07 pgoyette Exp $ */
+/* $NetBSD: compat_14_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_14_mod.c,v 1.1.2.1 2018/03/30 10:09:07 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_14_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -62,8 +62,6 @@
return 0;
}
-#ifdef _MODULE
-
#define REQD_14_1 "compat_80,compat_70,compat_60,compat_50,"
#define REQD_14_2 "compat_40,compat_30,compat_20,compat_16"
@@ -82,4 +80,3 @@
return ENOTTY;
}
}
-#endif
diff -r a13bdc47730a -r 8e441e1e381e sys/compat/common/compat_16_mod.c
--- a/sys/compat/common/compat_16_mod.c Sun Sep 09 22:35:23 2018 +0000
+++ b/sys/compat/common/compat_16_mod.c Mon Sep 10 08:41:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_16_mod.c,v 1.1.2.1 2018/03/30 05:35:47 pgoyette Exp $ */
+/* $NetBSD: compat_16_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_16_mod.c,v 1.1.2.1 2018/03/30 05:35:47 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_16_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -71,8 +71,6 @@
return error;
}
-#ifdef _MODULE
-
#define REQD_16_1 "compat_80,compat_70,compat_60,compat_50,"
#define REQD_16_2 "compat_40,compat_30,compat_20"
@@ -91,4 +89,3 @@
return ENOTTY;
}
}
-#endif
diff -r a13bdc47730a -r 8e441e1e381e sys/compat/common/compat_20_mod.c
--- a/sys/compat/common/compat_20_mod.c Sun Sep 09 22:35:23 2018 +0000
+++ b/sys/compat/common/compat_20_mod.c Mon Sep 10 08:41:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_20_mod.c,v 1.1.2.1 2018/03/30 02:28:49 pgoyette Exp $ */
+/* $NetBSD: compat_20_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_20_mod.c,v 1.1.2.1 2018/03/30 02:28:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_20_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -78,8 +78,6 @@
return error;
}
-#ifdef _MODULE
-
#define REQD_20 "compat_80,compat_70,compat_60,compat_50,compat_40,compat_30"
MODULE(MODULE_CLASS_EXEC, compat_20, REQD_20);
@@ -97,4 +95,3 @@
return ENOTTY;
}
}
-#endif
diff -r a13bdc47730a -r 8e441e1e381e sys/compat/common/compat_30_mod.c
--- a/sys/compat/common/compat_30_mod.c Sun Sep 09 22:35:23 2018 +0000
+++ b/sys/compat/common/compat_30_mod.c Mon Sep 10 08:41:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_30_mod.c,v 1.1.2.4 2018/03/30 23:57:59 pgoyette Exp $ */
+/* $NetBSD: compat_30_mod.c,v 1.1.2.5 2018/09/10 08:41:47 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_30_mod.c,v 1.1.2.4 2018/03/30 23:57:59 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_30_mod.c,v 1.1.2.5 2018/09/10 08:41:47 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -98,8 +98,6 @@
return error;
}
-#ifdef _MODULE
-
#define REQD_30 "compat_util,compat_80,compat_70,compat_60,compat_50,compat_40"
MODULE(MODULE_CLASS_EXEC, compat_30, REQD_30);
@@ -117,4 +115,3 @@
return ENOTTY;
}
}
-#endif
diff -r a13bdc47730a -r 8e441e1e381e sys/compat/common/compat_40_mod.c
--- a/sys/compat/common/compat_40_mod.c Sun Sep 09 22:35:23 2018 +0000
+++ b/sys/compat/common/compat_40_mod.c Mon Sep 10 08:41:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_40_mod.c,v 1.1.2.2 2018/04/16 03:41:34 pgoyette Exp $ */
+/* $NetBSD: compat_40_mod.c,v 1.1.2.3 2018/09/10 08:41:47 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_40_mod.c,v 1.1.2.2 2018/04/16 03:41:34 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_40_mod.c,v 1.1.2.3 2018/09/10 08:41:47 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -78,8 +78,6 @@
return error;
}
-#ifdef _MODULE
-
#define REQD_40 "compat_80,compat_70,compat_60,compat_50"
MODULE(MODULE_CLASS_EXEC, compat_40, REQD_40);
@@ -97,4 +95,3 @@
return ENOTTY;
}
}
-#endif
diff -r a13bdc47730a -r 8e441e1e381e sys/compat/common/compat_43_mod.c
--- a/sys/compat/common/compat_43_mod.c Sun Sep 09 22:35:23 2018 +0000
+++ b/sys/compat/common/compat_43_mod.c Mon Sep 10 08:41:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_43_mod.c,v 1.1.2.1 2018/04/17 08:07:13 pgoyette Exp $ */
+/* $NetBSD: compat_43_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
Home |
Main Index |
Thread Index |
Old Index