TOMOYO: Don't add / for allow_unmount permission check.
[deliverable/linux.git] / security / tomoyo / file.c
index cb09f1fce910959f62dd6d249bc495bf6fa5d432..d64e8ecb6fb3e7cbb923cbf80e8cbb993872279b 100644 (file)
@@ -1011,7 +1011,6 @@ int tomoyo_path_perm(const u8 operation, struct path *path)
                break;
        case TOMOYO_TYPE_RMDIR:
        case TOMOYO_TYPE_CHROOT:
-       case TOMOYO_TYPE_UMOUNT:
                tomoyo_add_slash(&buf);
                break;
        }
This page took 0.02568 seconds and 5 git commands to generate.