diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-09 03:02:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-09 03:02:35 -0400 |
commit | 1236d6bb6e19fc72ffc6bbcdeb1bfefe450e54ee (patch) | |
tree | 47da3feee8e263e8c9352c85cf518e624be3c211 /security/commoncap.c | |
parent | 750b1a6894ecc9b178c6e3d0a1170122971b2036 (diff) | |
parent | 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff) |
Merge 4.14-rc4 into staging-next
We want the staging/iio fixes in here as well to handle merge issues.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/commoncap.c')
-rw-r--r-- | security/commoncap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/commoncap.c b/security/commoncap.c index 6bf72b175b49..c25e0d27537f 100644 --- a/security/commoncap.c +++ b/security/commoncap.c | |||
@@ -294,10 +294,10 @@ int cap_capset(struct cred *new, | |||
294 | * | 294 | * |
295 | * Determine if an inode having a change applied that's marked ATTR_KILL_PRIV | 295 | * Determine if an inode having a change applied that's marked ATTR_KILL_PRIV |
296 | * affects the security markings on that inode, and if it is, should | 296 | * affects the security markings on that inode, and if it is, should |
297 | * inode_killpriv() be invoked or the change rejected? | 297 | * inode_killpriv() be invoked or the change rejected. |
298 | * | 298 | * |
299 | * Returns 0 if granted; +ve if granted, but inode_killpriv() is required; and | 299 | * Returns 1 if security.capability has a value, meaning inode_killpriv() |
300 | * -ve to deny the change. | 300 | * is required, 0 otherwise, meaning inode_killpriv() is not required. |
301 | */ | 301 | */ |
302 | int cap_inode_need_killpriv(struct dentry *dentry) | 302 | int cap_inode_need_killpriv(struct dentry *dentry) |
303 | { | 303 | { |