Generic name to handle and open by handle syscalls
Get series with b4
b4 am 1282906982-26918-1-git-send-email-aneesh.kumar@linux.vnet.ibm.comVersions newest first
- v1 Latest15 patches 9 repliesIn review
Changes from V18 from the cover letter
a) Drop open on symlink patch
b) Drop other patches that added support for NULL pathname in *at syscalls
c) Add new handle based syscalls. All of them are restricted to CAP_DAC_READ_SEARCH
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | exportfs: Return the minimum required handle sizefs/ fs/ fs/ +9 more | +60 | 0 replies | |
| 2/15 | vfs: Add name to file handle conversion supportfs/ include/ include/ +1 more | +144 | 0 replies | |
| 3/15 | vfs: Add open by file handle supportfs/ fs/ fs/ +4 more | +263 | 0 replies | |
| 4/15 | vfs: Add handle based readlink syscallfs/ include/ | +31 | 0 replies | |
| 5/15 | vfs: Add handle based stat syscallarch/ fs/ include/ +1 more | +67 | 0 replies | |
| 6/15 | vfs: Add handle based link syscallfs/ include/ | +47 | 0 replies | |
| 7/15 | vfs: Add handle based chown syscallfs/ include/ | +22 | 0 replies | |
| 8/15 | vfs: Add handle based xattr syscallsfs/ include/ | +85 | 0 replies | |
| 9/15 | vfs: Add file access and modification time update via handle syscallfs/ fs/ include/ +1 more | +75 | 0 replies | |
| 10/15 | x86: Add new syscalls for x86_32arch/ arch/ | +24 | 0 replies | |
| 11/15 | x86: Add new syscalls for x86_64arch/ arch/ | +35 | 0 replies | |
| 12/15 | unistd.h: Add new syscalls numbers to asm-genericinclude/ | +24 | 0 replies | |
| 13/15 | vfs: Export file system uuid via /proc/<pid>/mountinfofs/ include/ | +17 | 0 replies | |
| 14/15 | ext3: Copy fs UUID to superblock.fs/ | +1 | 0 replies | |
| 15/15 | ext4: Copy fs UUID to superblockfs/ | +2 | 0 replies |
Reviews trailers per patch
1 of 15 patches has a Reviewed-by or Acked-by.
| Patch | Serge Hallyn |
|---|---|
| 1/15 | A-b |
| 2/15 | |
| 3/15 | |
| 4/15 | |
| 5/15 | |
| 6/15 | |
| 7/15 | |
| 8/15 | |
| 9/15 | |
| 10/15 | |
| 11/15 | |
| 12/15 | |
| 13/15 | |
| 14/15 | |
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -V19 00/15] Generic name to handle and open by handle syscalls
Hi,
The below set of patches implement open by handle support using exportfs operations. This allows user space application to map a file name to file handle and later open the file using handle. This should be usable for userspace NFS [1] and 9P server [2]. XFS already support this with the ioctls XFS_IOC_PATH_TO_HANDLE and XFS_IOC_OPEN_BY_HANDLE.
[1] http://nfs-ganesha.sourceforge.net/
[2] http://thread.gmane.org/gmane.comp.emulators.qemu/68992
git repo for the patchset at:git://git.kernel.org/pub/scm/linux/kernel/git/kvaneesh/linux-open-handle.git open-by-handle
Test case can be found at
http://git.kernel.org/?p=fs/ext2/kvaneesh/handle-test.gitgit://git.kernel.org/pub/scm/fs/ext2/kvaneesh/handle-test.git
Changes from V18:
a) Drop open on symlink patch
b) Drop other patches that added support for NULL pathname in *at syscalls
c) Add new handle based syscalls. All of them are restricted to CAP_DAC_READ_SEARCH
-aneesh