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:
301e99c
)
svcrpc: treat uid's as unsigned
author
J. Bruce Fields
<bfields@citi.umich.edu>
Tue, 2 Mar 2010 20:49:21 +0000
(15:49 -0500)
committer
J. Bruce Fields
<bfields@citi.umich.edu>
Tue, 2 Mar 2010 20:49:21 +0000
(15:49 -0500)
We should consistently treat uid's as unsigned--it's confusing when
the display of uid's in the cache contents isn't consistent with their
representation in upcalls.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
net/sunrpc/svcauth_unix.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/svcauth_unix.c
b/net/sunrpc/svcauth_unix.c
index 97f0e9e120248ccb0699eadb72977629de554553..afdcb0459a8319660443b0130dc000d65e0f5449 100644
(file)
--- a/
net/sunrpc/svcauth_unix.c
+++ b/
net/sunrpc/svcauth_unix.c
@@
-624,7
+624,7
@@
static int unix_gid_show(struct seq_file *m,
else
glen = 0;
- seq_printf(m, "%
d
%d:", ug->uid, glen);
+ seq_printf(m, "%
u
%d:", ug->uid, glen);
for (i = 0; i < glen; i++)
seq_printf(m, " %d", GROUP_AT(ug->gi, i));
seq_printf(m, "\n");