aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorIra Weiny <[email protected]>2022-07-19 13:52:48 -0700
committerDan Williams <[email protected]>2022-07-19 15:38:04 -0700
commit9d6794feeb90903b10c34bddd9c74c992447ce83 (patch)
tree56f6f6745ef16dfb51e6b583551a131fa8c75f92 /drivers/fpga/fpga-mgr.c
parent3eddcc938581968d126e7345e9ec84c75290e7a4 (diff)
driver-core: Introduce BIN_ATTR_ADMIN_{RO,RW}
Many binary attributes need to limit access to CAP_SYS_ADMIN only; ie many binary attributes specify is_visible with 0400 or 0600. Make setting the permissions of such attributes more explicit by defining BIN_ATTR_ADMIN_{RO,RW}. Cc: Bjorn Helgaas <[email protected]> Suggested-by: Dan Williams <[email protected]> Suggested-by: Krzysztof WilczyƄski <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ira Weiny <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions