--- src/lib/libast/misc/fs3d.c +++ src/lib/libast/misc/fs3d.c 2007-09-13 18:28:57.279134727 +0200 @@ -47,7 +47,8 @@ /* * get the current setting */ - + if (getenv("LD_PRELOAD") == (char*)0) + goto nope; if (!fsview && mount("", "", 0, NiL)) goto nope; if (FS3D_op(op) == FS3D_OP_INIT && mount(FS3D_init, NiL, FS3D_VIEW, NiL)) --- src/lib/libast/include/fs3d.h +++ src/lib/libast/include/fs3d.h 2007-09-13 18:28:57.279134727 +0200 @@ -95,7 +95,13 @@ #define FS3D_SIZE(n) ((n)<<4) #define FS3D_SIZEOF(n) ((n)>>4) +#if _sys_mount && defined(__linux__) +#include +#define mount(source,target,flags,data) \ + mount((source),(target),"",(flags),(data)) +#else extern int mount(const char*, char*, int, void*); +#endif #if _BLD_ast && defined(__EXPORT__) #define extern __EXPORT__