]> git.saurik.com Git - apt.git/commit - apt-pkg/contrib/fileutl.cc
Ignore EINVAL from prctl(PR_SET_NO_NEW_PRIVS)
authorMichael Vogt <mvo@ubuntu.com>
Tue, 7 Oct 2014 11:34:28 +0000 (13:34 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Tue, 7 Oct 2014 11:34:28 +0000 (13:34 +0200)
commit263a781e1fd7c00ef18a7787b9a8a860a1ea5c9e
tree25479736831f7b5e9c28431753d9a4c1ba5d0d11
parent373fa2b4b2caae977c41b2c10ea27e41308a05c3
Ignore EINVAL from prctl(PR_SET_NO_NEW_PRIVS)

Ignore a EINVAL error here as it means that the kernel is too old
to understand this option. We should not fail hard in this case
but just ignore the error.

closes: 764066
apt-pkg/contrib/fileutl.cc