aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xattr.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-15evm: Move to LSM infrastructureRoberto Sassu1-2/+0
2024-02-15security: Introduce inode_post_removexattr hookRoberto Sassu1-4/+5
2023-10-09xattr: make the xattr array itself constWedson Almeida Filho1-3/+3
2023-08-22tmpfs,xattr: GFP_KERNEL_ACCOUNT for simple xattrsHugh Dickins1-2/+2
2023-08-10tmpfs,xattr: enable limited user extended attributesHugh Dickins1-1/+27
2023-08-09xattr: simple_xattr_set() return old_xattr to be freedHugh Dickins1-29/+22
2023-05-17fs: don't call posix_acl_listxattr in generic_listxattrJeff Layton1-6/+9
2023-03-06acl: don't depend on IOP_XATTRChristian Brauner1-1/+24
2023-03-06xattr: remove unused argumentChristian Brauner1-6/+4
2023-03-06xattr: simplify listxattr helpersChristian Brauner1-56/+33
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-42/+41
2023-01-19fs: port inode_owner_or_capable() to mnt_idmapChristian Brauner1-3/+1
2023-01-19fs: port xattr to mnt_idmapChristian Brauner1-15/+12
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-28/+32
2023-01-19fs: port ->set_acl() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-11filelock: move file locking definitions to separate header fileJeff Layton1-0/+1
2022-12-13Merge tag 'fs.xattr.simple.rework.rbtree.rwlock.v6.2' of git://git.kernel.org...Linus Torvalds1-67/+250
2022-12-13Merge tag 'lsm-pr-20221212' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+3
2022-12-12Merge tag 'fs.xattr.simple.noaudit.v6.2' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-1/+1
2022-11-18lsm,fs: fix vfs_getxattr_alloc() return type and caller error pathsPaul Moore1-2/+3
2022-11-12xattr: use rbtree for simple_xattrsChristian Brauner1-67/+250
2022-11-07fs: don't audit the capability check in simple_xattr_list()Ondrej Mosnacek1-1/+1
2022-10-31acl: conver higher-level helpers to rely on mnt_idmapChristian Brauner1-19/+20
2022-10-20acl: remove a slew of now unused helpersChristian Brauner1-4/+1
2022-10-20xattr: use posix acl apiChristian Brauner1-11/+20
2022-10-20ovl: use posix acl apiChristian Brauner1-6/+0
2022-10-20internal: add may_write_xattr()Christian Brauner1-13/+30
2022-09-21xattr: always us is_posix_acl_xattr() helperChristian Brauner1-5/+2
2022-08-31xattr: constify value argument in vfs_setxattr()Christian Brauner1-3/+2
2022-08-31acl: move idmapping handling into posix_acl_xattr_set()Christian Brauner1-3/+0
2022-07-15acl: move idmapped mount fixup into vfs_{g,s}etxattr()Christian Brauner1-7/+18
2022-04-24fs: split off do_getxattr from getxattrStefan Roesch1-21/+38
2022-04-24fs: split off setxattr_copy and do_setxattr function from setxattrStefan Roesch1-25/+59
2022-04-19fs: fix acl translationChristian Brauner1-2/+4
2021-03-23xattr: fix kernel-doc for mnt_userns and vfs xattr helpersRandy Dunlap1-6/+8
2021-01-24namei: handle idmapped mounts in may_*() helpersChristian Brauner1-1/+1
2021-01-24commoncap: handle idmapped mountsChristian Brauner1-7/+11
2021-01-24xattr: handle idmapped mountsTycho Andersen1-51/+69
2021-01-24acl: handle idmapped mountsChristian Brauner1-5/+9
2021-01-24inode: make init and permission helpers idmapped mount awareChristian Brauner1-1/+2
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-1/+1
2020-12-14vfs: move cap_convert_nscap() call into vfs_setxattr()Miklos Szeredi1-6/+11
2020-10-13fs/xattr.c: fix kernel-doc warnings for setxattr & removexattrRandy Dunlap1-11/+11
2020-07-13xattr: add a function to check if a namespace is supportedFrank van der Linden1-0/+27
2020-07-13xattr: break delegations in {set,remove}xattrFrank van der Linden1-7/+77
2020-04-09xattr: fix uninitialized out-paramDaniel Xu1-3/+3
2020-03-16kernfs: Add removed_size out param for simple_xattr_setDaniel Xu1-1/+10
2020-03-16kernfs: kvmalloc xattr value instead of kmallocDaniel Xu1-3/+3
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2018-09-18sysfs: Do not return POSIX ACL xattrs via listxattrAndreas Gruenbacher1-11/+13
2018-08-24Merge branch 'userns-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2018-08-23getxattr: use correct xattr lengthChristian Brauner1-1/+1
2018-07-18Revert "ovl: don't allow writing ioctl on lower layer"Miklos Szeredi1-5/+4
2018-05-29vfs: delete unnecessary assignment in vfs_listxattrChengguang Xu1-1/+0
2018-05-14make xattr_getsecurity() staticAl Viro1-2/+1
2017-10-04lsm: fix smack_inode_removexattr and xattr_getsecurity memleakCasey Schaufler1-1/+1
2017-09-13Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+5
2017-09-05ovl: don't allow writing ioctl on lower layerMiklos Szeredi1-4/+5
2017-09-01Introduce v3 namespaced file capabilitiesSerge E. Hallyn1-0/+6
2017-05-08treewide: use kv[mz]alloc* rather than opencoded variantsMichal Hocko1-18/+9
2017-05-08fs/xattr.c: zero out memory copied to userspace in getxattrMichal Hocko1-1/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-17xattr: Fix setting security xattrs on sockfsAndreas Gruenbacher1-8/+14
2016-10-07vfs: Remove {get,set,remove}xattr inode operationsAndreas Gruenbacher1-53/+0
2016-10-07xattr: Stop calling {get,set,remove}xattr inode operationsAndreas Gruenbacher1-18/+34
2016-10-07vfs: Check for the IOP_XATTR flag in listxattrAndreas Gruenbacher1-6/+7
2016-10-07xattr: Add __vfs_{get,set,remove}xattr helpersAndreas Gruenbacher1-11/+33
2016-10-07vfs: Use IOP_XATTR flag for bad-inode handlingAndreas Gruenbacher1-1/+7
2016-10-07vfs: Add IOP_XATTR inode operations flagAndreas Gruenbacher1-4/+8
2016-10-07vfs: Move xattr_resolve_name to the front of fs/xattr.cAndreas Gruenbacher1-51/+50
2016-10-06xattr: Remove unnecessary NULL attribute name checkAndreas Gruenbacher1-3/+0
2016-07-05vfs: Don't modify inodes with a uid or gid unknown to the vfsEric W. Biederman1-0/+7
2016-05-27switch ->setxattr() to passing dentry and inode separatelyAl Viro1-4/+4
2016-05-27switch xattr_handler->set() to passing dentry and inode separatelyAl Viro1-2/+4
2016-05-25make xattr_resolve_handlers() safe to use with NULL ->s_xattrAl Viro1-0/+1
2016-05-25xattr: Fail with -EINVAL for NULL attribute namesAndreas Gruenbacher1-1/+1
2016-04-11->getxattr(): pass dentry and inode as separate argumentsAl Viro1-5/+6
2016-04-10xattr_handler: pass dentry and inode as separate arguments of ->get()Al Viro1-1/+2
2016-02-20xattr handlers: plug a lock leak in simple_xattr_listMateusz Guzik1-3/+3
2016-01-22wrappers for ->i_mutex accessAl Viro1-4/+4
2016-01-12Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-24/+14
2016-01-09fs: xattr: Use kvfree()Richard Weinberger1-24/+14
2015-12-13xattr handlers: Simplify list operationAndreas Gruenbacher1-9/+11
2015-12-13nfs: Move call to security_inode_listsecurity into nfs_listxattrAndreas Gruenbacher1-0/+4
2015-12-06tmpfs: listxattr should include POSIX ACL xattrsAndreas Gruenbacher1-16/+37
2015-12-06tmpfs: Use xattr handler infrastructureAndreas Gruenbacher1-32/+16
2015-12-06vfs: Distinguish between full xattr names and proper prefixesAndreas Gruenbacher1-10/+17
2015-12-06vfs: Remove vfs_xattr_cmpAndreas Gruenbacher1-19/+0
2015-11-139p: xattr simplificationsAndreas Gruenbacher1-0/+24
2015-11-13xattr handlers: Pass handler to operations instead of flagsAndreas Gruenbacher1-8/+7
2015-05-21evm: fix potential race when removing xattrsDmitry Kasatkin1-5/+5
2014-11-19new helper: audit_file()Al Viro1-10/+6
2014-10-12vfs: Deduplicate code shared by xattr system calls operating on pathsEric Biggers1-77/+39
2014-07-23simple_xattr: permit 0-size extended attributesHugh Dickins1-1/+1
2012-12-20vfs: make lremovexattr retry once on ESTALE errorJeff Layton1-2/+7
2012-12-20vfs: make removexattr retry once on ESTALEJeff Layton1-2/+7
2012-12-20vfs: make llistxattr retry once on ESTALE errorJeff Layton1-2/+7
2012-12-20vfs: make listxattr retry once on ESTALE errorJeff Layton1-2/+7
2012-12-20vfs: make lgetxattr retry once on ESTALEJeff Layton1-2/+7
2012-12-20vfs: make getxattr retry once on an ESTALE errorJeff Layton1-2/+7
2012-12-20vfs: allow lsetxattr() to retry once on ESTALE errorsJeff Layton1-2/+7
2012-12-20vfs: allow setxattr to retry once on ESTALE errorsJeff Layton1-2/+7
2012-10-18fs, xattr: fix bug when removing a name not in xattr listDavid Rientjes1-1/+1
2012-10-12audit: set the name_len in audit_inode for parent lookupsJeff Layton1-4/+4
2012-10-02Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-2/+4
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-30/+22
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-0/+7
2012-09-26switch simple cases of fget_light to fdgetAl Viro1-30/+22
2012-09-18userns: Convert vfs posix_acl support to use kuids and kgidsEric W. Biederman1-0/+7
2012-09-13xattr: mark variable as uninitialized to make both gcc and smatch happyAristeu Rozanski1-1/+1
2012-09-13fs: add missing documentation to simple_xattr functionsAristeu Rozanski1-2/+16
2012-09-07vfs: extend vfs_removexattr lockingMimi Zohar1-2/+4
2012-08-24xattr: extract simple_xattr code from tmpfsAristeu Rozanski1-0/+166
2012-07-30fs/xattr.c:getxattr(): improve handling of allocation failuresSasha Levin1-4/+12
2012-05-29switch xattr syscalls to fget_light/fput_lightAl Viro1-8/+12
2012-04-05fs/xattr.c:setxattr(): improve handling of allocation failuresAndrew Morton1-4/+17
2012-04-05fs/xattr.c:listxattr(): fall back to vmalloc() if kmalloc() failedAndrew Morton1-4/+13
2012-04-05fs/xattr.c: suppress page allocation failure warnings from sys_listxattr()Dave Jones1-1/+1
2012-02-28fs: reduce the use of module.h wherever possiblePaul Gortmaker1-1/+1
2012-01-03vfs: mnt_drop_write_file()Al Viro1-2/+2
2011-07-18evm: evm_inode_post_removexattrMimi Zohar1-1/+4
2011-07-18xattr: define vfs_getxattr_alloc and vfs_xattr_cmpMimi Zohar1-0/+58
2011-05-28Cache xattr security drop check for write v2Andi Kleen1-2/+5
2011-05-27xattr: Fix error results for non-existent / invisible attributesAndreas Gruenbacher1-6/+10
2011-04-21vfs: Pass setxattr(2) flags properlyJan Kara1-1/+1
2011-03-23userns: rename is_owner_or_cap to inode_owner_or_capableSerge E. Hallyn1-1/+1
2010-05-21fs: xattr_handler table should be constStephen Hemminger1-7/+7
2009-12-16sanitize xattr handler prototypesChristoph Hellwig1-14/+14
2009-09-10VFS: Factor out part of vfs_setxattr so it can be called from the SELinux hoo...David P. Quigley1-13/+42
2009-06-11fs: introduce mnt_clone_writenpiggin@suse.de1-2/+2
2009-04-20xattr: use memdup_user()Li Zefan1-7/+3
2009-01-14[CVE-2009-0029] System call wrappers part 13Heiko Carstens1-4/+3
2009-01-14[CVE-2009-0029] System call wrappers part 12Heiko Carstens1-25/+21
2009-01-14[CVE-2009-0029] Convert all system calls to return a longHeiko Carstens1-6/+6
2009-01-05inode->i_op is never NULLAl Viro1-1/+1
2008-07-26[PATCH] sanitize __user_walk_fd() et.al.Al Viro1-48/+48
2008-07-26[PATCH] kill nameidata passing to permission(), rename to inode_permission()Al Viro1-1/+1
2008-04-29xattr: add missing consts to function argumentsDavid Howells1-20/+21
2008-04-23[PATCH] remove unused label in xattr.c (noise from ro-bind)Al Viro1-1/+0
2008-04-19[PATCH] r/o bind mounts: elevate write count for xattr_permission() callersDave Hansen1-8/+32
2008-02-14Introduce path_put()Jan Blunck1-8/+8
2008-02-14Embed a struct path into struct nameidata instead of nd->{dentry,mnt}Jan Blunck1-8/+8
2008-02-05VFS: Reorder vfs_getxattr to avoid unnecessary calls to the LSMDavid P. Quigley1-7/+8
2008-02-05VFS/Security: Rework inode_getsecurity and callers to return resulting bufferDavid P. Quigley1-2/+28
2007-10-21[PATCH] pass dentry to audit_inode()/audit_inode_child()Al Viro1-4/+4
2007-07-17Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid checkSatyam Sharma1-2/+1
2007-05-11[PATCH] audit inode for all xattr syscallsAmy Griffis1-0/+2
2007-05-08header cleaning: don't include smp_lock.h when not usedRandy Dunlap1-1/+0
2006-12-08[PATCH] VFS: change struct file to use struct pathJosef "Jeff" Sipek1-4/+4
2006-11-03[PATCH] Fix user.* xattr permission check for sticky dirsAndreas Gruenbacher1-3/+10
2006-10-09[PATCH] Introduce vfs_listxattrBill Nottingham1-12/+21
2006-06-20[PATCH] log more info for directory entry change eventsAmy Griffis1-2/+2
2006-03-20[PATCH] Collect more inode information during syscall processing.Amy Griffis1-2/+9
2006-01-10[PATCH] move xattr permission checks into the VFSakpm@osdl.org1-4/+57
2006-01-10[PATCH] add vfs_* helpers for xattr operationsChristoph Hellwig1-53/+93
2006-01-09[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_semJes Sorensen1-4/+4
2005-12-12[PATCH] Fix listxattr() for generic security attributesDaniel Drake1-1/+1
2005-11-07[PATCH] kfree cleanup: fsJesper Juhl1-6/+3
2005-10-30[PATCH] SELinux: canonicalize getxattr()James Morris1-5/+9
2005-09-07[PATCH] fsnotify: hook on removexattr, tooRobert Love1-0/+2
2005-09-05[PATCH] Generic VFS fallback for security xattrsStephen Smalley1-31/+49
2005-07-12[PATCH] inotifyRobert Love1-1/+4
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+480