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.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -295,8 +295,8 @@ struct coda_statfs { · 294 unmodified lines | ||
| 295 | 295 | struct coda_in_hdr { |
| 296 | 296 | u_int32_t opcode; |
| 297 | 297 | u_int32_t unique; /* Keep multiple outstanding msgs distinct */ |
| 298 | − pid_t pid; | |
| 299 | − pid_t pgid; | |
| 298 | + __kernel_pid_t pid; | |
| 299 | + __kernel_pid_t pgid; | |
| 300 | 300 | vuid_t uid; |
| 301 | 301 | }; |
| 302 | 302 | |