History

uapi linux/coda.h: use __kernel_pid_t for userspace

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.

Mikko Rapeli committed 7 years ago

Commit 694a58e1 parent 7fa0a1d1 file · +2 −2Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/coda.h+2−2
@@ -295,8 +295,8 @@ struct coda_statfs { · 294 unmodified lines
295struct coda_in_hdr {295struct coda_in_hdr {
296 u_int32_t opcode;296 u_int32_t opcode;
297 u_int32_t unique; /* Keep multiple outstanding msgs distinct */297 u_int32_t unique; /* Keep multiple outstanding msgs distinct */
298 pid_t pid;298 __kernel_pid_t pid;
299 pid_t pgid;299 __kernel_pid_t pgid;
300 vuid_t uid;300 vuid_t uid;
301};301};
302 302