Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

apparmor:match_mn() - constify devpath argument

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 64b2f34f 90432e60

+2 -2
+2 -2
security/apparmor/mount.c
··· 370 370 * Returns: 0 on success else error 371 371 */ 372 372 static int match_mnt(struct aa_profile *profile, const struct path *path, 373 - char *buffer, struct path *devpath, char *devbuffer, 373 + char *buffer, const struct path *devpath, char *devbuffer, 374 374 const char *type, unsigned long flags, void *data, 375 375 bool binary) 376 376 { ··· 579 579 return error; 580 580 } 581 581 582 - static int profile_umount(struct aa_profile *profile, struct path *path, 582 + static int profile_umount(struct aa_profile *profile, const struct path *path, 583 583 char *buffer) 584 584 { 585 585 struct aa_perms perms = { };