mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
constify chown_common/security_path_chown
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
e6641eddf0
commit
7fd25dac9a
6 changed files with 7 additions and 7 deletions
|
|
@ -366,7 +366,7 @@ static int tomoyo_path_chmod(struct path *path, umode_t mode)
|
|||
*
|
||||
* Returns 0 on success, negative value otherwise.
|
||||
*/
|
||||
static int tomoyo_path_chown(struct path *path, kuid_t uid, kgid_t gid)
|
||||
static int tomoyo_path_chown(const struct path *path, kuid_t uid, kgid_t gid)
|
||||
{
|
||||
int error = 0;
|
||||
if (uid_valid(uid))
|
||||
|
|
|
|||
Loading…
Reference in a new issue