path: root/modules/pam_selinux
diff options
authorTomas Mraz <>2005-09-19 15:58:28 +0000
committerTomas Mraz <>2005-09-19 15:58:28 +0000
commit37d83de50414fdaaa6214a997d2ffa27c687d371 (patch)
tree0c20b3892d643f607305ec3195c92872bd271318 /modules/pam_selinux
parent437861460715738407cb012e2a415db86394a530 (diff)
Relevant BUGIDs:
Purpose of commit: cleanup Commit summary: --------------- Added PAM_NONNULL attributes to some public API (by ldv) Removed const qualifiers from pam_get_item, pam_get_data to comply with spec
Diffstat (limited to 'modules/pam_selinux')
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/pam_selinux/pam_selinux.c b/modules/pam_selinux/pam_selinux.c
index 7b7820dd..d59cc39d 100644
--- a/modules/pam_selinux/pam_selinux.c
+++ b/modules/pam_selinux/pam_selinux.c
@@ -67,7 +67,7 @@
#include <selinux/context.h>
static int
-send_text (const pam_handle_t *pamh, const char *text, int debug)
+send_text (pam_handle_t *pamh, const char *text, int debug)
if (debug)
pam_syslog(pamh, LOG_NOTICE, "%s", text);
@@ -79,7 +79,7 @@ send_text (const pam_handle_t *pamh, const char *text, int debug)
* is responsible for freeing the responses.
static int
-query_response (const pam_handle_t *pamh, const char *text,
+query_response (pam_handle_t *pamh, const char *text,
char **responses, int debug)
if (debug)
@@ -237,7 +237,7 @@ security_restorelabel_tty(const pam_handle_t *pamh,
static security_context_t
-security_label_tty(const pam_handle_t *pamh, char *tty,
+security_label_tty(pam_handle_t *pamh, char *tty,
security_context_t usercon)
char ttybuf[PATH_MAX];