projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8d2bc9
)
audit: less stack usage for /proc/*/loginuid
author
Alexey Dobriyan
<adobriyan@gmail.com>
Sat, 29 Oct 2016 16:04:39 +0000
(19:04 +0300)
committer
Paul Moore
<paul@paul-moore.com>
Thu, 3 Nov 2016 21:20:00 +0000
(17:20 -0400)
%u requires 10 characters at most not 20.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
fs/proc/base.c
patch
|
blob
|
history
diff --git
a/fs/proc/base.c
b/fs/proc/base.c
index ac0df4dde823866b54480c7062d5188887009365..9cdb3e40899a2abdb6862cda6d47532085a21a7e 100644
(file)
--- a/
fs/proc/base.c
+++ b/
fs/proc/base.c
@@
-1228,7
+1228,7
@@
static const struct file_operations proc_oom_score_adj_operations = {
};
#ifdef CONFIG_AUDITSYSCALL
-#define TMPBUFLEN
2
1
+#define TMPBUFLEN
1
1
static ssize_t proc_loginuid_read(struct file * file, char __user * buf,
size_t count, loff_t *ppos)
{