diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-12-13 04:47:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-16 12:12:18 +0000 |
commit | 63bdadccb662fcae52ec9ddb7f6e43b454dd1d1c (patch) | |
tree | 4f2b9729e6000c6dd1bd4eaa9ee967c928302988 /meta/recipes-core/uclibc/uclibc-git/0001-wire-in-syncfs.patch | |
parent | 0b5cdddfc010f3641a13c284ad9ed61401055e3a (diff) | |
download | poky-63bdadccb662fcae52ec9ddb7f6e43b454dd1d1c.tar.gz |
uclibc: Switch to using uclibc-ng
uclibc-ng is a maintained fork of uclibc project. Lets switch to using that
add patches to fix memory leak in canonicalize_file_name-memory
(From OE-Core rev: 6a4996395f56836195f5ba10a554ba04eb304c13)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/0001-wire-in-syncfs.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/0001-wire-in-syncfs.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/0001-wire-in-syncfs.patch b/meta/recipes-core/uclibc/uclibc-git/0001-wire-in-syncfs.patch deleted file mode 100644 index 079ad6b3b4..0000000000 --- a/meta/recipes-core/uclibc/uclibc-git/0001-wire-in-syncfs.patch +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | From 4f2db1b46bda5e376245ec36198b137709f069e8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 15 Oct 2015 17:03:37 +0000 | ||
4 | Subject: [PATCH] wire in syncfs | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | Upstream-Status: Pending | ||
9 | |||
10 | include/unistd.h | 2 +- | ||
11 | libc/sysdeps/linux/common/syncfs.c | 13 +++++++++++++ | ||
12 | 2 files changed, 14 insertions(+), 1 deletion(-) | ||
13 | create mode 100644 libc/sysdeps/linux/common/syncfs.c | ||
14 | |||
15 | diff --git a/include/unistd.h b/include/unistd.h | ||
16 | index 3793d2d..d01bb08 100644 | ||
17 | --- a/include/unistd.h | ||
18 | +++ b/include/unistd.h | ||
19 | @@ -1073,7 +1073,7 @@ extern char *getpass (const char *__prompt) __nonnull ((1)); | ||
20 | extern int fsync (int __fd); | ||
21 | #endif /* Use BSD || X/Open || Unix98. */ | ||
22 | |||
23 | -#if 0 /*def __USE_GNU */ | ||
24 | +#ifdef __USE_GNU | ||
25 | /* Make all changes done to all files on the file system associated | ||
26 | * with FD actually appear on disk. */ | ||
27 | extern int syncfs (int __fd) __THROW; | ||
28 | diff --git a/libc/sysdeps/linux/common/syncfs.c b/libc/sysdeps/linux/common/syncfs.c | ||
29 | new file mode 100644 | ||
30 | index 0000000..d2eed05 | ||
31 | --- /dev/null | ||
32 | +++ b/libc/sysdeps/linux/common/syncfs.c | ||
33 | @@ -0,0 +1,13 @@ | ||
34 | +/* vi: set sw=4 ts=4: */ | ||
35 | +/* | ||
36 | + * fsync() for uClibc | ||
37 | + * | ||
38 | + * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> | ||
39 | + * | ||
40 | + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. | ||
41 | + */ | ||
42 | + | ||
43 | +#include <sys/syscall.h> | ||
44 | +#include <unistd.h> | ||
45 | + | ||
46 | +_syscall1(int, syncfs, int, fd) | ||
47 | -- | ||
48 | 2.6.1 | ||
49 | |||