summaryrefslogtreecommitdiff
path: root/include/linux/securebits.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2002-11-21 05:01:54 -0600
committerPatrick Mochel <mochel@osdl.org>2002-11-21 05:01:54 -0600
commit2ce5e0bca93f06683b40fbae3b5b4031dd02b2cc (patch)
tree2e78098397fe7fc73b295bddec57872b397b0bc9 /include/linux/securebits.h
parent35551cf5753fe89869f24fc06f6b787b02a10acc (diff)
Allow subsystem to have attributes, too.
This is really handy for subsystems that have any attributes they want to export, esp. if they have just a few, since they don't have to define all of the infrastructure for creating and tearing down the attributes for the high level type that they are. - define struct subsys_attribute for declaring attributes of subsystems themselves. - define subsys_create_file() and subsys_remove_file(). - define subsys_sysfs_ops for forwarding sysfs reads and writes to the subsystem attribute callbacks. - Set the sysfs_ops to be the subsystem ones if the kobject doesn't belong to a subsystem itself (meaning that it is a subsystem).
Diffstat (limited to 'include/linux/securebits.h')
0 files changed, 0 insertions, 0 deletions