]> git.proxmox.com Git - mirror_lxcfs.git/commit - pam/pam_cgfs.c
cgroups: handle non-existent isolcpus file
authorChristian Brauner <christian.brauner@canonical.com>
Tue, 22 Nov 2016 00:20:01 +0000 (01:20 +0100)
committerChristian Brauner <christian.brauner@canonical.com>
Tue, 22 Nov 2016 00:23:41 +0000 (01:23 +0100)
commitb25412f53d4b750891cd0a212a74c0f3d30c0bed
tree7a6158377662daf78be6baf8039b51daf9dd6d2b
parent808fd1ef3ffe3418f9a56d63fdc63848e0575ed7
cgroups: handle non-existent isolcpus file

If the file "/sys/devices/system/cpu/isolated" doesn't exist, we can't just
simply bail. We still need to check whether we need to copy the parents cpu
settings.

Signed-off-by: Christian Brauner <christian.brauner@canonical.com>
pam/pam_cgfs.c