Create an attribute file for an object with custom ns
int sysfs_create_file_ns(struct kobject * kobj, const struct attribute * attr, const void * ns);
kobj
object we're creating for
attr
attribute descriptor
ns
namespace the new file should belong to