[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [V7 PATCH 3/9] virtio-9p: Provide chroot worker side in
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] Re: [V7 PATCH 3/9] virtio-9p: Provide chroot worker side interfaces |
Date: |
Fri, 4 Mar 2011 10:53:42 +0000 |
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?
Stefan
- [Qemu-devel] [V7 PATCH 0/9] virtio-9p: Use chroot to safely access files in passthrough security model, M. Mohan Kumar, 2011/03/04
- [Qemu-devel] [V7 PATCH 2/9] virtio-9p: Enable CONFIG_THREAD if CONFIG_VIRTFS is enabled, M. Mohan Kumar, 2011/03/04
- [Qemu-devel] [V7 PATCH 1/9] Implement qemu_read_full, M. Mohan Kumar, 2011/03/04
- [Qemu-devel] [V7 PATCH 4/9] virtio-9p: Add qemu side interfaces for chroot environment, M. Mohan Kumar, 2011/03/04
- [Qemu-devel] [V7 PATCH 5/9] virtio-9p: Add support to open a file in chroot environment, M. Mohan Kumar, 2011/03/04
- [Qemu-devel] [V7 PATCH 6/9] virtio-9p: Create support in chroot environment, M. Mohan Kumar, 2011/03/04
- [Qemu-devel] [V7 PATCH 3/9] virtio-9p: Provide chroot worker side interfaces, M. Mohan Kumar, 2011/03/04
- [Qemu-devel] Re: [V7 PATCH 3/9] virtio-9p: Provide chroot worker side interfaces,
Stefan Hajnoczi <=
- [Qemu-devel] [V7 PATCH 7/9] virtio-9p: Support for creating special files, M. Mohan Kumar, 2011/03/04
- [Qemu-devel] [V7 PATCH 8/9] virtio-9p: Move file post creation changes to none security model, M. Mohan Kumar, 2011/03/04
- [Qemu-devel] [V7 PATCH 9/9] virtio-9p: Chroot environment for other functions, M. Mohan Kumar, 2011/03/04