| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * AppArmor security module |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Copyright (C) 1998-2008 Novell/SUSE |
|---|
| 7 | 8 | * Copyright 2009-2010 Canonical Ltd. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or |
|---|
| 10 | | - * modify it under the terms of the GNU General Public License as |
|---|
| 11 | | - * published by the Free Software Foundation, version 2 of the |
|---|
| 12 | | - * License. |
|---|
| 13 | 9 | */ |
|---|
| 14 | 10 | |
|---|
| 15 | 11 | #include <linux/ctype.h> |
|---|
| .. | .. |
|---|
| 296 | 292 | switch (AUDIT_MODE(profile)) { |
|---|
| 297 | 293 | case AUDIT_ALL: |
|---|
| 298 | 294 | perms->audit = ALL_PERMS_MASK; |
|---|
| 299 | | - /* fall through */ |
|---|
| 295 | + fallthrough; |
|---|
| 300 | 296 | case AUDIT_NOQUIET: |
|---|
| 301 | 297 | perms->quiet = 0; |
|---|
| 302 | 298 | break; |
|---|
| 303 | 299 | case AUDIT_QUIET: |
|---|
| 304 | 300 | perms->audit = 0; |
|---|
| 305 | | - /* fall through */ |
|---|
| 301 | + fallthrough; |
|---|
| 306 | 302 | case AUDIT_QUIET_DENIED: |
|---|
| 307 | 303 | perms->quiet = ALL_PERMS_MASK; |
|---|
| 308 | 304 | break; |
|---|