lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 16 Feb 2020 23:59:40 -0800
From:   Christoph Hellwig <>
To:     Minchan Kim <>
Cc:     Andrew Morton <>,
        LKML <>,
        linux-mm <>,,, Suren Baghdasaryan <>,
        Tim Murray <>,
        Daniel Colascione <>,
        Sandeep Patil <>,
        Sonny Rao <>,
        Brian Geffon <>,
        Michal Hocko <>,
        Johannes Weiner <>,
        Shakeel Butt <>,
        John Dias <>,
        Joel Fernandes <>,,, Jann Horn <>,
        Christian Brauner <>
Subject: Re: [PATCH v5 4/7] pid: export pidfd_get_pid

On Fri, Feb 14, 2020 at 09:05:17AM -0800, Minchan Kim wrote:
> process_madvise syscall needs pidfd_get_pid function to translate
> pidfd to pid so this patch exports the function.

For that it should not need to exported, but then again the actual
patch doesn't export it anyway, so this is just a commit log issue.

>  extern struct pid *pidfd_pid(const struct file *file);
> +extern struct pid *pidfd_get_pid(unsigned int fd);

... and there is no need for the extern keyword on prototypes in

Powered by blists - more mailing lists