X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/798619b91c91405f847b0e48137239f218a4cf15..59f0d218a6ff34c80cf898f6d7ac62555ba8eb11:/packages/openssh/no_loginrec.patch diff --git a/packages/openssh/no_loginrec.patch b/packages/openssh/no_loginrec.patch new file mode 100644 index 00000000..6d6004b4 --- /dev/null +++ b/packages/openssh/no_loginrec.patch @@ -0,0 +1,12 @@ +--- ../openssh-6.4p1/loginrec.c 2013-06-02 00:07:32.000000000 +0200 ++++ ./loginrec.c 2014-02-04 21:21:32.000000000 +0100 +@@ -429,6 +429,9 @@ + int + login_write(struct logininfo *li) + { ++#ifdef __ANDROID__ ++ return 1; ++#endif + #ifndef HAVE_CYGWIN + if (geteuid() != 0) { + logit("Attempt to write login records by non-root user (aborting)");