_secure_path
int _secure_path(const char *, uid_t, gid_t);
if (_secure_path(userpath, pwd->pw_uid, pwd->pw_gid) != -1)
if (_secure_path(path_login_conf, 0, 0) != -1)