components/openssh/patches/010-gss_store_cred.patch
changeset 1786 d2b02f72138c
parent 1783 d716b9b5961b
child 1796 a2310ec32635
equal deleted inserted replaced
1785:bdeb137cd2c6 1786:d2b02f72138c
   193 +#ifdef GSSAPI_STORECREDS_NEEDS_RUID
   193 +#ifdef GSSAPI_STORECREDS_NEEDS_RUID
   194 +		if (setuid(geteuid()) != 0) {
   194 +		if (setuid(geteuid()) != 0) {
   195 +			fatal("setuid %u: %.100s", (u_int) geteuid(),
   195 +			fatal("setuid %u: %.100s", (u_int) geteuid(),
   196 +			    strerror(errno));
   196 +			    strerror(errno));
   197 +		}
   197 +		}
   198 + bail_storecred:
   198 + bail_storecred: ;
   199 +#endif
   199 +#endif
   200  	}
   200  	}
   201  #endif
   201  #endif
   202  #ifdef USE_PAM
   202  #ifdef USE_PAM