Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
libcap
/
34e4e00b983a2c0fc5f13b403871a8fb5860bb89
/
.
/
pam_cap
/
test.c
blob: 5150ba536fb08f864251b53ef1b30cf621bbe5af [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
#include
<security/pam_modules.h>
int
main
(
int
argc
,
char
**
argv
)
{
if
(
pam_sm_authenticate
(
NULL
,
0
,
0
,
NULL
)
!=
PAM_SUCCESS
)
{
printf
(
"failed to authenticate\n"
);
exit
(
1
);
}
exit
(
0
);
}