Homestyx hydra
Diffusion hydra dc36317ea48f

Use 'ps <pid>' to test for process existence if posix is not available

Description

Use 'ps <pid>' to test for process existence if posix is not available

Summary: posix may not be loaded on the web/cgi SAPI but we call posix functions
on this pathway, which we hit on /daemon/. Fall back to exec if we don't have
posix.

Test Plan: Added "&& false" and verified the page executed a bunch of "ps"
tests.

Reviewers: Koolvin, btrahan

Reviewed By: btrahan

CC: aran, epriestley

Maniphest Tasks: T821

Differential Revision: https://secure.phabricator.com/D1540

Details

Provenance
epriestleyAuthored on Feb 2 2012, 7:03 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:33fb7117ae9b: XSS in Owners
Branches
Unknown
Tags
Unknown

Event Timeline