From 89b43686db1fe9681d80a7cf5662730cb9378cae Mon Sep 17 00:00:00 2001 From: Bayard Bell Date: Thu, 15 Sep 2011 18:27:52 +0100 Subject: 1073 migrate kernel modules from ancient _depends_on to true ELF dependencies Reviewed by: Adam Leventhal Reviewed by: Garrett D'Amore Approved by: Richard Lowe --- usr/src/uts/common/gssapi/gssdmod.c | 5 +---- usr/src/uts/common/gssapi/mechs/dummy/dmech.c | 5 +---- usr/src/uts/common/gssapi/mechs/krb5/krb5mech.c | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) (limited to 'usr/src/uts/common/gssapi') diff --git a/usr/src/uts/common/gssapi/gssdmod.c b/usr/src/uts/common/gssapi/gssdmod.c index f47ae5c297..e41b44088b 100644 --- a/usr/src/uts/common/gssapi/gssdmod.c +++ b/usr/src/uts/common/gssapi/gssdmod.c @@ -22,17 +22,14 @@ /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright (c) 2011 Bayard G. Bell. All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include #include #include #include -char _depends_on[] = "strmod/rpcmod misc/rpcsec misc/tlimod"; - static struct modlmisc modlmisc = { &mod_miscops, "in-kernel GSSAPI" }; diff --git a/usr/src/uts/common/gssapi/mechs/dummy/dmech.c b/usr/src/uts/common/gssapi/mechs/dummy/dmech.c index 9adf29bc40..04f0949d24 100644 --- a/usr/src/uts/common/gssapi/mechs/dummy/dmech.c +++ b/usr/src/uts/common/gssapi/mechs/dummy/dmech.c @@ -22,10 +22,9 @@ /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright (c) 2011 Bayard G. Bell. All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * A module that implements a dummy security mechanism. * It's mainly used to test GSS-API application. Multiple tokens @@ -33,8 +32,6 @@ * specified through dummy_mech.conf located in /etc. */ -char _depends_on[] = "misc/kgssapi"; - #include #include #include diff --git a/usr/src/uts/common/gssapi/mechs/krb5/krb5mech.c b/usr/src/uts/common/gssapi/mechs/krb5/krb5mech.c index cd93a6a8fb..00a8d7be18 100644 --- a/usr/src/uts/common/gssapi/mechs/krb5/krb5mech.c +++ b/usr/src/uts/common/gssapi/mechs/krb5/krb5mech.c @@ -21,15 +21,12 @@ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright (c) 2011 Bayard G. Bell. All rights reserved. * * A module for Kerberos V5 security mechanism. * */ -#pragma ident "%Z%%M% %I% %E% SMI" - -char _depends_on[] = "misc/kgssapi crypto/md5"; - #include #include #include -- cgit v1.2.3