Native functions providing PAM authentication and flock() capabilities