mirror of https://gitee.com/openkylin/linux.git
3d0f89bb16
configfs always made item and attribute ownership root.root and permissions based on a umask of 022. Add ->setattr() to allow chown(2)/chmod(2), and persist the changes for the lifetime of the items and attributes. Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com> |
||
---|---|---|
.. | ||
configfs.txt | ||
configfs_example.c |