Changeset 454 for trunk/server/source3/web
- Timestamp:
- Jun 4, 2010, 3:11:43 PM (16 years ago)
- Location:
- trunk/server/source3/web
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/web/cgi.c
r414 r454 315 315 } 316 316 317 317 318 pwd = getpwnam_alloc(talloc_autofree_context(), user); 318 319 if (!pwd) { … … 329 330 } 330 331 TALLOC_FREE(pwd); 332 331 333 } 332 334 -
trunk/server/source3/web/startstop.c
r414 r454 19 19 20 20 #include "includes.h" 21 22 23 24 25 26 27 28 29 30 31 21 32 #include "web/swat_proto.h" 22 33 #include "dynconfig.h" … … 32 43 } 33 44 45 46 47 48 49 34 50 if (fork()) { 35 51 return; … … 41 57 } 42 58 exit(0); 59 43 60 } 44 61 … … 52 69 } 53 70 71 72 73 74 75 54 76 if (fork()) { 55 77 return; … … 61 83 } 62 84 exit(0); 85 63 86 } 64 87 … … 72 95 } 73 96 97 98 99 100 101 74 102 if (fork()) { 75 103 return; … … 81 109 } 82 110 exit(0); 111 83 112 } 84 113 … … 91 120 if (geteuid() != 0) return; 92 121 122 123 124 125 126 127 93 128 if (pid <= 0) return; 94 129 95 130 kill(pid, SIGTERM); 131 96 132 } 97 133 … … 103 139 if (geteuid() != 0) return; 104 140 141 142 143 144 145 146 105 147 if (pid <= 0) return; 106 148 107 149 kill(pid, SIGTERM); 150 108 151 } 109 152 #ifdef WITH_WINBIND … … 115 158 if (geteuid() != 0) return; 116 159 160 161 162 163 164 165 117 166 if (pid <= 0) return; 118 167 119 168 kill(pid, SIGTERM); 169 120 170 } 121 171 #endif -
trunk/server/source3/web/swat.c
r414 r454 1437 1437 load_printers(); 1438 1438 1439 1439 1440 cgi_setup(get_dyn_SWATDIR(), !demo_mode); 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1440 1452 1441 1453 print_header();
Note:
See TracChangeset
for help on using the changeset viewer.
