From 5b15639003a267b8254ae597a0b8bfefe36ced7b Mon Sep 17 00:00:00 2001 From: Michael Tokarev Date: Fri, 1 Sep 2023 13:12:57 +0300 Subject: os-posix.c: create and export os_set_chroot() Signed-off-by: Michael Tokarev Reviewed-by: Eric Blake Message-ID: <20230901101302.3618955-4-mjt@tls.msk.ru> Signed-off-by: Paolo Bonzini --- include/sysemu/os-posix.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sysemu/os-posix.h') diff --git a/include/sysemu/os-posix.h b/include/sysemu/os-posix.h index d32630f..8a66763 100644 --- a/include/sysemu/os-posix.h +++ b/include/sysemu/os-posix.h @@ -51,6 +51,7 @@ int os_set_daemonize(bool d); bool is_daemonized(void); void os_daemonize(void); bool os_set_runas(const char *optarg); +void os_set_chroot(const char *optarg); void os_setup_post(void); int os_mlock(void); -- cgit v1.1