bluez-tools: Add package bluezetools
[feed/packages.git] / utils / apparmor / patches / 020-fix-ss-path.patch
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()