+ uapi-linux-codah-use-__kernel_pid_t-for-userspace.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: uapi linux/coda.h: use __kernel_pid_t for userspace
has been added to the -mm tree.  Its filename is
     uapi-linux-codah-use-__kernel_pid_t-for-userspace.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/uapi-linux-codah-use-__kernel_pid_t-for-userspace.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/uapi-linux-codah-use-__kernel_pid_t-for-userspace.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Mikko Rapeli <mikko.rapeli@xxxxxx>
Subject: 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.

Link: http://lkml.kernel.org/r/f374a71f4d351bc8c8b3ac18ad7765c88d806d10.1558117389.git.jaharkes@xxxxxxxxxx
Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
Signed-off-by: Jan Harkes <jaharkes@xxxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>
Cc: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Cc: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
Cc: Fabian Frederick <fabf@xxxxxxxxx>
Cc: Sam Protsenko <semen.protsenko@xxxxxxxxxx>
Cc: Yann Droneaud <ydroneaud@xxxxxxxxxx>
Cc: Zhouyang Jia <jiazhouyang09@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/uapi/linux/coda.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/include/uapi/linux/coda.h~uapi-linux-codah-use-__kernel_pid_t-for-userspace
+++ a/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;
 };
 
_

Patches currently in -mm which might be from mikko.rapeli@xxxxxx are

uapi-linux-codah-use-__kernel_pid_t-for-userspace.patch
uapi-linux-coda_psdevh-move-upc_req-definition-from-uapi-to-kernel-side-headers.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux