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]
Message-Id: <E1NfE50-0001EK-Ao@pomaz-ex.szeredi.hu>
Date:	Wed, 10 Feb 2010 16:02:14 +0100
From:	Miklos Szeredi <miklos@...redi.hu>
To:	Tejun Heo <tj@...nel.org>
CC:	miklos@...redi.hu, mszeredi@...e.cz, linux-kernel@...r.kernel.org,
	fuse-devel@...ts.sourceforge.net, polynomial-c@...too.org,
	akpm@...ux-foundation.org
Subject: Re: [fuse-devel] [PATCH] FUSE/CUSE: implement direct mmap support

On Wed, 10 Feb 2010, Tejun Heo wrote:
> > When does that happen?  Can it happen that two mappings of the same
> > file descriptor will have different backing pages?
> 
> Yeah, sure.  FUSE server is free to give them separate regions.  The
> only restriction is the SHMLBA alignment which is pretty easy to
> adhere to.

What I really meant was: does it ever happen that mapping a *single
open file* of a chardev twice will result in two different maps?
Or will the maps be only different if it was a different open of the
device?

If there's a pattern there, we might make the sharing/non-sharing
automated, and greatly simplify the interface.

Thanks,
Miklos
--
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