This introduces a new meson-option called 'linux-4-17=false', which when set to true allows us to depend on linux v4.17 features. In particular, this allows us to enforce SO_PEERSEC to read our own credentials, rather than reading /proc/<ppid>.
The idea here is to have this as a smooth transition and allow people to use the new features in controlled environments. At some point, we will set the option to default to true and reject builds with this set to false. This way, we have a backwards compatible option and will not break build-setups that do not care for this.
This introduces a new meson-option called 'linux-4-17=false', which when set to
true
allows us to depend on linux v4.17 features. In particular, this allows us to enforceSO_PEERSEC
to read our own credentials, rather than reading/proc/<ppid>
.The idea here is to have this as a smooth transition and allow people to use the new features in controlled environments. At some point, we will set the option to default to
true
and reject builds with this set tofalse
. This way, we have a backwards compatible option and will not break build-setups that do not care for this.