]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3194: selinux may prevent ntlm_smb_lm_auth from using /tmp
authorDavid Hill <david.hill@ubisoft.com>
Sat, 9 Apr 2011 02:37:59 +0000 (14:37 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 9 Apr 2011 02:37:59 +0000 (14:37 +1200)
helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc

index 5249d838456161d453138e891d819af9d59b5f80..669591c06480dc577af5e9479f777caff2874926 100644 (file)
@@ -683,13 +683,6 @@ int
 main(int argc, char *argv[])
 {
     debug("ntlm_auth build " __DATE__ ", " __TIME__ " starting up...\n");
-#if DEBUG
-    debug("changing dir to /tmp\n");
-    if (chdir("/tmp") != 0) {
-        debug("ERROR: (%d) failed.\n",errno);
-        return 2;
-    }
-#endif
 
     my_program_name = argv[0];
     process_options(argc, argv);