diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-02-25 02:55:57 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-27 07:36:32 +0000 |
commit | 7ce7756adfce50ba12be319b1f087f31064376b8 (patch) | |
tree | 7b3711747179173aec5a9f63359f47daeadb7657 /meta/recipes-core/systemd/systemd/systemd-pam-fix-mkostemp.patch | |
parent | 3af8d90203e76dc900ea10e3e81d158203ee96c8 (diff) | |
download | poky-7ce7756adfce50ba12be319b1f087f31064376b8.tar.gz |
systemd: Upgrade 218 -> 219
219 has been in the docks for sometime, the older patch got merged
this patch is now upgrading 218 to 219
Make all patches using git
Change-Id: Ib0350144592aba26cad56c13c9a5522515915c58
(From OE-Core rev: 041570e584b98b580cc75f9ee23372da74a84377)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd/systemd-pam-fix-mkostemp.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/systemd-pam-fix-mkostemp.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-core/systemd/systemd/systemd-pam-fix-mkostemp.patch b/meta/recipes-core/systemd/systemd/systemd-pam-fix-mkostemp.patch deleted file mode 100644 index 8c7aa072da..0000000000 --- a/meta/recipes-core/systemd/systemd/systemd-pam-fix-mkostemp.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | Upstream-Status: Denied [no desire for uclibc support] | ||
2 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
3 | |||
4 | Index: git/src/shared/util.c | ||
5 | =================================================================== | ||
6 | --- git.orig/src/shared/util.c 2014-03-15 15:14:21.368160908 -0700 | ||
7 | +++ git/src/shared/util.c 2014-03-15 15:44:21.988194688 -0700 | ||
8 | @@ -85,6 +85,8 @@ | ||
9 | #include "def.h" | ||
10 | #include "missing.h" | ||
11 | |||
12 | +#include "config.h" | ||
13 | + | ||
14 | int saved_argc = 0; | ||
15 | char **saved_argv = NULL; | ||
16 | |||
17 | @@ -6222,7 +6224,13 @@ | ||
18 | |||
19 | u = umask(077); | ||
20 | |||
21 | +#ifdef HAVE_MKOSTEMP | ||
22 | fd = mkostemp(pattern, flags); | ||
23 | +#else | ||
24 | + fd = mkstemp(pattern); | ||
25 | + if (fd >= 0) fcntl(fd, F_SETFD, flags); | ||
26 | +#endif /* HAVE_MKOSTEMP */ | ||
27 | + | ||
28 | if (fd < 0) | ||
29 | return -errno; | ||
30 | |||