1
0
mirror of https://github.com/systemd/systemd synced 2025-09-22 13:24:45 +02:00

Compare commits

..

No commits in common. "251d3d20c3b8b4ef2b2b12f2e6b48e9b6de8d599" and "4bb68f2fee91090011a3d76ade72f8856eaaa2ec" have entirely different histories.

View File

@ -1125,7 +1125,7 @@ static int setup_pam(
gid_t gid,
const char *tty,
char ***env,
const int fds[], size_t n_fds) {
int fds[], size_t n_fds) {
#if HAVE_PAM
@ -1195,7 +1195,7 @@ static int setup_pam(
pam_code = pam_setcred(handle, PAM_ESTABLISH_CRED | flags);
if (pam_code != PAM_SUCCESS)
log_debug("pam_setcred() failed, ignoring: %s", pam_strerror(handle, pam_code));
goto fail;
pam_code = pam_open_session(handle, flags);
if (pam_code != PAM_SUCCESS)
@ -2803,7 +2803,7 @@ static int close_remaining_fds(
int user_lookup_fd,
int socket_fd,
int exec_fd,
const int *fds, size_t n_fds) {
int *fds, size_t n_fds) {
size_t n_dont_close = 0;
int dont_close[n_fds + 12];