summaryrefslogtreecommitdiff
path: root/include/linux/stmmac.h
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei.gherzan@canonical.com>2023-01-26 16:55:48 +0000
committerDavid S. Miller <davem@davemloft.net>2023-01-28 13:55:12 +0000
commita6efc42a86c0c87cfe2f1c3d1f09a4c9b13ba890 (patch)
treebdb58aeda300b2dd9df3e14647cf5232c390f43c /include/linux/stmmac.h
parent906ad3c9bf66e3c6dd4ebe14a7af1b339a2afacf (diff)
selftest: net: Improve IPV6_TCLASS/IPV6_HOPLIMIT tests apparmor compatibility
"tcpdump" is used to capture traffic in these tests while using a random, temporary and not suffixed file for it. This can interfere with apparmor configuration where the tool is only allowed to read from files with 'known' extensions. The MINE type application/vnd.tcpdump.pcap was registered with IANA for pcap files and .pcap is the extension that is both most common but also aligned with standard apparmor configurations. See TCPDUMP(8) for more details. This improves compatibility with standard apparmor configurations by using ".pcap" as the file extension for the tests' temporary files. Signed-off-by: Andrei Gherzan <andrei.gherzan@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stmmac.h')
0 files changed, 0 insertions, 0 deletions