diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2013-08-28 09:49:11 +0800 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-08-28 08:04:56 -0400 |
commit | ad7bfffde594bf141e13f17e8d8214bfa29ea635 (patch) | |
tree | a50a600f80a9853b3880878e2fd73cb56caf1bb1 /src/core/load-dropin.c | |
parent | e862b60f1c77bc12bf49475930f79ce68489828a (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/load-dropin.c')
0 files changed, 0 insertions, 0 deletions