]> git.proxmox.com Git - mirror_lxc.git/commit
log: handle EINTR in read()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 29 Jul 2018 21:54:32 +0000 (23:54 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 29 Jul 2018 22:16:41 +0000 (00:16 +0200)
commite0c198063d88dcf155f0d59ffc4260104fe73c7e
tree11acb58c989920545282b8d2ef1824b2db3afbfa
parenta5bc6cb0e0ccf596390cb73565ed3ea4f7e9eb80
log: handle EINTR in read()

We don't want to link log.{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 <christian.brauner@ubuntu.com>
src/lxc/log.c