[iproute2 net-next 5/8] Add filesystem APIs to lib

2016-12-11 Thread David Ahern
Add make_path to recursively call mkdir as needed to create a given path with the given mode. Add find_cgroup2_mount to lookup path where cgroup2 is mounted. If it is not already mounted, cgroup2 is mounted under /var/run/cgroup2 for use by iproute2. Signed-off-by: David Ahern --- include/utils

[iproute2 net-next 5/8] Add filesystem APIs to lib

2016-12-10 Thread David Ahern
Add make_path to recursively call mkdir as needed to create a given path with the given mode. Add find_cgroup2_mount to lookup path where cgroup2 is mounted. If it is not already mounted, cgroup2 is mounted under /var/run/cgroup2 for use by iproute2. Signed-off-by: David Ahern --- include/utils

[iproute2 net-next 5/8] Add filesystem APIs to lib

2016-12-10 Thread David Ahern
Add make_path to recursively call mkdir as needed to create a given path with the given mode. Add find_cgroup2_mount to lookup path where cgroup2 is mounted. If it is not already mounted, cgroup2 is mounted under /var/run/cgroup2 for use by iproute2. Signed-off-by: David Ahern --- include/utils