cap: Trivial spelling fixes throughout the file
Subsystems (2)
PATCH 1/1 cap: Trivial spelling fixes throughout the file
Mundane spelling fixes throughout the file.
Signed-off-by Bhaskar Chowdhury <[email protected]>
--- security/commoncap.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
security/commoncap.c +9 -9
@@ -83,7 +83,7 @@ int cap_capable(const struct cred *cred, struct user_namespace *targ_ns,if (ns->level <= cred->user_ns->level)return -EPERM ; -/* +/* * The owner of the user namespace in the parent of the * user namespace has all caps. */
@@ -842,7 +842,7 @@ static inline bool __is_setgid(struct cred *new, const struct cred *old)* 1) cap_effective has all caps * 2) we became root *OR* are were already root * 3) root is supposed to have all caps (SECURE_NOROOT) -* Since this is just a normal root execing a process. +* Since this is just a normal root executing a process. * * Number 1 above might fail if you don't have a full bset, but I think * that is interesting information to audit.
@@ -1132,7 +1132,7 @@ int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags)break ;case LSM_SETID_FS : -/* juggle the capabilties to follow FSUID changes, unless +/* juggle the capabilities to follow FSUID changes, unless * otherwise suppressed * * FIXME - is fsuser used for all CAP_FS_MASK capabilities?
@@ -1183,10 +1183,10 @@ static int cap_safe_nice(struct task_struct *p) }/** -* cap_task_setscheduler - Detemine if scheduler policy change is permitted +* cap_task_setscheduler - Determine if scheduler policy change is permitted * @p: The task to affect * -* Detemine if the requested scheduler policy change is permitted for the +* Determine if the requested scheduler policy change is permitted for the * specified task, returning 0 if permission is granted, -ve if denied. */ int cap_task_setscheduler (struct task_struct *p)
@@ -1195,11 +1195,11 @@ int cap_task_setscheduler(struct task_struct *p) }/** -* cap_task_ioprio - Detemine if I/O priority change is permitted +* cap_task_ioprio - Determine if I/O priority change is permitted * @p: The task to affect * @ioprio: The I/O priority to set * -* Detemine if the requested I/O priority change is permitted for the specified +* Determine if the requested I/O priority change is permitted for the specified * task, returning 0 if permission is granted, -ve if denied. */ int cap_task_setioprio (struct task_struct *p,int ioprio)
@@ -1208,11 +1208,11 @@ int cap_task_setioprio(struct task_struct *p, int ioprio) }/** -* cap_task_ioprio - Detemine if task priority change is permitted +* cap_task_ioprio - Determine if task priority change is permitted * @p: The task to affect * @nice: The nice value to set * -* Detemine if the requested task priority change is permitted for the +* Determine if the requested task priority change is permitted for the * specified task, returning 0 if permission is granted, -ve if denied. */ int cap_task_setnice (struct task_struct *p,int nice)
--
2.20.1