diff options
author | Menno Duursma <druiloor@zonnet.nl> | 2010-05-12 17:44:15 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:44:15 +0200 |
commit | f8d56146fdf8f4ea9e0b4eb34db68eb2dfc1a375 (patch) | |
tree | 3cf3f4187e631c3b63d728751dceefb5541fb02b /network/suphp/patches | |
parent | 633d26a36c9442789a3898508ad14b40589ad070 (diff) | |
download | slackbuilds-f8d56146fdf8f4ea9e0b4eb34db68eb2dfc1a375.tar.gz |
network/suphp: Updated for version 0.7.1
Diffstat (limited to 'network/suphp/patches')
-rw-r--r-- | network/suphp/patches/suphp-0.7.1-nosuid.diff | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/network/suphp/patches/suphp-0.7.1-nosuid.diff b/network/suphp/patches/suphp-0.7.1-nosuid.diff new file mode 100644 index 0000000000..7a9b35de4e --- /dev/null +++ b/network/suphp/patches/suphp-0.7.1-nosuid.diff @@ -0,0 +1,18 @@ +diff -ur suphp-0.7.1.orig/src/Application.cpp suphp-0.7.1/src/Application.cpp +--- suphp-0.7.1.orig/src/Application.cpp 2009-03-14 18:55:25.000000000 +0100 ++++ suphp-0.7.1/src/Application.cpp 2009-04-05 13:03:10.000000000 +0200 +@@ -174,12 +174,13 @@ + throw SecurityException("Calling user is not webserver user!", + __FILE__, __LINE__); + } +- ++#if 0 + if (!api.getEffectiveProcessUser().isSuperUser()) { + throw SecurityException( + "Do not have root privileges. Executable not set-uid root?", + __FILE__, __LINE__); + } ++#endif + } + + |