ANDROID: security: Realign code titbits with Mainline

Trivial changes rectifying one '\n' disparity and another ordering one.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Change-Id: I8c0e3d0c91de6427cc97bda5d2149bbc9408f575
This commit is contained in:
Lee Jones 2021-06-03 17:04:46 +01:00
parent 4f4ec94fcb
commit ccfa453e94
2 changed files with 2 additions and 3 deletions

View File

@ -433,7 +433,6 @@ static void dump_common_audit_data(struct audit_buffer *ab,
case LSM_AUDIT_DATA_LOCKDOWN:
audit_log_format(ab, " lockdown_reason=\"%s\"",
lockdown_reasons[a->u.reason]);
break;
} /* switch (a->type) */
}

View File

@ -249,10 +249,10 @@ struct security_class_mapping secclass_map[] = {
{ COMMON_SOCK_PERMS, NULL } },
{ "perf_event",
{ "open", "cpu", "kernel", "tracepoint", "read", "write", NULL } },
{ "anon_inode",
{ COMMON_FILE_PERMS, NULL } },
{ "lockdown",
{ "integrity", "confidentiality", NULL } },
{ "anon_inode",
{ COMMON_FILE_PERMS, NULL } },
{ NULL }
};