# ------------------------------------------------------------------ # # Copyright (C) 2025 Canonical Ltd. # # This program is free software; you can redistribute it and/or # modify it under the terms of version 3 of the GNU General Public # License published by the Free Software Foundation. # # ------------------------------------------------------------------ abi , include profile hwctl /usr/bin/hwctl { include include include include include network inet dgram, network inet6 dgram, network inet stream, network inet6 stream, network netlink raw, /usr/bin/hwctl mr, /sys/firmware/dmi/tables/* r, # for collecting SMBIOS info /sys/devices/system/cpu/cpufreq/policy*/cpuinfo_max_freq r, /sys/fs/cgroup/{,**/}cpu.max r, @{PROC}/version r, @{PROC}/@{pid}/cgroup r, # for collecting OS information /usr/bin/kmod cx, /etc/os-release r, profile kmod /usr/bin/kmod { include /usr/bin/kmod mr, @{PROC}/{cmdline,modules} r, @{sys}/module/** r, # for fetching kernel modules } include if exists }