commit | ddfc36f46e2d1581e2b08bbe167644bd8b1f1571 | [log] [tgz] |
---|---|---|
author | d0u9 <d0u9.su@outlook.com> | Fri Mar 23 21:21:11 2018 +0800 |
committer | Thomas Haller <thaller@redhat.com> | Mon Jun 25 14:39:41 2018 +0200 |
tree | ed21ede97a53822c1086701c3d79b59adc7018a6 | |
parent | 3ebb0ea66b165d061c287164ca4514c13f8b2772 [diff] |
Add support for cloning cgroup filter object. In this commit, we implement ematch_tree_clone(), which is basis of cgroup_clone() interface. The whole ematch tree is deep-copied except the e_ops filed. Also, a new unit test is added for testing the interface, which named as check-ematch-tree-clone.c located in tests directory. https://github.com/thom311/libnl/pull/176