Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-06-29 | don't call file_pos_write() if vfs_{read,write}{,v}() fails | Al Viro | 1 | -6/+12 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | SELinux: Institute file_path_has_perm() | David Howells | 1 | -6/+18 | |
Create a file_path_has_perm() function that is like path_has_perm() but instead takes a file struct that is the source of both the path and the inode (rather than getting the inode from the dentry in the path). This is then used where appropriate. This will be useful for situations like unionmount where it will be possible to have an apparently-negative dentry (eg. a fallthrough) that is open with the file struct pointing to an inode on the lower fs. Signed-off-by: David Howells <[email protected]> Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | Replace a bunch of file->dentry->d_inode refs with file_inode() | David Howells | 3 | -6/+6 | |
Replace a bunch of file->dentry->d_inode refs with file_inode(). In __fput(), use file->f_inode instead so as not to be affected by any tricks that file_inode() might grow. Signed-off-by: David Howells <[email protected]> Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | udf: provide ->tmpfile() | Al Viro | 1 | -0/+24 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | ext3 ->tmpfile() support | Al Viro | 1 | -1/+46 | |
In this case we do need a bit more than usual, due to orphan list handling. Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | allow the temp files created by open() to be linked to | Al Viro | 3 | -3/+18 | |
O_TMPFILE | O_CREAT => linkat() with AT_SYMLINK_FOLLOW and /proc/self/fd/<n> as oldpath (i.e. flink()) will create a link O_TMPFILE | O_CREAT | O_EXCL => ENOENT on attempt to link those guys Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [O_TMPFILE] it's still short a few helpers, but infrastructure should be OK ↵ | Al Viro | 12 | -5/+164 | |
now... Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | allow build_open_flags() to return an error | Al Viro | 4 | -31/+41 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | lift file_*_write out of do_splice_direct() | Al Viro | 2 | -2/+2 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | lift file_*_write out of do_splice_from() | Al Viro | 1 | -4/+5 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | do_last(): fix missing checks for LAST_BIND case | Al Viro | 1 | -21/+3 | |
/proc/self/cwd with O_CREAT should fail with EISDIR. /proc/self/exe, OTOH, should fail with ENOTDIR when opened with O_DIRECTORY. Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | pcm_native: switch to fdget()/fdput() | Al Viro | 1 | -25/+15 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] constify ->actor | Al Viro | 9 | -68/+57 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] ->readdir() is gone | Al Viro | 7 | -16/+13 | |
everything's converted to ->iterate() Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert ecryptfs | Al Viro | 1 | -20/+15 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert coda | Al Viro | 1 | -58/+19 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert ocfs2 | Al Viro | 4 | -113/+61 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert fatfs | Al Viro | 1 | -50/+54 | |
... pox upon the idiotic ioctls; life would be much easier without those. Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert xfs | Al Viro | 7 | -61/+44 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert btrfs | Al Viro | 3 | -40/+21 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert hostfs | Al Viro | 1 | -7/+6 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert afs | Al Viro | 1 | -62/+37 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert ncpfs | Al Viro | 1 | -43/+35 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert hfsplus | Al Viro | 1 | -27/+23 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert hfs | Al Viro | 1 | -26/+23 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert befs | Al Viro | 1 | -18/+22 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert cifs | Al Viro | 3 | -100/+82 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert freevxfs | Al Viro | 1 | -32/+23 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert fuse | Al Viro | 1 | -20/+17 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert hpfs | Al Viro | 1 | -27/+29 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | reiserfs: switch reiserfs_readdir_dentry to inode | Al Viro | 3 | -17/+15 | |
... and clean the callers up a bit Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | reiserfs: is_privroot_deh() needs only directory inode, actually | Al Viro | 1 | -5/+4 | |
... and that - only to get the superblock. Privroot is a directory and we don't allow hardlinks to those... Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert reiserfs | Al Viro | 3 | -23/+19 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert ntfs | Al Viro | 1 | -57/+27 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert isofs | Al Viro | 1 | -22/+20 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert jffs2 | Al Viro | 1 | -36/+16 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert f2fs | Al Viro | 2 | -35/+22 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert 9p | Al Viro | 1 | -44/+28 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert affs | Al Viro | 1 | -45/+24 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert adfs | Al Viro | 1 | -24/+18 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert logfs | Al Viro | 1 | -34/+15 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert jfs | Al Viro | 3 | -36/+31 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert ceph | Al Viro | 1 | -51/+48 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert nfs | Al Viro | 1 | -26/+25 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert ext4 | Al Viro | 3 | -190/+134 | |
and trim the living hell out bogosities in inline dir case Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert qnx6 | Al Viro | 1 | -17/+14 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert qnx4 | Al Viro | 1 | -35/+31 | |
... and use strnlen() instead of strlen() - it's done on untrusted data, after all. Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert omfs | Al Viro | 1 | -56/+38 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert nilfs2 | Al Viro | 1 | -30/+18 | |
Signed-off-by: Al Viro <[email protected]> | |||||
2013-06-29 | [readdir] convert sysfs | Al Viro | 1 | -48/+18 | |
get rid of the kludges in sysfs_readdir() Signed-off-by: Al Viro <[email protected]> |