qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [V7 PATCH 3/9] virtio-9p: Provide chroot worker sid


From: Venkateswararao Jujjuri (JV)
Subject: Re: [Qemu-devel] Re: [V7 PATCH 3/9] virtio-9p: Provide chroot worker side interfaces
Date: Mon, 07 Mar 2011 21:10:54 -0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

On 3/4/2011 2:53 AM, Stefan Hajnoczi wrote:
> On Fri, Mar 4, 2011 at 9:25 AM, M. Mohan Kumar <address@hidden> wrote:
>> +static int chroot_do_open(V9fsFileObjectRequest *request)
>> +{
>> +    int fd;
>> +    fd = open(request->path.path, request->data.flags);
>> +    if (fd < 0) {
>> +        fd = -errno;
>> +    }
>> +    return fd;
>> +}
> 
> How do access checks work without fsuid/fsgid being set?

VirtFS access checks are done on the cleint. Server just does what
client asked for.. as long as the operations on the exported region.

- JV

> 
> Stefan
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]