From 7f4b3c5ea39957231839421f2d3a65f5a18e4083 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 27 Oct 2015 00:07:27 +0100 Subject: util-lib: move running_in_chroot() into virt.[ch] It's a very weak kind of virtualization, after all. --- src/basic/virt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/basic/virt.h') diff --git a/src/basic/virt.h b/src/basic/virt.h index 449e069901..ed83608019 100644 --- a/src/basic/virt.h +++ b/src/basic/virt.h @@ -67,5 +67,7 @@ int detect_vm(void); int detect_container(void); int detect_virtualization(void); +int running_in_chroot(void); + const char *virtualization_to_string(int v) _const_; int virtualization_from_string(const char *s) _pure_; -- cgit v1.2.3