diff options
author | gww <none@none> | 2005-08-24 18:30:16 -0700 |
---|---|---|
committer | gww <none@none> | 2005-08-24 18:30:16 -0700 |
commit | bdfc6d18da790deeec2e0eb09c625902defe2498 (patch) | |
tree | 7acea4bb3441993b6d3f98ca66a8cdc213b18a4d /usr/src/lib/pam_modules/allow | |
parent | 02bbca1855f5e27ab1fa25720d377f068144c9df (diff) | |
download | illumos-joyent-bdfc6d18da790deeec2e0eb09c625902defe2498.tar.gz |
PSARC/2005/453 pam_allow for Solaris
6305906 Implement PSARC/2005/453 pam_allow for Solaris
Diffstat (limited to 'usr/src/lib/pam_modules/allow')
-rw-r--r-- | usr/src/lib/pam_modules/allow/Makefile | 58 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/Makefile.com | 40 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/allow.c | 103 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/amd64/Makefile | 31 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/i386/Makefile | 30 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/sparc/Makefile | 30 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/sparcv9/Makefile | 31 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/spec/Makefile | 28 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/spec/Makefile.targ | 31 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/spec/allow.spec | 67 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/spec/amd64/Makefile | 37 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/spec/i386/Makefile | 34 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/spec/sparc/Makefile | 34 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/spec/sparcv9/Makefile | 35 | ||||
-rw-r--r-- | usr/src/lib/pam_modules/allow/spec/versions | 41 |
15 files changed, 630 insertions, 0 deletions
diff --git a/usr/src/lib/pam_modules/allow/Makefile b/usr/src/lib/pam_modules/allow/Makefile new file mode 100644 index 0000000000..3acd2da41b --- /dev/null +++ b/usr/src/lib/pam_modules/allow/Makefile @@ -0,0 +1,58 @@ +# +# 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 +# +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" +# + +include ../../Makefile.lib + +TEXT_DOMAIN= SUNW_OST_SYSOSPAM +POFILE= allow.po +MSGFILES= allow.c + +SUBDIRS= $(MACH) +$(BUILD64)SUBDIRS += $(MACH64) + +all := TARGET= all +clean := TARGET= clean +clobber := TARGET= clobber +install := TARGET= install +lint := TARGET= lint + +.KEEP_STATE: + +all clean clobber install: spec .WAIT $(SUBDIRS) + +lint: $(SUBDIRS) + +_msg: $(MSGDOMAINPOFILE) + +$(SUBDIRS) spec: FRC + @cd $@; pwd; $(MAKE) $(TARGET) + +FRC: + +include $(SRC)/Makefile.msg.targ +include ../../Makefile.targ diff --git a/usr/src/lib/pam_modules/allow/Makefile.com b/usr/src/lib/pam_modules/allow/Makefile.com new file mode 100644 index 0000000000..50c8f669a1 --- /dev/null +++ b/usr/src/lib/pam_modules/allow/Makefile.com @@ -0,0 +1,40 @@ +# +# 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 +# +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" + +LIBRARY= pam_allow.a +VERS= .1 +OBJECTS= allow.o + +include ../../Makefile.pam_modules + +LDLIBS += -lpam -lc + +all: $(LIBS) + +lint: lintcheck + +include $(SRC)/lib/Makefile.targ diff --git a/usr/src/lib/pam_modules/allow/allow.c b/usr/src/lib/pam_modules/allow/allow.c new file mode 100644 index 0000000000..b661738ab7 --- /dev/null +++ b/usr/src/lib/pam_modules/allow/allow.c @@ -0,0 +1,103 @@ +/* + * 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 + */ +/* + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. + */ + +#pragma ident "%Z%%M% %I% %E% SMI" + +#include <strings.h> +#include <syslog.h> + +#include <security/pam_appl.h> +#include <security/pam_modules.h> + +/* + * pam_allow - PAM service module that returns PAM_SUCCESS all service + * module types. + * + * Entry argv = debug, syslog call LOG_AUTH | LOG_DEBUG. + * + * Exit PAM_SUCCESS + * + * Uses PAM_USER, PAM_SERVICE + */ + +static void +debug(pam_handle_t *pamh, int flags, int argc, const char **argv, char *mod) +{ + char *user = NULL; + char *service = NULL; + + if (argc < 1 || strcmp(argv[0], "debug") != 0) + return; + + (void) pam_get_item(pamh, PAM_SERVICE, (void **)&service); + (void) pam_get_item(pamh, PAM_USER, (void **)&user); + + syslog(LOG_AUTH | LOG_DEBUG, "%s pam_allow:%s(%x) for %s", + service ? service : "No Service Specified", mod, flags, + user ? user : "No User Specified"); +} + +int +pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char **argv) +{ + debug(pamh, flags, argc, argv, "pam_sm_authenticate"); + return (PAM_SUCCESS); +} + +int +pam_sm_setcred(pam_handle_t *pamh, int flags, int argc, const char **argv) +{ + debug(pamh, flags, argc, argv, "pam_sm_setcred"); + return (PAM_SUCCESS); +} + +int +pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, int argc, const char **argv) +{ + debug(pamh, flags, argc, argv, "pam_sm_acct_mgmt"); + return (PAM_SUCCESS); +} + +int +pam_sm_open_session(pam_handle_t *pamh, int flags, int argc, const char **argv) +{ + debug(pamh, flags, argc, argv, "pam_sm_open_session"); + return (PAM_SUCCESS); +} + +int +pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, const char **argv) +{ + debug(pamh, flags, argc, argv, "pam_sm_close_session"); + return (PAM_SUCCESS); +} + +int +pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, const char **argv) +{ + debug(pamh, flags, argc, argv, "pam_sm_chauthtok"); + return (PAM_SUCCESS); +} diff --git a/usr/src/lib/pam_modules/allow/amd64/Makefile b/usr/src/lib/pam_modules/allow/amd64/Makefile new file mode 100644 index 0000000000..9fc73d2317 --- /dev/null +++ b/usr/src/lib/pam_modules/allow/amd64/Makefile @@ -0,0 +1,31 @@ +# +# 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 +# +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" + +include ../Makefile.com +include ../../../Makefile.lib.64 + +install: all $(ROOTLIBS64) $(ROOTLINKS64) diff --git a/usr/src/lib/pam_modules/allow/i386/Makefile b/usr/src/lib/pam_modules/allow/i386/Makefile new file mode 100644 index 0000000000..4e4340d187 --- /dev/null +++ b/usr/src/lib/pam_modules/allow/i386/Makefile @@ -0,0 +1,30 @@ +# +# 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 +# +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" + +include ../Makefile.com + +install: all $(ROOTLIBS) $(ROOTLINKS) diff --git a/usr/src/lib/pam_modules/allow/sparc/Makefile b/usr/src/lib/pam_modules/allow/sparc/Makefile new file mode 100644 index 0000000000..4e4340d187 --- /dev/null +++ b/usr/src/lib/pam_modules/allow/sparc/Makefile @@ -0,0 +1,30 @@ +# +# 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 +# +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" + +include ../Makefile.com + +install: all $(ROOTLIBS) $(ROOTLINKS) diff --git a/usr/src/lib/pam_modules/allow/sparcv9/Makefile b/usr/src/lib/pam_modules/allow/sparcv9/Makefile new file mode 100644 index 0000000000..9fc73d2317 --- /dev/null +++ b/usr/src/lib/pam_modules/allow/sparcv9/Makefile @@ -0,0 +1,31 @@ +# +# 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 +# +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" + +include ../Makefile.com +include ../../../Makefile.lib.64 + +install: all $(ROOTLIBS64) $(ROOTLINKS64) diff --git a/usr/src/lib/pam_modules/allow/spec/Makefile b/usr/src/lib/pam_modules/allow/spec/Makefile new file mode 100644 index 0000000000..2cb984bfc9 --- /dev/null +++ b/usr/src/lib/pam_modules/allow/spec/Makefile @@ -0,0 +1,28 @@ +# +# 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 +# +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" + +include $(SRC)/lib/Makefile.spec.arch diff --git a/usr/src/lib/pam_modules/allow/spec/Makefile.targ b/usr/src/lib/pam_modules/allow/spec/Makefile.targ new file mode 100644 index 0000000000..c669fc5a62 --- /dev/null +++ b/usr/src/lib/pam_modules/allow/spec/Makefile.targ @@ -0,0 +1,31 @@ +# +# 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 +# +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" + +LIBRARY= pam_allow.a +VERS= .1 + +OBJECTS= allow.o diff --git a/usr/src/lib/pam_modules/allow/spec/allow.spec b/usr/src/lib/pam_modules/allow/spec/allow.spec new file mode 100644 index 0000000000..5232771b6e --- /dev/null +++ b/usr/src/lib/pam_modules/allow/spec/allow.spec @@ -0,0 +1,67 @@ +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# 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" + +function pam_sm_authenticate +include <security/pam_appl.h> +declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \ + int argc, const char **argv); +version SUNW_1.1 +end + +function pam_sm_setcred +include <security/pam_appl.h> +declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \ + int argc, const char **argv); +version SUNW_1.1 +end + +function pam_sm_acct_mgmt +include <security/pam_appl.h> +declaration int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, \ + int argc, const char **argv); +version SUNW_1.1 +end + +function pam_sm_open_session +include <security/pam_appl.h> +declaration int pam_sm_open_session(pam_handle_t *pamh, int flags, \ + int argc, const char **argv); +version SUNW_1.1 +end + +function pam_sm_close_session +include <security/pam_appl.h> +declaration int pam_sm_close_session(pam_handle_t *pamh, int flags, \ + int argc, const char **argv); +version SUNW_1.1 +end + +function pam_sm_chauthtok +include <security/pam_appl.h> +declaration int pam_sm_chauthtok(pam_handle_t *pamh, int flags, \ + int argc, const char **argv); +version SUNW_1.1 +end diff --git a/usr/src/lib/pam_modules/allow/spec/amd64/Makefile b/usr/src/lib/pam_modules/allow/spec/amd64/Makefile new file mode 100644 index 0000000000..96d246e35a --- /dev/null +++ b/usr/src/lib/pam_modules/allow/spec/amd64/Makefile @@ -0,0 +1,37 @@ +# +# 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 +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" + +# To enable apptrace, comment out the next line +DISABLE_APPTRACE= $(POUND_SIGN) + +include ../Makefile.targ +include $(SRC)/lib/Makefile.lib +include $(SRC)/lib/Makefile.lib.64 +include $(SRC)/lib/Makefile.spec + +CPPFLAGS += -D$(MACH64) -D__$(MACH64) -D_MSE_INT_H + +$(DISABLE_APPTRACE)install: $(ROOTABILIB) diff --git a/usr/src/lib/pam_modules/allow/spec/i386/Makefile b/usr/src/lib/pam_modules/allow/spec/i386/Makefile new file mode 100644 index 0000000000..d54874ae3f --- /dev/null +++ b/usr/src/lib/pam_modules/allow/spec/i386/Makefile @@ -0,0 +1,34 @@ +# +# 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 +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" + +# To enable apptrace, comment out the next line +DISABLE_APPTRACE= $(POUND_SIGN) + +include ../Makefile.targ +include $(SRC)/lib/Makefile.lib +include $(SRC)/lib/Makefile.spec + +$(DISABLE_APPTRACE)install: $(ROOTABILIB) diff --git a/usr/src/lib/pam_modules/allow/spec/sparc/Makefile b/usr/src/lib/pam_modules/allow/spec/sparc/Makefile new file mode 100644 index 0000000000..d54874ae3f --- /dev/null +++ b/usr/src/lib/pam_modules/allow/spec/sparc/Makefile @@ -0,0 +1,34 @@ +# +# 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 +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" + +# To enable apptrace, comment out the next line +DISABLE_APPTRACE= $(POUND_SIGN) + +include ../Makefile.targ +include $(SRC)/lib/Makefile.lib +include $(SRC)/lib/Makefile.spec + +$(DISABLE_APPTRACE)install: $(ROOTABILIB) diff --git a/usr/src/lib/pam_modules/allow/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/allow/spec/sparcv9/Makefile new file mode 100644 index 0000000000..dde563465e --- /dev/null +++ b/usr/src/lib/pam_modules/allow/spec/sparcv9/Makefile @@ -0,0 +1,35 @@ +# +# 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 +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" + +# To enable apptrace, comment out the next line +DISABLE_APPTRACE= $(POUND_SIGN) + +include ../Makefile.targ +include $(SRC)/lib/Makefile.lib +include $(SRC)/lib/Makefile.lib.64 +include $(SRC)/lib/Makefile.spec + +$(DISABLE_APPTRACE)install: $(ROOTABILIB64) diff --git a/usr/src/lib/pam_modules/allow/spec/versions b/usr/src/lib/pam_modules/allow/spec/versions new file mode 100644 index 0000000000..82d42faa94 --- /dev/null +++ b/usr/src/lib/pam_modules/allow/spec/versions @@ -0,0 +1,41 @@ +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# 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" + +sparc { + SUNW_1.1; +} + +sparcv9 { + SUNW_1.1; +} + +i386 { + SUNW_1.1; +} + +amd64 { + SUNW_1.1; +} |