summary refs log tree commit diff stats
path: root/hw/i2c/omap_i2c.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2016-11-01 12:00:40 +0100
committerGreg Kurz <groug@kaod.org>2016-11-01 12:03:02 +0100
commit3b79ef2cf48805dc693a8b0c82e05e0abeaa64f8 (patch)
tree9c45ece6eeec3315250fd1e11bfc00d790c53956 /hw/i2c/omap_i2c.c
parent7e55d65c56a03dcd2c5d7c49d37c5a74b55d4bd6 (diff)
downloadfocaccia-qemu-3b79ef2cf48805dc693a8b0c82e05e0abeaa64f8.tar.gz
focaccia-qemu-3b79ef2cf48805dc693a8b0c82e05e0abeaa64f8.zip
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>
Diffstat (limited to 'hw/i2c/omap_i2c.c')
0 files changed, 0 insertions, 0 deletions