angler-fishThe Vulnerability History Project

core: implement /run/systemd/units/-based path for passing unit info from PID 1 to journald

      And let's make use of it to implement two new unit settings with it:

1. LogLevelMax= is a new per-unit setting that may be used to configure
   log priority filtering: set it to LogLevelMax=notice and only
   messages of level "notice" and lower (i.e. more important) will be
   processed, all others are dropped.

2. LogExtraFields= is a new per-unit setting for configuring per-unit
   journal fields, that are implicitly included in every log record
   generated by the unit's processes. It takes field/value pairs in the
   form of FOO=BAR.

Also, related to this, one exisiting unit setting is ported to this new
facility:

3. The invocation ID is now pulled from /run/systemd/units/ instead of
   cgroupfs xattrs. This substantially relaxes requirements of systemd
   on the kernel version and the privileges it runs with (specifically,
   cgroupfs xattrs are not available in containers, since they a
    
commit d3070fbdf6077d7da9dbafa198fff8dea712d2ff
+3 -3
+2 -2
+1 -128
+2 -38
-7
-2
-74
-1
+1 -8
-2
-2
-2
-2
-2
+2 -214
-8
+10 -9
+16 -135
-21
+4 -5
+10 -15
+11 -22
+1 -1
+11 -17
+9 -15
+1 -26
+3 -5
expand_less