X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2Fsupport_aux.c;h=0be48592be88099fe6009644d63f5c471b0a9a8f;hb=6d6d9f59a2e6fe3b9e5b3563efcf0124bea4a672;hp=51251e73b924b62e355ea21febaca6fa4aac7800;hpb=b0b715081de3e55b4d60b18a277b73ebaedd4a6f;p=nestedvm.git diff --git a/src/org/ibex/nestedvm/support_aux.c b/src/org/ibex/nestedvm/support_aux.c index 51251e7..0be4859 100644 --- a/src/org/ibex/nestedvm/support_aux.c +++ b/src/org/ibex/nestedvm/support_aux.c @@ -12,6 +12,10 @@ #include #include #include +#include +#include +#include +#include #include @@ -517,6 +521,11 @@ int vasprintf(char **ret, const char *fmt, va_list ap) { } } +// FIXME: This needs to be in a header +char *getlogin() { + return getenv("USER"); +} + /* * Other People's Code