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]
Date:	Mon, 22 Feb 2016 00:35:46 -0500
From:	"W. Michael Petullo" <mike@...n.org>
To:	linux-kernel@...r.kernel.org
Subject: Processes attached to shared memory

Given a struct shmid_kernel, is it possible to find each
process/task_struct which is attached to the shared memory?

I have been trying to use find_get_pages(shmid->shm_file->f_mapping, ...)
along with rmap_walk(...). But what I have come up with seems a little
convoluted and also triggers "BUG: scheduling while atomic" errors.

-- 
Mike

:wq

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ