From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/klibc/files: klibc-2.0.2-mkfifo.patch |
Date: | Thu, 26 Dec 2013 21:52:45 |
Message-Id: | 20131226215239.9756F2004C@flycatcher.gentoo.org |
1 | robbat2 13/12/26 21:52:39 |
2 | |
3 | Added: klibc-2.0.2-mkfifo.patch |
4 | Log: |
5 | Version bump; also improve the nostdlib fix originally introduced in bug #103437, to hopefully fix splashutils stack-protect/pie problems in bugs #473512, #491512. |
6 | |
7 | (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: klibc-2.0.2-mkfifo.patch |
16 | =================================================================== |
17 | diff -Nuar --exclude '*.g' --exclude '*.cmd' klibc-2.0.2-r1/work/klibc-2.0.2/usr/utils/mkfifo.c klibc-2.0.2.orig/work/klibc-2.0.2/usr/utils/mkfifo.c |
18 | --- klibc-2.0.2-r1/work/klibc-2.0.2/usr/utils/mkfifo.c 2012-10-03 09:41:43.000000000 -0700 |
19 | +++ klibc-2.0.2.orig/work/klibc-2.0.2/usr/utils/mkfifo.c 2013-12-26 13:19:34.270949780 -0800 |
20 | @@ -13,6 +13,11 @@ |
21 | |
22 | char *progname; |
23 | |
24 | +int mkfifo (const char *__p, mode_t __m) |
25 | +{ |
26 | + return mknod(__p, (__m & ~S_IFMT) | S_IFIFO, (dev_t) 0); |
27 | +} |
28 | + |
29 | static int make_fifo(char *dir) |
30 | { |
31 | if (mkfifo(dir, leaf_mode)) { |