commit | 3b79ef2cf48805dc693a8b0c82e05e0abeaa64f8 | [log] [tgz] |
---|---|---|
author | Greg Kurz <groug@kaod.org> | Tue Nov 01 12:00:40 2016 +0100 |
committer | Greg Kurz <groug@kaod.org> | Tue Nov 01 12:03:02 2016 +0100 |
tree | 9c45ece6eeec3315250fd1e11bfc00d790c53956 | |
parent | 7e55d65c56a03dcd2c5d7c49d37c5a74b55d4bd6 [diff] |
9pfs: limit xattr size in xattrcreate We shouldn't allow guests to create extended attribute with arbitrary sizes. On linux hosts, the limit is XATTR_SIZE_MAX. Let's use it. Signed-off-by: Greg Kurz <groug@kaod.org>