lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250802084525.GB31711@redhat.com>
Date: Sat, 2 Aug 2025 10:45:26 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: 高翔 <gaoxiang17@...omi.com>
Cc: Al Viro <viro@...iv.linux.org.uk>, Xiang Gao <gxxa03070307@...il.com>,
	"brauner@...nel.org" <brauner@...nel.org>,
	"mjguzik@...il.com" <mjguzik@...il.com>,
	"Liam.Howlett@...cle.com" <Liam.Howlett@...cle.com>,
	"joel.granados@...nel.org" <joel.granados@...nel.org>,
	"lorenzo.stoakes@...cle.com" <lorenzo.stoakes@...cle.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: 答复: [External Mail]Re:
 [PATCH] pid: Add a judgment for ns null in pid_nr_ns

On 08/02, 高翔 wrote:
>
> Obtain the current process pid in the ufs compl command. This scene is possible.

How exactly your module tries to obtain the current process pid?

task_pid_vnr(current) should work and return 0 if the task was reaped.

Oleg.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ