[cgmanager-devel] [lxc/cgmanager] 9c4166: Fix subdirectory check
GitHub
noreply at github.com
Thu Feb 12 03:14:18 UTC 2015
Branch: refs/heads/master
Home: https://github.com/lxc/cgmanager
Commit: 9c41660679e740eecc4831b4a0043a09197d44dd
https://github.com/lxc/cgmanager/commit/9c41660679e740eecc4831b4a0043a09197d44dd
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2015-02-11 (Wed, 11 Feb 2015)
Changed paths:
M cgmanager.c
M fs.c
M fs.h
Log Message:
-----------
Fix subdirectory check
Commit 6a30adc22cc05b5 was not quite complete. If the task is in
/xxx then it may act on /xxx or /xxx/a, but not /xxx2. This commit
fixes the check to disallow /xxx2. It also commonizes the check,
cleaning up the code a bit.
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
More information about the cgmanager-devel
mailing list