summaryrefslogtreecommitdiff
path: root/src/core/smack-setup.c
diff options
context:
space:
mode:
authorGao feng <gaofeng@cn.fujitsu.com>2013-08-28 09:49:11 +0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-08-28 08:04:56 -0400
commitad7bfffde594bf141e13f17e8d8214bfa29ea635 (patch)
treea50a600f80a9853b3880878e2fd73cb56caf1bb1 /src/core/smack-setup.c
parente862b60f1c77bc12bf49475930f79ce68489828a (diff)
device cgroup: don't create a new CGroupDeviceAllow when it already in the list
If a device node is already in the device_allow list of CGroupContext, we should replace it instead of create a new one and append this new one to the end of device_allow list. change from v1: use streq to replace !strcmp
Diffstat (limited to 'src/core/smack-setup.c')
0 files changed, 0 insertions, 0 deletions