diff options
author | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2023-06-26 13:49:06 +0200 |
---|---|---|
committer | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2023-07-06 11:42:08 +0200 |
commit | 71d72ececa086114df80fe4cc04d701b59002eb2 (patch) | |
tree | 13d1c72b2f6bc3ca59c2ec293107a1e503c0d44c /hw | |
parent | 0618e72d64e434dd6f1bc38b107670474c49fb86 (diff) | |
download | qemu-71d72ececa086114df80fe4cc04d701b59002eb2.zip qemu-71d72ececa086114df80fe4cc04d701b59002eb2.tar.gz qemu-71d72ececa086114df80fe4cc04d701b59002eb2.tar.bz2 |
9pfs: deprecate 'proxy' backend
As recent CVE-2023-2861 (fixed by f6b0de53fb) once again showed, the 9p
'proxy' fs driver is in bad shape. Using the 'proxy' backend was already
discouraged for safety reasons before and we recommended to use the
'local' backend (preferably in conjunction with its 'mapped' security
model) instead, but now it is time to officially deprecate the 'proxy'
backend.
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <E1qDkmw-0007M1-8f@lizzy.crudebyte.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/9pfs/9p-proxy.c | 5 | ||||
-rw-r--r-- | hw/9pfs/9p-proxy.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/hw/9pfs/9p-proxy.c b/hw/9pfs/9p-proxy.c index 99d115f..905cae6 100644 --- a/hw/9pfs/9p-proxy.c +++ b/hw/9pfs/9p-proxy.c @@ -15,6 +15,11 @@ * https://wiki.qemu.org/Documentation/9p */ +/* + * NOTE: The 9p 'proxy' backend is deprecated (since QEMU 8.1) and will be + * removed in a future version of QEMU! + */ + #include "qemu/osdep.h" #include <sys/socket.h> #include <sys/un.h> diff --git a/hw/9pfs/9p-proxy.h b/hw/9pfs/9p-proxy.h index b84301d..9be4718 100644 --- a/hw/9pfs/9p-proxy.h +++ b/hw/9pfs/9p-proxy.h @@ -10,6 +10,11 @@ * the COPYING file in the top-level directory. */ +/* + * NOTE: The 9p 'proxy' backend is deprecated (since QEMU 8.1) and will be + * removed in a future version of QEMU! + */ + #ifndef QEMU_9P_PROXY_H #define QEMU_9P_PROXY_H |