diff options
| author | Tyler Hicks <[email protected]> | 2018-07-20 21:56:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-20 23:44:35 -0700 |
| commit | 3033fced2f689d4a870b3ba6a8a676db1261d262 (patch) | |
| tree | a34ca7ad544097f8a999ccccde913e9edcc8fedd /tools/perf/scripts/python | |
| parent | 9944e894c1266dc8515c82d1ff752d681215526b (diff) | |
net-sysfs: require net admin in the init ns for setting tx_maxrate
An upcoming change will allow container root to open some /sys/class/net
files for writing. The tx_maxrate attribute can result in changes
to actual hardware devices so err on the side of caution by requiring
CAP_NET_ADMIN in the init namespace in the corresponding attribute store
operation.
Signed-off-by: Tyler Hicks <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions