Merged in issue_916 (pull request #99)
The process list does not contain not all process if a non root user start monit. Some /proc files are available for root only.
The filedescriptors can not read with a non root user, sometimes.
The code modifications should solve a problem described in
#916: CHECK PROCESS MATCHING does not work on 5.27.0 when monit runs as non-root
The /proc/PID/fd and /proc/PID/io files can not read by non root users, sometimes. This is normal and was ignored in the past.
The process list does not contain not all process if a non root user start monit. Some /proc files are available for root only.
The filedescriptors can not read with a non root user, sometimes.
The code modifications should solve a problem described in
#916: CHECK PROCESS MATCHING does not work on 5.27.0 when monit runs as non-root
The /proc/PID/fd and /proc/PID/io files can not read by non root users, sometimes. This is normal and was ignored in the past.