Don't check for errorx as an exported symbols as it is now a macro.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 20 Jun 2012 13:38:25 +0000 (09:38 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 20 Jun 2012 13:38:25 +0000 (09:38 -0400)
Check for user_in_group() instead.

plugins/sudoers/regress/check_symbols/check_symbols.c

index 09f0d09bf48abf102958875c1c74813bdea4d364..5e8218992cc15afd164875d70822fbf61e7da59e 100644 (file)
@@ -98,9 +98,9 @@ main(int argc, char *argv[])
     /*
      * Make sure unexported symbols are not available.
      */
-    sym = dlsym(handle, "errorx");
+    sym = dlsym(handle, "user_in_group");
     if (sym != NULL) {
-       warningx2("able to resolve local symbol errorx");
+       warningx2("able to resolve local symbol user_in_group");
        errors++;
     }
     ntests++;