From c5395f1086777d87df6c59905896194378c3bdb9 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Thu, 28 Feb 2008 14:38:37 +0000 Subject: Installer doesn't actually take root priviledges, so I just broke bash for it. I hope they are happy. git-svn-id: http://svn.telesphoreo.org/trunk@124 514c082c-b64e-11dc-b46d-3d985efe055d --- data/bash/installer.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 data/bash/installer.diff (limited to 'data/bash/installer.diff') diff --git a/data/bash/installer.diff b/data/bash/installer.diff new file mode 100644 index 000000000..3c229e5ae --- /dev/null +++ b/data/bash/installer.diff @@ -0,0 +1,12 @@ +diff -r -u bash-3.2/flags.c bash-3.2+iPhone/flags.c +--- bash-3.2/flags.c 2004-07-17 01:19:42.000000000 +0000 ++++ bash-3.2+iPhone/flags.c 2008-02-28 14:34:30.000000000 +0000 +@@ -146,7 +146,7 @@ + is required if the shell is to run setuid. If the `-p' option is + not supplied at startup, and the real and effective uids or gids + differ, disable_priv_mode is called to relinquish setuid status. */ +-int privileged_mode = 0; ++int privileged_mode = 1; + + #if defined (BRACE_EXPANSION) + /* Zero means to disable brace expansion: foo{a,b} -> fooa foob */ -- cgit v1.2.3