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:
7fa0a1d
)
uapi linux/coda.h: use __kernel_pid_t for userspace
author
Mikko Rapeli
<
[email protected]
>
Tue, 16 Jul 2019 23:28:07 +0000
(16:28 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 17 Jul 2019 02:23:23 +0000
(19:23 -0700)
Part of a patch by Mikko Rapeli, as Arnd Bergman commented on the
original patch.
pid_t might differ between libc and the kernel, so the kernel
interface has to use types that the kernel defines.
Link:
http://lkml.kernel.org/r/f374a71f4d351bc8c8b3ac18ad7765c88d806d10.1558117389.git.jaharkes@cs.cmu.edu
Signed-off-by: Mikko Rapeli <
[email protected]
>
Signed-off-by: Jan Harkes <
[email protected]
>
Cc: Arnd Bergmann <
[email protected]
>
Cc: Colin Ian King <
[email protected]
>
Cc: Dan Carpenter <
[email protected]
>
Cc: David Howells <
[email protected]
>
Cc: Fabian Frederick <
[email protected]
>
Cc: Sam Protsenko <
[email protected]
>
Cc: Yann Droneaud <
[email protected]
>
Cc: Zhouyang Jia <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/uapi/linux/coda.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/coda.h
b/include/uapi/linux/coda.h
index 695fade33c64fdae29b32648a786421b2a1a5a1b..ed8cb263e482f5fd8a760f256b093393b4c39101 100644
(file)
--- a/
include/uapi/linux/coda.h
+++ b/
include/uapi/linux/coda.h
@@
-295,8
+295,8
@@
struct coda_statfs {
struct coda_in_hdr {
u_int32_t opcode;
u_int32_t unique; /* Keep multiple outstanding msgs distinct */
- pid_t pid;
- pid_t pgid;
+
__kernel_
pid_t pid;
+
__kernel_
pid_t pgid;
vuid_t uid;
};