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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140516153058.GA30667@redhat.com>
Date:	Fri, 16 May 2014 17:30:58 +0200
From:	Oleg Nesterov <oleg@...hat.com>
To:	Hugh Dickins <hughd@...gle.com>, Ingo Molnar <mingo@...e.hu>
Cc:	Denys Vlasenko <dvlasenk@...hat.com>,
	Peter Zijlstra <peterz@...radead.org>,
	Srikar Dronamraju <srikar@...ux.vnet.ibm.com>,
	linux-kernel@...r.kernel.org
Subject: uprobes && shmem (Was: uprobes: Shift ->readpage check from
	__copy_insn() to uprobe_register())

Hi Hugh,

On 05/16, Oleg Nesterov wrote:
>
> copy_insn() fails with -EIO if ->readpage == NULL

In particular, this means that we can not probe the binaries on tmpfs.
This is pity.

It seems that the potential fix is trivial, copy_insn() could use
shmem_getpage_gfp(). But, is there any way to figure out that this
inode/mapping/aops/whatever is actually shmem?

I am looking at shmem_get_inode() and I see nothing which could help,
and shmem_aops/etc are all static.

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ