You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
512 B

  1. --- a/utils/aa-unconfined
  2. +++ b/utils/aa-unconfined
  3. @@ -118,7 +118,7 @@ def read_proc_current(filename):
  4. pids = set()
  5. if paranoid:
  6. pids = get_all_pids()
  7. -elif args.with_ss or (not args.with_netstat and (os.path.exists('/bin/ss') or os.path.exists('/usr/bin/ss'))):
  8. +elif args.with_ss or (not args.with_netstat and (os.path.exists('/usr/sbin/ss') or os.path.exists('/bin/ss') or os.path.exists('/usr/bin/ss') or os.path.exists('/sbin/ss'))):
  9. pids = get_pids_ss()
  10. else:
  11. pids = get_pids_netstat()