Chapter 4. The Filesystem for Exporting Kernel Objects

Table of Contents

sysfs_create_file_ns — create an attribute file for an object with custom ns
sysfs_add_file_to_group — add an attribute file to a pre-existing group.
sysfs_chmod_file — update the modified mode value on an object attribute.
sysfs_remove_file_ns — remove an object attribute with a custom ns tag
sysfs_remove_file_from_group — remove an attribute file from a group.
sysfs_create_bin_file — create binary file for object.
sysfs_remove_bin_file — remove binary file for object.
sysfs_create_link — create symlink between two objects.
sysfs_remove_link — remove symlink in object's directory.
sysfs_rename_link_ns — rename symlink in object's directory.