projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2570ebb
)
auditsc: propage umode_t
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 27 Jul 2011 18:04:25 +0000
(14:04 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:55:17 +0000
(22:55 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/auditsc.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/auditsc.c
b/kernel/auditsc.c
index 7a074d65fff40700a90119455d6cee6356e04ba8..e7fe2b0d29b3cd0676caccc6af116a76afee947e 100644
(file)
--- a/
kernel/auditsc.c
+++ b/
kernel/auditsc.c
@@
-308,7
+308,7
@@
static int audit_match_perm(struct audit_context *ctx, int mask)
static int audit_match_filetype(struct audit_context *ctx, int which)
{
unsigned index = which & ~S_IFMT;
- mode_t mode = which & S_IFMT;
+
u
mode_t mode = which & S_IFMT;
if (unlikely(!ctx))
return 0;
@@
-1502,7
+1502,7
@@
static void audit_log_exit(struct audit_context *context, struct task_struct *ts
if (n->ino != (unsigned long)-1) {
audit_log_format(ab, " inode=%lu"
- " dev=%02x:%02x mode=%#o"
+ " dev=%02x:%02x mode=%#
h
o"
" ouid=%u ogid=%u rdev=%02x:%02x",
n->ino,
MAJOR(n->dev),