From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/axtls/patches/patch-httpd_main_c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/axtls/patches/patch-httpd_main_c (limited to 'package/axtls/patches/patch-httpd_main_c') diff --git a/package/axtls/patches/patch-httpd_main_c b/package/axtls/patches/patch-httpd_main_c new file mode 100644 index 000000000..b4017803e --- /dev/null +++ b/package/axtls/patches/patch-httpd_main_c @@ -0,0 +1,21 @@ +$Id$ +--- axTLS.orig/httpd/main.c 2007-01-31 22:35:53.000000000 +0100 ++++ axTLS/httpd/main.c 2007-02-10 12:15:20.000000000 +0100 +@@ -98,11 +98,12 @@ int main(int argc, char *argv[]) + WSADATA wsaData; + WSAStartup(wVersionRequested,&wsaData); + #else +- if (getuid() == 0) /* change our uid if we are root */ +- { +- setgid(32767); +- setuid(32767); +- } ++ /* we can't bind to port 80/443 if we are nobody ?! */ ++ //if (getuid() == 0) /* change our uid if we are root */ ++ //{ ++ // setgid(32767); ++ // setuid(32767); ++ //} + + signal(SIGQUIT, die); + signal(SIGPIPE, SIG_IGN); -- cgit v1.2.3