caps: handle EINTR in read()
caps: handle EINTR in read()

We don't want to link caps.{c,h} against utils.{c,h} for the sake of our static
builds init.lxc.static. This means lxc_write_nointr() will not be available. So
handle it EINTR.

Signed-off-by: Christian Brauner <48455ab3070520a2d174545c7239d6d0fabd9a83@ubuntu.com>

ss1h2a3tw/lxc,caglar10ur/lxc,ss1h2a3tw/lxc,hallyn/lxc,hallyn/lxc,hallyn/lxc,caglar10ur/lxc,caglar10ur/lxc,ss1h2a3tw/lxc