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] [day] [month] [year] [list]
Message-ID: <AgYydTLPzIi7PfK3SIbKYBYJ_S2P-9yFe9Eit6yRKwIgoQ_ktaPUDwPI_SzP97wKduSmJf118DaGulVu-TaQhkx5KYPpKfOD0x98BXKRDxU=@mcbridemail.com>
Date: Fri, 05 Sep 2025 00:06:06 +0000
From: Blake McBride <blake@...ridemail.com>
To: Blake McBride <blake@...ridemail.com>
Cc: Al Viro <viro@...iv.linux.org.uk>, "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "brauner@...nel.org" <brauner@...nel.org>, "akpm@...ux-foundation.org" <akpm@...ux-foundation.org>, Colby Wes McBride <colbym84@...il.com>
Subject: Re: [RFC] View-Based File System Model with Program-Scoped Isolation

In effect, it is like an enhanced cwd. You change what directory you are in (your cwd), and then all commands you run (except for absolute paths) are relative to your cwd. However, in this case, it isn't just your cwd; it also depends on your current view or context.

--blake




On Thursday, September 4th, 2025 at 6:58 PM, Blake McBride <blake@...ridemail.com> wrote:

> 
> 
> Let me be a little more clear about the application programmer-level API - nothing has to change. A context or view is selected by the user before a program is started (unless a program has a default or specific context). The API that the program uses is utterly unchanged. However, all of the calls are within the context of the view.
> 
> --blake
> 
> 
> 
> 
> 
> On Thursday, September 4th, 2025 at 6:41 PM, Blake McBride blake@...ridemail.com wrote:
> 
> > On Thursday, September 4th, 2025 at 6:09 PM, Al Viro viro@...iv.linux.org.uk wrote:
> > 
> > > On Thu, Sep 04, 2025 at 10:58:12PM +0000, Blake McBride wrote:
> > > 
> > > > Off the cuff, I'd say it is an mv option. It defaults to changing all occurrences, with an option to change it only in the current view.
> > > 
> > > Huh? mv(1) is userland; whatever it does, by definition it boils down
> > > to a sequence of system calls.
> > 
> > Yes. This is what is intended. All of userland would just operate on the view the same as if that was your real hierarchy.
> > 
> > > If those "views" of yours are pasted together subtrees of the global
> > > forest, you already can do all of that with namespaces; if they are not,
> > > you get all kinds of interesting questions about coherency.
> > 
> > These views are not pasted together subtrees. Each view can have utterly different layouts of the same set of files.
> > 
> > > Which one it is? Before anyone can discuss possible implementations
> > > and relative merits thereof, you need to define the semantics of
> > > what you want to implement...
> > > 
> > > And frankly, if you are thinking in terms of userland programs (file
> > > manglers, etc.) you are going the wrong way - description will have
> > > to be on the syscall level.
> > 
> > I did not specify the implementation, just the user experience. All of userland would "appear" to function as it does now. The same with the syscalls that are made by the application code. They all effect the current view as if it was the real hierarchy.
> > 
> > --blake

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ