From 1e4881bf14a3bf5dad56da304401d9d70923a0ac Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Sat, 16 Apr 2011 01:11:11 +0200
Subject: [PATCH 266/396] stubs.c: add openat* stubs

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
---
 libc/sysdeps/linux/common/stubs.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c
index 8ac5b9e..dbe388e 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -445,4 +445,11 @@ make_ret_stub(posix_fadvise)
 make_ret_stub(posix_fadvise64)
 #endif
 
+#ifndef __NR_openat
+make_stub(openat)
+# ifdef __UCLIBC_HAS_LFS__
+make_stub(openat64)
+# endif
+#endif
+
 #endif
-- 
1.7.0.4

