Generic name to handle and open by handle syscalls
Get series with b4
b4 am 1296328099-23263-1-git-send-email-aneesh.kumar@linux.vnet.ibm.comVersions newest first
- v1 Latest16 patches 0 repliesNew
Changes from V22 from the cover letter
a) Add support for O_PATH open flag
b) Add support "" names in *at syscalls
c) Add support O_PATH descriptor in few selective syscalls like stat, chown, chmod and dup
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | exportfs: Return the minimum required handle sizefs/ fs/ fs/ +9 more | +59 | 0 replies | |
| 2/16 | vfs: Add name to file handle conversion supportfs/ include/ include/ +2 more | +145 | 0 replies | |
| 3/16 | vfs: Add open by file handle supportfs/ fs/ fs/ +4 more | +268 | 0 replies | |
| 4/16 | fs: Don't allow to create hardlink for deleted filefs/ | +5 | 0 replies | |
| 5/16 | fs: Remove i_nlink check from file system link callbackfs/ fs/ fs/ +3 more | +0 | 0 replies | |
| 6/16 | x86: Add new syscalls for x86_32arch/ arch/ | +5 | 0 replies | |
| 7/16 | x86: Add new syscalls for x86_64arch/ arch/ | +6 | 0 replies | |
| 8/16 | unistd.h: Add new syscalls numbers to asm-genericinclude/ | +5 | 0 replies | |
| 9/16 | vfs: Export file system uuid via /proc/<pid>/mountinfofs/ include/ | +17 | 0 replies | |
| 10/16 | ext3: Copy fs UUID to superblock.fs/ | +1 | 0 replies | |
| 11/16 | ext4: Copy fs UUID to superblockfs/ | +2 | 0 replies | |
| 12/16 | vfs: Add O_PATH open flagfs/ fs/ fs/ +3 more | +113 | 0 replies | |
| 13/16 | fs: Support "" relative pathnamesfs/ include/ | +87 | 0 replies | |
| 14/16 | fs: limit linkat syscall with null relative name to CAP_DAC_READ_SEARCHfs/ | +21 | 0 replies | |
| 15/16 | vfs: enable O_PATH descriptor for few syscallsfs/ fs/ fs/ | +4 | 0 replies | |
| 16/16 | vfs: enable "" pathname in openat syscallfs/ | +1 | 0 replies |
Reviews trailers per patch
1 of 16 patches has a Reviewed-by or Acked-by.
| Patch | Serge Hallyn |
|---|---|
| 1/16 | A-b |
| 2/16 | |
| 3/16 | |
| 4/16 | |
| 5/16 | |
| 6/16 | |
| 7/16 | |
| 8/16 | |
| 9/16 | |
| 10/16 | |
| 11/16 | |
| 12/16 | |
| 13/16 | |
| 14/16 | |
| 15/16 | |
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -V26 00/16] 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 V22:
a) Add support for O_PATH open flag
b) Add support "" names in *at syscalls
c) Add support O_PATH descriptor in few selective syscalls like stat, chown, chmod and dup
NOTE: v23-25 can be found in the git repo
-aneesh