Change-Id: I1cda84a412666d5123be274ee0be399d25d86164
/* XXX better use close-on-exec? -markus */
channel_close_all();
+#ifndef ANDROID
/*
* Close any extra file descriptors. Note that there may still be
* descriptors left by system functions. They will be closed later.
*/
endpwent();
+#endif
/*
* Close any extra open file descriptors so that we don't have them
xfree(privsep_pw->pw_passwd);
privsep_pw->pw_passwd = xstrdup("*");
}
+#ifndef ANDROID
endpwent();
+#endif
/* load private host keys */
sensitive_data.host_keys = xcalloc(options.num_host_key_files,
#ifdef ANDROID
#include <private/android_filesystem_config.h>
#include <sys/capability.h>
-#include <linux/prctl.h>
+#include <sys/prctl.h>
#endif
/*