On 3/4/2011 2:53 AM, Stefan Hajnoczi wrote: > On Fri, Mar 4, 2011 at 9:25 AM, M. Mohan Kumar <mo...@in.ibm.com> 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 >