SYSFS_CHMOD_FILE

Section: The Filesystem for Exporting K (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

sysfs_chmod_file - update the modified mode value on an object attribute.  

SYNOPSIS

int sysfs_chmod_file(struct kobject * kobj, const struct attribute * attr, mode_t mode);
 

ARGUMENTS

kobj

object we're acting for.

attr

attribute descriptor.

mode

file permissions.
 

COPYRIGHT