summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-replace-siginterrupt.patch
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-02-27 00:45:48 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-28 12:27:46 +0000
commit79e8d533eec5dc0b1831bd4c6e4959401c7f1fcb (patch)
tree6253b2390a781ad4e84a50108ca158b553890c4c /meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-replace-siginterrupt.patch
parentef461c4a2a3e056adc875662f3c26f2cb4b9f161 (diff)
downloadpoky-79e8d533eec5dc0b1831bd4c6e4959401c7f1fcb.tar.gz
util-linux: Update to 2.21
This updates various checksums for the COPYING files, which moved in the process no changes to Licenses Tweak the scanf_cv_alloc_modifier and rebase the patch (From OE-Core rev: 9cb35b41c803bd0d1904b2dc0e14624fa7ea6e95) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-replace-siginterrupt.patch')
-rw-r--r--meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-replace-siginterrupt.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-replace-siginterrupt.patch b/meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-replace-siginterrupt.patch
deleted file mode 100644
index c5c0affcb8..0000000000
--- a/meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-replace-siginterrupt.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1Upstream-Status: Pending
2
3Index: util-linux-ng-2.14/login-utils/login.c
4===================================================================
5--- util-linux-ng-2.14.orig/login-utils/login.c 2008-05-28 16:01:02.000000000 -0700
6+++ util-linux-ng-2.14/login-utils/login.c 2009-03-04 18:31:42.000000000 -0800
7@@ -358,6 +358,7 @@
8 char *childArgv[10];
9 char *buff;
10 int childArgc = 0;
11+ struct sigaction act;
12 #ifdef HAVE_SECURITY_PAM_MISC_H
13 int retcode;
14 pam_handle_t *pamh = NULL;
15@@ -373,7 +374,9 @@
16 pid = getpid();
17
18 signal(SIGALRM, timedout);
19- siginterrupt(SIGALRM,1); /* we have to interrupt syscalls like ioclt() */
20+ (void) sigaction(SIGALRM, NULL, &act);
21+ act.sa_flags &= ~SA_RESTART;
22+ sigaction(SIGALRM, &act, NULL);
23 alarm((unsigned int)timeout);
24 signal(SIGQUIT, SIG_IGN);
25 signal(SIGINT, SIG_IGN);