Re: [PATCH v7 0/3] btrfs: Add three new unprivileged ioctls to allow normal users to call "sub list/show" etc.

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

 



On Mon, May 21, 2018 at 10:09:41AM +0900, Tomohiro Misono wrote:
> changelog:
> v6 -> v7
>   - Rebase to current misc-next again
>   - Fix 1st patch where otime is wrongly set instead of ctime
>   - Add reviewed-by/tested-by tag

> This adds three new unprivileged ioctls:
> 
> 1st patch:
>   ioctl which returns subvolume information of ROOT_ITEM and ROOT_BACKREF
> 2nd patch:
>   ioctl which returns subvolume information of ROOT_REF (without subvolume name)
> 3rd patch: 
>   user version of ino_lookup ioctl which also performs permission check.
> 
> They will be used to implement user version of "subvolume list/show" etc.
> in user tools.
> See each commit log for more detals.

I did one more pass yesterday and found some style issues and fixed
them. The security review isn't done yet but any issues can be fixed
during the 4.18 cycle. The ioctl structures look ok though I still don't
feel I have a full understanding how the paths are constructed and if
the buffers are big enough or what the limitations that can be hit in
practice.

The patchset will be added to misc-next and that's probably the last
thing before I mark it as for-4.18 and will not touch until 4.18-rc1.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux