Commit Graph

6 Commits

Author SHA1 Message Date
Olivier Gayot
03c8908ec6 Stop requiring CAP_NET_ADMIN
Since the following commit in the Linux kernel tree

  0fdc100bdc4b ethtool: allow non-netadmin to query settings

it is no longer necessary to have the CAP_NET_ADMIN capability to query
a device speed using ioctl(..., SIOCETHTOOL) in conjonction with the
ETHTOOL_GSET ethtool command.

The mentioned commit landed first in the 2.6.37 version of the Kernel.
This version is no longer maintained nowdays.

Since it is not necessary anymore, it is strongly prefered from a
security standpoint to drop the CAP_NET_ADMIN capability from the
binary.

Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2018-06-25 11:53:05 +02:00
eplanet
73620dc876 Get rid of the SLOC comment 2017-12-11 22:50:16 +01:00
eplanet
b93afe8fb9 Fixed typo in README.md (#141) 2016-08-01 22:16:50 +02:00
Rémi Jouannet
57269885c0 update README.md with libnl-genl-3-dev 2015-12-23 11:13:54 +01:00
Michael Stapelberg
668bf2079f wireless (linux): switch from libiw to libnl
Based on http://cr.i3wm.org/patch/692/ by Alexander Monakov

fixes #32
fixes #52
2015-09-24 21:47:02 +02:00
konadr
b61665ab94 adding new markdown README.md to display nicely on github 2015-09-23 22:01:09 +01:00