Ninjatrappeur's systemd working tree
Go to file
Daniel Mack 32ee7d3309 cgroup: add support for net_cls controllers
Add a new config directive called NetClass= to CGroup enabled units.
Allowed values are positive numbers for fix assignments and "auto" for
picking a free value automatically, for which we need to keep track of
dynamically assigned net class IDs of units. Introduce a hash table for
this, and also record the last ID that was given out, so the allocator
can start its search for the next 'hole' from there. This could
eventually be optimized with something like an irb.

The class IDs up to 65536 are considered reserved and won't be
assigned automatically by systemd. This barrier can be made a config
directive in the future.

Values set in unit files are stored in the CGroupContext of the
unit and considered read-only. The actually assigned number (which
may have been chosen dynamically) is stored in the unit itself and
is guaranteed to remain stable as long as the unit is active.

In the CGroup controller, set the configured CGroup net class to
net_cls.classid. Multiple unit may share the same net class ID,
and those which do are linked together.
2015-09-16 00:21:55 +02:00
catalog l10n: Add Belarusian translation 2015-06-15 00:13:43 +03:00
coccinelle tree-wide: take benefit of the fact that hashmap_free() returns NULL 2015-09-09 23:12:07 +02:00
docs docs: add .gitignore 2015-07-06 17:47:38 +02:00
factory/etc factory: remove broken pam_limits 2014-07-30 15:21:54 +02:00
hwdb keymap: Add Corsair K70 2015-09-14 09:26:19 +02:00
m4 build-sys: Look for gcc-* binutils wrappers only if we're using GCC 2015-09-01 13:27:42 +02:00
man cgroup: add support for net_cls controllers 2015-09-16 00:21:55 +02:00
network networkd: emit DNS/NTP/Timezone info via DHCP server by default 2015-08-27 16:47:26 +02:00
po po: update Belarusian translation 2015-09-12 16:47:18 +03:00
rules UML: Fix block device setup 2015-08-09 18:07:55 +02:00
shell-completion shell-completion: update systemd-analyze bash-completion 2015-09-07 04:51:21 +03:00
src cgroup: add support for net_cls controllers 2015-09-16 00:21:55 +02:00
sysctl.d sysctl: add some hints how to override settings 2015-02-26 19:07:38 -05:00
system-preset preset: enable machines.target by default 2014-12-29 17:36:57 +01:00
sysusers.d turn kdbus support into a runtime option 2015-06-17 18:01:49 +02:00
test test: udev - Signal that test was skipped when running as non-root 2015-08-30 22:10:30 -07:00
tmpfiles.d smack: label /etc/mtab as "_" when '--with-smack-run-label' is enabled. 2015-09-10 21:52:39 +09:00
tools terminal: drop unfinished code 2015-07-27 20:15:34 +02:00
units units: make sure that .nspawn files override the default settings in systemd-nspawn@.service 2015-09-06 01:49:06 +02:00
xorg login: support user-bus on dbus1 2015-08-31 18:12:37 +02:00
.dir-locals.el Keep emacs configuration in one configuration file. 2011-03-08 01:53:46 +01:00
.gitattributes git: indicate that tabs are never OK in the systemd tree 2013-10-30 02:25:38 +01:00
.gitignore Merge branch 'hostnamectl-dot-v2' 2015-08-05 21:02:41 -04:00
.mailmap prepare NEWS 2014-02-18 02:51:47 +01:00
.travis.yml remove gudev and gtk-doc 2015-06-03 00:22:53 +02:00
.vimrc vimrc: disable -fdiagnostics-color output 2013-10-20 04:29:39 +02:00
.ycm_extra_conf.py ycm: update flag blacklist 2014-06-04 15:41:10 -04:00
autogen.sh terminal: drop unfinished code 2015-07-27 20:15:34 +02:00
CODING_STYLE tree-wide: never use the off_t unless glibc makes us use it 2015-09-10 18:16:18 +02:00
configure.ac smack: label /etc/mtab as "_" when '--with-smack-run-label' is enabled. 2015-09-10 21:52:39 +09:00
DISTRO_PORTING build-sys: warn if people don't change the default NTP servers when building systemd 2015-07-11 14:24:29 -03:00
LICENSE.GPL2 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
Makefile-man.am nspawn: add new .nspawn files for container settings 2015-09-06 01:49:06 +02:00
Makefile.am util: remove ring.[ch] + pty.[ch] and tests 2015-09-11 18:28:29 +02:00
NEWS build: prepare for v226 2015-09-08 13:31:57 +02:00
README README: remove obsolete instructions regarding python-systemd/sphinx 2015-09-09 23:10:34 +02:00
README.md README.md: add Coverity scan status badge 2015-06-08 13:26:54 +02:00
TODO TODO 2015-09-11 18:28:03 +02:00

systemd - System and Service Manager

Build Status
Coverity Scan Status

Details

  • General information about systemd can be found in the systemd Wiki
  • Information about build requirements are provided in the README file