mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
28 lines
763 B
Diff
28 lines
763 B
Diff
#DPATCHLEVEL=0
|
|
---
|
|
# linux-user/syscall.c | 11 ++++++++---
|
|
# 1 file changed, 8 insertions(+), 3 deletions(-)
|
|
#
|
|
Index: linux-user/syscall.c
|
|
===================================================================
|
|
--- linux-user/syscall.c.orig 2009-01-05 12:32:37.000000000 +0000
|
|
+++ linux-user/syscall.c 2009-01-05 12:32:37.000000000 +0000
|
|
@@ -298,6 +298,7 @@
|
|
extern int setfsuid(int);
|
|
extern int setfsgid(int);
|
|
extern int setgroups(int, gid_t *);
|
|
+extern int uselib(const char*);
|
|
|
|
#define ERRNO_TABLE_SIZE 1200
|
|
|
|
@@ -4397,7 +4398,8 @@
|
|
#endif
|
|
#ifdef TARGET_NR_uselib
|
|
case TARGET_NR_uselib:
|
|
- goto unimplemented;
|
|
+ ret = get_errno(uselib(path((const char*)arg1)));
|
|
+ break;
|
|
#endif
|
|
#ifdef TARGET_NR_swapon
|
|
case TARGET_NR_swapon:
|