PERFORCE change 40185 for review
Andrew Reisse
areisse at FreeBSD.org
Wed Oct 22 19:17:51 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=40185
Change 40185 by areisse at 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);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list