Changeset 1355 for trunk/server
- Timestamp:
- Nov 9, 2009, 11:14:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/common/patches/httpd-suexec-scripts.patch
r1354 r1355 271 271 (gid != dir_info.st_gid) || 272 272 (uid != prg_info.st_uid) || 273 @@ -576,1 6 +690,33@@273 @@ -576,12 +690,14 @@ 274 274 prg_info.st_uid, prg_info.st_gid); 275 275 exit(120); … … 287 287 exit(121); 288 288 } 289 289 @@ -614,6 +730,20 @@ 290 /* 291 * Execute the command, replacing our image with its own. 292 */ 290 293 + if (is_static_extension(cmd)) { 291 294 + argv[2] = STATIC_CAT_PATH; … … 302 305 + exit(255); 303 306 + } 304 + 305 #ifdef AP_SUEXEC_UMASK 306 /* 307 * umask() uses inverse logic; bits are CLEAR for allowed access. 307 #ifdef NEED_HASHBANG_EMUL 308 /* We need the #! emulation when we want to execute scripts */ 309 {
Note: See TracChangeset
for help on using the changeset viewer.