diff options
Diffstat (limited to 'include/linux/kernfs.h')
-rw-r--r-- | include/linux/kernfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kernfs.h b/include/linux/kernfs.h index 7987e0f89b69..2bf477f86eb1 100644 --- a/include/linux/kernfs.h +++ b/include/linux/kernfs.h | |||
@@ -64,7 +64,7 @@ enum kernfs_root_flag { | |||
64 | KERNFS_ROOT_CREATE_DEACTIVATED = 0x0001, | 64 | KERNFS_ROOT_CREATE_DEACTIVATED = 0x0001, |
65 | 65 | ||
66 | /* | 66 | /* |
67 | * For regular flies, if the opener has CAP_DAC_OVERRIDE, open(2) | 67 | * For regular files, if the opener has CAP_DAC_OVERRIDE, open(2) |
68 | * succeeds regardless of the RW permissions. sysfs had an extra | 68 | * succeeds regardless of the RW permissions. sysfs had an extra |
69 | * layer of enforcement where open(2) fails with -EACCES regardless | 69 | * layer of enforcement where open(2) fails with -EACCES regardless |
70 | * of CAP_DAC_OVERRIDE if the permission doesn't have the | 70 | * of CAP_DAC_OVERRIDE if the permission doesn't have the |