summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/testsudoers_pwutil.c
blob: 759b23f22e262d21b4f3d23c5bc64b2157f5a7a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Use custom passwd/group functions with the normal pwutil_impl.c */
#define sudo_make_pwitem	testsudoers_make_pwitem
#define sudo_make_gritem	testsudoers_make_gritem
#define sudo_make_gidlist_item	testsudoers_make_gidlist_item
#define sudo_make_grlist_item	testsudoers_make_grlist_item

#define getpwnam		testsudoers_getpwnam
#define getpwuid		testsudoers_getpwuid
#define getgrnam		testsudoers_getgrnam
#define getgrgid		testsudoers_getgrgid
#define sudo_getgrouplist2_v1	testsudoers_getgrouplist2_v1

#include "tsgetgrpw.h"
#include "pwutil_impl.c"