summaryrefslogtreecommitdiff
path: root/bsp/libwrap/sys/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/libwrap/sys/stat.c')
-rw-r--r--bsp/libwrap/sys/stat.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/bsp/libwrap/sys/stat.c b/bsp/libwrap/sys/stat.c
new file mode 100644
index 0000000..1ccc2f4
--- /dev/null
+++ b/bsp/libwrap/sys/stat.c
@@ -0,0 +1,10 @@
+/* See LICENSE of license details. */
+
+#include <errno.h>
+#include <sys/stat.h>
+#include "stub.h"
+
+int __wrap_stat(const char* file, struct stat* st)
+{
+ return _stub(EACCES);
+}