It is now natively implemented in C, the new function takes the same arguments (same order, different names) and has been confirmed to work with lxc-device. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>