From: Aristeu Rozanski Date: Fri, 15 Feb 2013 16:55:45 +0000 (-0500) Subject: devcg: prepare may_access() for hierarchy support X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~124^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c39a2a3018f8065cb5ea38b0314c1bbedb2cfa0d;p=pandora-kernel.git devcg: prepare may_access() for hierarchy support Currently may_access() is only able to verify if an exception is valid for the current cgroup, which has the same behavior. With hierarchy, it'll be also used to verify if a cgroup local exception is valid towards its cgroup parent, which might have different behavior. v2: - updated patch description - rebased on top of a new patch to expand the may_access() logic to make it more clear - fixed argument description order in may_access() Acked-by: Tejun Heo Acked-by: Serge Hallyn Cc: Tejun Heo Cc: Serge Hallyn Signed-off-by: Aristeu Rozanski Signed-off-by: Tejun Heo --- Reading git-diff-tree failed