Scroll to navigation

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

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, umode_t mode);

ARGUMENTS

struct kobject * kobj

object we're acting for.

const struct attribute * attr

attribute descriptor.

umode_t mode

file permissions.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12