[lxc-devel] [lxc/lxc] 47f5ed: cgroupfs: need the full path to setup cpuset
GitHub
noreply at github.com
Thu Jan 23 17:21:41 UTC 2014
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 47f5ede0ec09b393779a7755aa36dc665e2e8fa5
https://github.com/lxc/lxc/commit/47f5ede0ec09b393779a7755aa36dc665e2e8fa5
Author: Qiang Huang <h.huangqiang at huawei.com>
Date: 2014-01-23 (Thu, 23 Jan 2014)
Changed paths:
M src/lxc/cgroup.c
Log Message:
-----------
cgroupfs: need the full path to setup cpuset
Function file_exists() needs a absolute full path, but we are using
current_entire_path which is not. It will get the wrong result from
file_exists() and case Segmentation fault when we fopen a non-exist
file and try to fscanf from it.
Signed-off-by: Qiang Huang <h.huangqiang at huawei.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
More information about the lxc-devel
mailing list