commit | e7a93f5c1aa8d6bf7e7ea3182213875411764326 | [log] [tgz] |
---|---|---|
author | Xiao Yang <yangx.jy@cn.fujitsu.com> | Fri Feb 19 12:55:45 2016 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Wed Feb 24 14:53:57 2016 +0100 |
tree | 7cd984589f6b42a8e2b74d4e1d452d2904d7d56d | |
parent | e9abc416b9a1a02c7748d7d2a550b56281de2e9a [diff] |
llistxattr/llistxattr02.c: add new testcase 1) llistxattr(2) fails if the size of the list buffer is too small to hold the result and set errno to ERANGE. 2) llistxattr(2) fails if path is an empty string and set errno to ENOENT. 3) llistxattr(2) fails when attempted to read from a invalid address and set set errno to EFAULT. Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>