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: <E1LVN4j-0001Iz-OD@be1.7eggert.dyndns.org>
Date:	Fri, 06 Feb 2009 10:32:41 +0100
From:	Bodo Eggert <7eggert@....de>
To:	Vira <sri1369_s@...oo.com>, linux-kernel@...r.kernel.org
Subject: Re: Mapping non-page aligned data to user

Vira <sri1369_s@...oo.com> wrote:

> Is there a way to map a non-page aligned kernel physical address to user
> virtual address? remap_pfn_range and vm_insert_page operate only on
> page-aligned physical addresses.
> 
> If there is no such support, would it be too complicated to try out
> writing something on my own to map non-page aligned addresses (the data
> size is under my control - so I can make that a multiple of page size)?
> 
> Any suggestions appreciated.

It can only be done using segmented memory, and you don't want that.

--
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