Changeset 2195 for branches/fc17-dev/server/common/patches
- Timestamp:
- May 22, 2012, 10:52:35 PM (12 years ago)
- Location:
- branches/fc17-dev
- Files:
-
- 1 deleted
- 4 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/fc17-dev
- Property svn:mergeinfo changed
/trunk (added) merged: 2082-2122,2125-2148,2150-2194
- Property svn:mergeinfo changed
-
branches/fc17-dev/server/common/patches/httpd-suexec-scripts.patch
r1877 r2195 314 314 exit(121); 315 315 } 316 @@ -614,6 +767, 23@@316 @@ -614,6 +767,30 @@ 317 317 /* 318 318 * Execute the command, replacing our image with its own. … … 331 331 + argv[1] = PHP_PATH; 332 332 + argv[2] = "-f"; 333 + /* 334 + * argv[3] is the command to run. argv[4] is either an argument or 335 + * already null. We don't want to pass any arguments through from 336 + * Apache (since they're untrusted), so we chop off the remainder 337 + * of argv here. 338 + */ 339 + argv[4] = 0; 333 340 + execv(PHP_PATH, &argv[1]); 334 341 + log_err("(%d)%s: php exec failed (%s)\n", errno, strerror(errno), argv[1]); -
branches/fc17-dev/server/common/patches/openafs-systemd-crond.patch
r2066 r2195 14 14 15 15 [Install] 16 -WantedBy=multi-user.target 17 +WantedBy=multi-user.target crond.service16 -WantedBy=multi-user.target remote-fs.target 17 +WantedBy=multi-user.target remote-fs.target crond.service -
branches/fc17-dev/server/common/patches/openafs-systemd.patch
r2066 r2195 32 32 + 33 33 +[Install] 34 +WantedBy=multi-user.target 34 +WantedBy=multi-user.target remote-fs.target 35 35 diff --git a/src/packaging/RedHat/openafs-server.service b/src/packaging/RedHat/openafs-server.service 36 36 new file mode 100644
Note: See TracChangeset
for help on using the changeset viewer.