tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: struct file reference at VFS level



On Wed, Apr 27, 2016 at 03:58:43PM +0000, Emmanuel Dreyfus wrote:
 > On Sun, Apr 24, 2016 at 07:11:37PM +0000, David Holland wrote:
 > > Since you said fuse has a way to do that but it doesn't work for our
 > > fuse, I guess the right way forward is to make it work in our fuse.
 > > What's required? Just send an arbitrary ID associated with the open
 > > through puffs to userland?
 > 
 > Here is the first part: a MNT_FILECRED mount option that cause
 > the struct file to be attached to VOP credentials. It builds but
 > I have not yet tested, as I need the second part in PUFFS for that.

ok, I don't understand: even assuming that stashing this information
in the credentials is the right place (which I don't think I agree
with but haven't really formed a coherent opinion about yet)... why on
earth should it be conditional?

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index