summaryrefslogtreecommitdiff
path: root/data/pam-modules/tempname.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-04-08 21:42:41 +0000
committerJay Freeman <saurik@saurik.com>2009-04-08 21:42:41 +0000
commit960f0c8bd926f96246a6567ece6f9851a2b22b76 (patch)
treeb23b7c9796b9d2b5f10a0845e872e81f0c997ae1 /data/pam-modules/tempname.diff
parent6774b86da56c1713247148e83d44630675828dee (diff)
Upgraded system-cmds to use PAM (for login).
git-svn-id: http://svn.telesphoreo.org/trunk@566 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/pam-modules/tempname.diff')
-rw-r--r--data/pam-modules/tempname.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/pam-modules/tempname.diff b/data/pam-modules/tempname.diff
new file mode 100644
index 000000000..a8d06558c
--- /dev/null
+++ b/data/pam-modules/tempname.diff
@@ -0,0 +1,12 @@
+diff -ru pam_modules-36.1/pam_unix/pw_util.c pam_modules-36.1+iPhone/pam_unix/pw_util.c
+--- pam_modules-36.1/pam_unix/pw_util.c 2007-01-16 05:28:31.000000000 +0000
++++ pam_modules-36.1+iPhone/pam_unix/pw_util.c 2009-04-08 09:26:20.000000000 +0000
+@@ -82,7 +82,7 @@
+
+ #include "pw_util.h"
+
+-extern char *tempname;
++char *tempname;
+ static pid_t editpid = -1;
+ static int lockfd;
+