Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-10 | ext2fs: Fix block leak in xattr code. | Justus Winter | |
* ext2fs/xattr.c (ext2_set_xattr): Avoid allocating and leaking a block if the caller tries to delete an extended attribute from a node that has no extended attribute in the first place. | |||
2016-11-10 | ext2fs: Use correct type for sizes. | Justus Winter | |
* ext2fs/ext2fs.h (ext2_{list,get,set}_xattr): Use 'size_t'. * ext2fs/xattr.c (xattr_entry_{list,get,create): Use 'size_t' where appropriate. (ext2_{list,get,set}_xattr): Likewise. | |||
2016-11-10 | ext2fs: Add support for xattr | Shengyu Zhang | |
* ext2fs/Makefile (SRCS): Add xattr.c. * ext2fs/ext2_fs.h: Define EXT2_FEATURE_COMPAT_EXT_ATTR. * ext2fs/ext2fs.h: Add xattr functions. * ext2fs/ialloc.c (diskfs_free_node): Free xattr block. * ext2fs/xattr.c: xattr implement. * ext2fs/xattr.h: Likewise. |