diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-02-27 00:45:48 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-28 12:14:49 +0000 |
commit | 9cb35b41c803bd0d1904b2dc0e14624fa7ea6e95 (patch) | |
tree | b2068a791bc4994ec786e4481b443e731d2c4383 /meta/recipes-core/util-linux/util-linux-2.21/remove_sigsetmark.patch | |
parent | 37a8655bd4b781985eb6b4e33f1847e997609f7b (diff) | |
download | openembedded-core-contrib-9cb35b41c803bd0d1904b2dc0e14624fa7ea6e95.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
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux-2.21/remove_sigsetmark.patch')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux-2.21/remove_sigsetmark.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux-2.21/remove_sigsetmark.patch b/meta/recipes-core/util-linux/util-linux-2.21/remove_sigsetmark.patch new file mode 100644 index 0000000000..02e4d16ff7 --- /dev/null +++ b/meta/recipes-core/util-linux/util-linux-2.21/remove_sigsetmark.patch @@ -0,0 +1,35 @@ +simpleinit: remove deprecated sigsetmask() + +The sigsetmask() is deprecated in favor of sigprocmask(). + +This is not needed upstream since simpleinit is removed from +util-linux-ng master + +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +Upstream-Status: Inappropriate + +Index: util-linux-2.19.1/simpleinit/shutdown.c +=================================================================== +--- util-linux-2.19.1.orig/simpleinit/shutdown.c 2011-03-04 03:47:47.000000000 -0800 ++++ util-linux-2.19.1/simpleinit/shutdown.c 2011-07-06 08:43:39.183849752 -0700 +@@ -145,7 +145,7 @@ + { + int c, i, fd; + char *ptr; +- ++ sigset_t sigmask; + i = getdtablesize (); + for (fd = 3; fd < i; fd++) close (fd); + if (getpid () == 1) +@@ -153,7 +153,9 @@ + for (fd = 0; fd < 3; fd++) close (fd); + while (1) wait (NULL); /* Grim reaper never stops */ + } +- sigsetmask (0); /* simpleinit(8) blocks all signals: undo for ALRM */ ++ /* simpleinit(8) blocks all signals: undo for ALRM */ ++ sigemptyset(&sigmask); ++ sigprocmask (SIG_SETMASK, &sigmask, NULL); + for (i = 1; i < NSIG; i++) signal (i, SIG_DFL); + + setlocale(LC_ALL, ""); |