[lkml]   [2016]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Use pid_t instead of int
On Sun, May 8, 2016 at 12:38 PM, René Nyffenegger
<> wrote:
> Use pid_t instead of int in the declarations of sys_kill, sys_tgkill,
> sys_tkill and sys_rt_sigqueueinfo in include/linux/syscalls.h

The description is no good. *Why* are you changing it?

I checked tgkill and, indeed, tgkill takes pid_t parameters, so this
fixes an incorrect declaration. I'm wondering why the code compiles
without warning. Is SYSCALL_DEFINE too lenient for some reason? Or
is pid_t just defined as int.


 \ /
  Last update: 2016-05-09 03:41    [W:0.045 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site