]> code.ossystems Code Review - openembedded-core.git/commit
e2fsprogs: the max length of debugfs argument is too short
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 18 Jul 2013 09:50:50 +0000 (17:50 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Aug 2013 10:42:11 +0000 (11:42 +0100)
commita916a127768291ca7c614976e05c90153fec2956
tree3192b2f062b2ba88f3ab980c3d72974876873c29
parenta598242197312fa6d43179c283da2d0873de2919
e2fsprogs: the max length of debugfs argument is too short

The max length of debugfs argument is 256 which is too short, the
arguments are two paths, the PATH_MAX is 4096 according to
/usr/include/linux/limits.h, so use BUFSIZ (which is 8192 on Linux
systems), that's also what the ss library uses.

This patch has been reviewed by the linux-ext4 mailing list, but isn't
merged atm.

[YOCTO #3848]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/debugfs-too-short.patch [new file with mode: 0644]
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb