summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authormp153739 <none@none>2007-05-04 00:56:46 -0700
committermp153739 <none@none>2007-05-04 00:56:46 -0700
commit919de62b8ad133e8ab3521a71d3b75e472787d5c (patch)
tree5ebc25ab4bf28f2e8d37037b24ca7c3103e233f0 /usr/src
parent5e7a6df57a47d2c728f51ad749031ad9598492ab (diff)
downloadillumos-gate-919de62b8ad133e8ab3521a71d3b75e472787d5c.tar.gz
6217259 A sun4u specific kmech_krb5 is unnecessary
--HG-- rename : usr/src/uts/sun4u/kmech_krb5/Makefile => deleted_files/usr/src/uts/sun4u/kmech_krb5/Makefile rename : usr/src/uts/sun4u/kmech_krb5/inc.flg => deleted_files/usr/src/uts/sun4u/kmech_krb5/inc.flg rename : usr/src/uts/sun4u/kmech_krb5/req.flg => deleted_files/usr/src/uts/sun4u/kmech_krb5/req.flg
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/pkgdefs/SUNWcakr.u/prototype_com3
-rw-r--r--usr/src/uts/common/gssapi/mechs/krb5/krb5mech.c12
-rw-r--r--usr/src/uts/sun4u/Makefile.rules15
-rw-r--r--usr/src/uts/sun4u/Makefile.sun4u.shared1
-rw-r--r--usr/src/uts/sun4u/kmech_krb5/Makefile120
-rw-r--r--usr/src/uts/sun4u/kmech_krb5/inc.flg44
-rw-r--r--usr/src/uts/sun4u/kmech_krb5/req.flg44
7 files changed, 1 insertions, 238 deletions
diff --git a/usr/src/pkgdefs/SUNWcakr.u/prototype_com b/usr/src/pkgdefs/SUNWcakr.u/prototype_com
index 2187795a5b..50ac9edc49 100644
--- a/usr/src/pkgdefs/SUNWcakr.u/prototype_com
+++ b/usr/src/pkgdefs/SUNWcakr.u/prototype_com
@@ -485,9 +485,6 @@ f none platform/sun4u/kernel/drv/sparcv9/zsh 755 root sys
f none platform/sun4u/kernel/drv/trapstat.conf 644 root sys
f none platform/sun4u/kernel/drv/zsh.conf 644 root sys
d none platform/sun4u/kernel/misc 755 root sys
-d none platform/sun4u/kernel/misc/kgss 755 root sys
-d none platform/sun4u/kernel/misc/kgss/sparcv9 755 root sys
-f none platform/sun4u/kernel/misc/kgss/sparcv9/kmech_krb5 755 root sys
d none platform/sun4u/kernel/misc/sparcv9 755 root sys
f none platform/sun4u/kernel/misc/sparcv9/kmdbmod 755 root sys
f none platform/sun4u/kernel/misc/sparcv9/bootdev 755 root sys
diff --git a/usr/src/uts/common/gssapi/mechs/krb5/krb5mech.c b/usr/src/uts/common/gssapi/mechs/krb5/krb5mech.c
index c0d828c3d9..7d82c28788 100644
--- a/usr/src/uts/common/gssapi/mechs/krb5/krb5mech.c
+++ b/usr/src/uts/common/gssapi/mechs/krb5/krb5mech.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* A module for Kerberos V5 security mechanism.
@@ -68,20 +68,10 @@ static gss_mechanism
*/
extern struct mod_ops mod_miscops;
-#if defined(sun4u)
-
-static struct modlmisc modlmisc = {
- &mod_miscops, "Krb5 GSS mech, sun4u optimized"
-};
-
-#else
-
static struct modlmisc modlmisc = {
&mod_miscops, "Krb5 GSS mechanism"
};
-#endif
-
static struct modlinkage modlinkage = {
MODREV_1,
(void *)&modlmisc,
diff --git a/usr/src/uts/sun4u/Makefile.rules b/usr/src/uts/sun4u/Makefile.rules
index 3bffe56e51..5a81ff988d 100644
--- a/usr/src/uts/sun4u/Makefile.rules
+++ b/usr/src/uts/sun4u/Makefile.rules
@@ -168,15 +168,6 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/rsa/%.s
$(OBJS_DIR)/%.o: $(SRC)/common/atomic/sparcv9/%.s
$(COMPILE.s) -o $@ $<
-KMECHKRB5_BASE=$(UTSBASE)/common/gssapi/mechs/krb5
-
-$(OBJS_DIR)/%.o: $(KMECHKRB5_BASE)/crypto/des/sparc/sun4u/%.c
- $(COMPILE.c) -o $@ $<
- $(CTFCONVERT_O)
-
-$(OBJS_DIR)/%.o: $(KMECHKRB5_BASE)/crypto/des/sparc/sun4u/%.s
- $(COMPILE.s) -o $@ $<
-
$(OBJS_DIR)/dtracestubs.s: $(UNIX_O) $(LIBS)
nm -u $(UNIX_O) $(LIBS) | grep __dtrace_probe_ | sort | uniq | nawk '{ \
printf("\t.global %s\n\t.type %s, #function\n%s:\n", \
@@ -287,11 +278,5 @@ $(LINTS_DIR)/%.ln: $(SRC)/common/crypto/sha1/sparc/sun4u/%.s
$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/rsa/%.s
@($(LHEAD) $(LINT.s) $< $(LTAIL))
-$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/des/sparc/sun4u/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/des/sparc/sun4u/%.s
- @($(LHEAD) $(LINT.s) $< $(LTAIL))
-
$(LINTS_DIR)/%.ln: $(SRC)/common/atomic/%.c
@($(LHEAD) $(LINT.c) $< $(LTAIL))
diff --git a/usr/src/uts/sun4u/Makefile.sun4u.shared b/usr/src/uts/sun4u/Makefile.sun4u.shared
index 618b59d3d2..51c6efc89f 100644
--- a/usr/src/uts/sun4u/Makefile.sun4u.shared
+++ b/usr/src/uts/sun4u/Makefile.sun4u.shared
@@ -446,7 +446,6 @@ MISC_KMODS += obpsym bootdev vis cpr platmod md5 sha1 i2c_svc
MISC_KMODS += sbd
MISC_KMODS += opl_cfg
-MISC_KMODS += kmech_krb5
MISC_KMODS += zuluvm
MISC_KMODS += gptwo_cpu gptwocfg
diff --git a/usr/src/uts/sun4u/kmech_krb5/Makefile b/usr/src/uts/sun4u/kmech_krb5/Makefile
deleted file mode 100644
index a7fd6f3d4b..0000000000
--- a/usr/src/uts/sun4u/kmech_krb5/Makefile
+++ /dev/null
@@ -1,120 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# This makefile drives the production of the gl_kmech_krb5 kernel module.
-#
-# sun4u implementation architecture dependent
-#
-#
-# Path to the base of the uts directory tree (usually /usr/src/uts).
-#
-UTSBASE = ../..
-
-#
-# Define the module and object file sets.
-#
-MODULE = kmech_krb5
-OBJECTS = $(KGSS_KRB5_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KGSS_KRB5_OBJS:%.o=$(LINTS_DIR)/%.ln)
-ROOTMODULE = $(ROOT_PSM_KGSS_DIR)/$(MODULE)
-
-#
-# Include common rules.
-#
-include $(UTSBASE)/sun4u/Makefile.sun4u
-
-#
-# Define targets
-#
-ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
-INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
-
-#
-# Files need to be compiled v8+ or v9
-#
-AS_XARCH_32 = -xarch=v8plus
-
-#
-# Default build targets.
-#
-.KEEP_STATE:
-
-def: $(DEF_DEPS)
-
-all: $(ALL_DEPS)
-
-clean: $(CLEAN_DEPS)
-
-clobber: $(CLOBBER_DEPS)
-
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
-install: $(INSTALL_DEPS)
-
-KMECHKRB5_BASE=$(UTSBASE)/common/gssapi/mechs/krb5
-KGSSDFLAGS=-I $(UTSBASE)/common/gssapi/include
-KGSSDFLAGS += $(KRB5_DEFS)
-
-$(OBJS_DIR)/%.o: $(KMECHKRB5_BASE)/crypto/crc32/%.c
- $(COMPILE.c) $(KGSSDFLAGS) -o $@ $<
- $(CTFCONVERT_O)
-
-$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/crc32/%.c
- @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL))
-
-#
-# Include common targets.
-#
-include $(UTSBASE)/sun4u/Makefile.targ
-
-INC_PATH += \
- -I$(UTSBASE)/common/gssapi \
- -I$(UTSBASE)/common/gssapi/include \
- -I$(UTSBASE)/common/gssapi/mechs/krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/krb
diff --git a/usr/src/uts/sun4u/kmech_krb5/inc.flg b/usr/src/uts/sun4u/kmech_krb5/inc.flg
deleted file mode 100644
index b79896d59c..0000000000
--- a/usr/src/uts/sun4u/kmech_krb5/inc.flg
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-find_files "s.*.h" usr/src/uts/common/sys
-find_files "s.*.h" usr/src/uts/common/rpc
-find_files "s.*.h" usr/src/uts/common/gssapi
-find_files "s.*.h" usr/src/uts/common/vm
-find_files "s.*.h" usr/src/uts/common/netinet
-find_files "s.*.h" usr/src/uts/common/net
-find_files "s.*.h" usr/src/uts/sun4u/sys
-find_files "s.*.h" usr/src/uts/sparc/sys
-find_files "s.*.h" usr/src/uts/sparc/v7
-find_files "s.*.h" usr/src/uts/sparc/v9
-find_files "s.*.h" usr/src/lib/krb5/kadm5
-find_files "s.*" usr/src/uts/sun4u/ml
-find_files "s.*" usr/src/uts/sparc/ml
-find_files "s.*" usr/src/uts/sfmmu
-find_files "s.*" usr/src/uts/common/gssapi/mechs/krb5
-find_files "s.*" usr/src/lib/gss_mechs/mech_krb5
diff --git a/usr/src/uts/sun4u/kmech_krb5/req.flg b/usr/src/uts/sun4u/kmech_krb5/req.flg
deleted file mode 100644
index f8e8b042e3..0000000000
--- a/usr/src/uts/sun4u/kmech_krb5/req.flg
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-echo_file usr/src/uts/sun4u/Makefile
-echo_file usr/src/uts/sun4u/Makefile.files
-echo_file usr/src/uts/sun4u/Makefile.sun4u
-echo_file usr/src/uts/sun4u/Makefile.sun4u.shared
-echo_file usr/src/uts/sun4u/Makefile.rules
-echo_file usr/src/uts/sun4u/Makefile.targ
-echo_file usr/src/uts/sun4u/Makefile.targ.shared
-echo_file usr/src/uts/sun4u/Makefile.workarounds
-echo_file usr/src/uts/sparc/Makefile.rules
-echo_file usr/src/uts/sparc/Makefile.files
-echo_file usr/src/uts/sun/Makefile.files
-echo_file usr/src/uts/sun/Makefile.rules
-echo_file usr/src/uts/sparc/v9/Makefile.files
-echo_file usr/src/uts/sparc/v9/Makefile.rules
-echo_file usr/src/uts/common/Makefile.files
-echo_file usr/src/uts/common/Makefile.rules