aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2006-01-25 13:31:07 -0800
committerMark Fasheh <mark.fasheh@oracle.com>2006-02-03 14:01:05 -0800
commit3d0f89bb169482d26d5aa4e82e763077e7e9bc4d (patch)
tree2d2317ce1417202322e3f715534fab80394bd5d2 /include
parent62ca3d2603571dc2b1b4c1368e19d44b599062e2 (diff)
downloadkernel_samsung_smdk4412-3d0f89bb169482d26d5aa4e82e763077e7e9bc4d.zip
kernel_samsung_smdk4412-3d0f89bb169482d26d5aa4e82e763077e7e9bc4d.tar.gz
kernel_samsung_smdk4412-3d0f89bb169482d26d5aa4e82e763077e7e9bc4d.tar.bz2
configfs: Add permission and ownership to configfs objects.
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/configfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/configfs.h b/include/linux/configfs.h
index acffb8c..a7f0150 100644
--- a/include/linux/configfs.h
+++ b/include/linux/configfs.h
@@ -126,7 +126,7 @@ extern struct config_item *config_group_find_obj(struct config_group *, const ch
struct configfs_attribute {
- char *ca_name;
+ const char *ca_name;
struct module *ca_owner;
mode_t ca_mode;
};