]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/fd-util.c
fd-util: accept that kcmp might fail with EPERM/EACCES
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Tue, 28 Aug 2018 07:32:18 +0000 (09:32 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 29 Aug 2018 15:53:00 +0000 (17:53 +0200)
commit9e2acd1d24a8516c94ce862e9fbf63dd8d751572
tree9b9e70811cd12dc2b55403e57ce4d43955288573
parentc68867da320de296917820e5a76e902a8a86be5a
fd-util: accept that kcmp might fail with EPERM/EACCES

In a container the kcmp call might well be blocked; Accept that and fall
back to fstat in that case.
src/basic/fd-util.c