]> granicus.if.org Git - sudo/commitdiff
added set_auth_parameters for osf
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 1 Sep 1994 17:38:55 +0000 (17:38 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 1 Sep 1994 17:38:55 +0000 (17:38 +0000)
sudo.c

diff --git a/sudo.c b/sudo.c
index 5a8b6696c127e46ded5e7506d81779ab405e09e9..3726e6726d52bc5bbc7460bdf7e4f76be17f511e 100644 (file)
--- a/sudo.c
+++ b/sudo.c
@@ -91,6 +91,10 @@ static char rcsid[] = "$Id$";
 #ifdef _AIX
 #include <sys/id.h>
 #endif /* _AIX */
+#if defined(__osf__) && defined(HAVE_C2_SECURITY)
+#include <sys/security.h>
+#include <prot.h>
+#endif /* __osf__ && HAVE_C2_SECURITY */
 
 #include "sudo.h"
 #include "version.h"
@@ -147,6 +151,10 @@ main(argc, argv)
     int sudo_mode = MODE_RUN;
     extern char ** environ;
 
+#if defined(__osf__) && defined(HAVE_C2_SECURITY)
+    (void) set_auth_parameters();
+#endif /* __osf__ && HAVE_C2_SECURITY */
+
     Argv = argv;
     Argc = argc;