Date: Wed, 22 Oct 2003 12:17:51 -0700 (PDT) From: Andrew Reisse <areisse@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 40185 for review Message-ID: <200310221917.h9MJHp7Y013189@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=40185 Change 40185 by areisse@areisse_ibook on 2003/10/22 12:17:00 remove things that need pam Affected files ... .. //depot/projects/trustedbsd/sedarwin/libsebsd/query_user_context.c#2 edit .. //depot/projects/trustedbsd/sedarwin/libsebsd/sebsd.h#2 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin/libsebsd/query_user_context.c#2 (text+ko) ==== @@ -34,6 +34,8 @@ * $FreeBSD$ */ +#ifdef USE_PAM + #include <ctype.h> #include <stdlib.h> #include <string.h> @@ -100,3 +102,5 @@ free(pam_response); return (context_menu(pamh, ordered_context_list, length, retcontext)); } + +#endif ==== //depot/projects/trustedbsd/sedarwin/libsebsd/sebsd.h#2 (text+ko) ==== @@ -38,7 +38,10 @@ #define _SEBSD_H #include <sys/types.h> + +#ifdef USE_PAM #include <security/pam_types.h> +#endif #include "flask_types.h" #include "sebsd_syscalls.h" @@ -54,8 +57,11 @@ char ***ordered_list, size_t *length); int get_default_context(const char *username, const char *from_context, char **default_context); +#ifdef USE_PAM int query_user_context(pam_handle_t *pamh, char **ordered_context_list, size_t length, char **retcontext); +#endif + security_class_t string_to_security_class(const char *s); int sebsd_avc_toggle(void);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310221917.h9MJHp7Y013189>