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  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, 5 Jan 2020 13:47:49 +0100
From:   Christian Brauner <>
To:     Sargun Dhillon <>
Subject: Re: [PATCH v8 1/3] vfs, fdtable: Add get_task_file helper

On Fri, Jan 03, 2020 at 08:29:26AM -0800, Sargun Dhillon wrote:
> This introduces a function which can be used to fetch a file, given an
> arbitrary task. As long as the user holds a reference (refcnt) to the
> task_struct it is safe to call, and will either return NULL on failure,
> or a pointer to the file, with a refcnt.
> This patch is based on Oleg Nesterov's (cf. [1]) patch from September
> 2018.
> [1]: Link:
> Signed-off-by: Sargun Dhillon <>
> Suggested-by: Oleg Nesterov <>
> Acked-by: Christian Brauner <>

Nit: the patch is titled "vfs, fdtable: Add get_task_file helper"
but the actual helper is called fget_task()

Powered by blists - more mailing lists