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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 6 Dec 2008 16:30:24 +1000
From:	"Dave Airlie" <airlied@...il.com>
To:	"Roland McGrath" <roland@...hat.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	libc-alpha@...rces.redhat.com
Subject: Re: IO space memcpy support for userspace.

On Sat, Dec 6, 2008 at 6:27 AM, Roland McGrath <roland@...hat.com> wrote:
> There is never going to be something in memcpy that makes any magical
> kernel calls to find out about an address.  That's just loony, sorry.
> memcpy is inlined away by the compiler in good cases.  It's like you'd
> asked for "*ptr" to have magical constraints by the compiler generating
> code to ask the kernel if "ptr" is a special address.  Uh, really?
>

Yeah I didn't think it was a good idea, its what HPUX does, so that
implied it probably wasn't a good idea.

I was just hoping it might help people come up with a good idea.

Dave.

> If you can think of an efficient way to determine it and do what you need,
> then you could write optimized routines that do that in the vDSO perhaps.
>
>
> Thanks,
> Roland
>
--
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