[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgmanager-devel
Subject:    [cgmanager-devel] [lxc/cgmanager] 78e4da: Fix subdirectory check
From:       noreply () github ! com (GitHub)
Date:       2015-02-12 1:10:10
Message-ID: 54dbfd724e33c_7d2a3fa7e4ad129c35430 () hookshot-fe3-cp1-prd ! iad ! github ! net ! mail
[Download RAW message or body]

  Branch: refs/heads/master
  Home:   https://github.com/lxc/cgmanager
  Commit: 78e4dab5cfc9c8a07e93ba5caf1b9c492b1da332
      https://github.com/lxc/cgmanager/commit/78e4dab5cfc9c8a07e93ba5caf1b9c492b1da332
  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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic