Go to file
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
contrib Consolidate measure speed script (#188) 2017-01-02 16:06:06 +01:00
include Make sure the arguments passed to printf/die(...) match the format 2018-06-20 14:20:17 +02:00
man Stop requiring CAP_NET_ADMIN 2018-06-25 11:53:05 +02:00
src Stop requiring CAP_NET_ADMIN 2018-06-25 11:53:05 +02:00
testcases Treat zero battery capacity as "not available" (#259) 2018-01-28 15:37:51 +01:00
travis Show differing results, if testcase fails 2018-06-19 17:17:51 +02:00
yajl-fallback/yajl add yajl compat code 2012-04-08 14:05:47 +02:00
.clang-format clang-format-3.5 -i **/*.[ch], update modeline 2015-03-16 10:01:07 +01:00
.gitignore Add i3status and man/i3status.1 to ignore list. 2015-02-07 22:17:59 -02:00
.travis.yml Expose the testsuite in the Makefile 2018-06-19 17:17:51 +02:00
CHANGELOG release v2.12 2018-05-11 11:07:22 +02:00
CONTRIBUTING.md add CONTRIBUTING file 2015-03-16 10:02:22 +01:00
i3status.c Make sure the arguments passed to printf/die(...) match the format 2018-06-20 14:20:17 +02:00
i3status.conf Stop requiring CAP_NET_ADMIN 2018-06-25 11:53:05 +02:00
I3STATUS_VERSION release v2.12 2018-05-11 11:07:22 +02:00
LICENSE
Makefile Stop requiring CAP_NET_ADMIN 2018-06-25 11:53:05 +02:00
README.md Stop requiring CAP_NET_ADMIN 2018-06-25 11:53:05 +02:00

i3status

Description

i3status is a small program for generating a status bar for i3bar, dzen2, xmobar or similar programs. It is designed to be very efficient by issuing a very small number of system calls, as one generally wants to update such a status line every second. This ensures that even under high load, your status bar is updated correctly. Also, it saves a bit of energy by not hogging your CPU as much as spawning the corresponding amount of shell commands would.

Development

i3status has the following dependencies:

  • libconfuse-dev
  • libyajl-dev
  • libasound2-dev
  • libnl-genl-3-dev
  • asciidoc (only for the documentation)
  • libpulse-dev (for getting the current volume using PulseAudio)

On debian-based systems, the following line will install all requirements:

apt-get install libconfuse-dev libyajl-dev libasound2-dev libiw-dev asciidoc libpulse-dev libnl-genl-3-dev

Upstream

i3status is developed at https://github.com/i3/i3status

Compilation

Compiling is done with the usual make-line

  make && sudo make install