move afsconf_CheckAuth which requires afsconf_SuperUser into userok.c
where afsconf_SuperUser is, eliminating the need for libaudit when using
archive libraries (doesn't help with shlibs)
#endif /* defined(UKERNEL) */
-#if !defined(UKERNEL)
-int afsconf_CheckAuth(adir, acall)
-register struct rx_call *acall;
-register struct afsconf_dir *adir; {
- LOCK_GLOBAL_MUTEX
- return ((afsconf_SuperUser(adir, acall, (char *)0) == 0)? 10029 : 0);
- UNLOCK_GLOBAL_MUTEX
-}
-#endif /* !defined(UKERNEL) */
-
/* return a null security object if nothing else can be done */
static afs_int32 QuickAuth(astr, aindex)
struct rx_securityClass **astr;
#include "afs/audit.h"
+#if !defined(UKERNEL)
+int afsconf_CheckAuth(adir, acall)
+register struct rx_call *acall;
+register struct afsconf_dir *adir; {
+ LOCK_GLOBAL_MUTEX
+ return ((afsconf_SuperUser(adir, acall, (char *)0) == 0)? 10029 : 0);
+ UNLOCK_GLOBAL_MUTEX
+}
+#endif /* !defined(UKERNEL) */
+
static GetNoAuthFlag(adir)
struct afsconf_dir *adir; {
if (access(AFSDIR_SERVER_NOAUTH_FILEPATH, 0) == 0) {