mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-01-20 01:52:17 +01:00
a9892dbb44
This change also ensures that user tokens are regular files. We may want to add a similar check for user challenge files.
10 lines
185 B
C
10 lines
185 B
C
#ifndef __PAM_YUBICO_DROP_PRIVS_H_INCLUDED__
|
|
#define __PAM_YUBICO_DROP_PRIVS_H_INCLUDED__
|
|
|
|
#include <pwd.h>
|
|
|
|
int drop_privileges(struct passwd *);
|
|
int restore_privileges(void);
|
|
|
|
#endif
|