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: <44D98BF3.5060706@scalemp.com>
Date:	Wed, 09 Aug 2006 10:17:07 +0300
From:	sasha <sasha@...lemp.com>
To:	linux-kernel@...r.kernel.org
Subject: Map memory to user, then map it back to kernel

Hi folks.

I am looking for a way to map a memory (allocated with get_free_pages()) 
from kernel space to user space, so that I will later be able to map it 
back with get_user_pages().

I tried remap_pfn_range(), but it didn't work as it assumes the memory 
being mapped is IO range (marking vma with VM_IO flag), while 
get_user_pages() works on regular memory.

Any ideas?

Thanks.
Alexander Sandler.

PS: Please CC to me.
-
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