Scroll to navigation

SYSFS_CREATE_FILE_NS(9) The Filesystem for Exporting K SYSFS_CREATE_FILE_NS(9)

NAME

sysfs_create_file_ns - create an attribute file for an object with custom ns

SYNOPSIS

int sysfs_create_file_ns(struct kobject * kobj, const struct attribute * attr, const void * ns);

ARGUMENTS

struct kobject * kobj

object we're creating for

const struct attribute * attr

attribute descriptor

const void * ns

namespace the new file should belong to

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11