Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
list_processes: use lsof to list processes
Parsing the output from lsof had possibilities for race conditions. Either due to short lived processes or issuing "tomb ps" from a terminal which cwd is from inside the tomb. This would spit out available users on the system. To avoid this use the lsof output directly. In the future formatting could be reintroduced via commands like "lsof +D "$tombmount" -F Lc" or "lsof +D "$tombmount" -F Lc0". This fixes #503
- Loading branch information