On 05/08/13 00:15, Benjamin Marzinski wrote:
+ sigprocmask(SIG_SETMASK, NULL, &mask);
Not sure this is relevant on Linux, but the POSIX specs require to use pthread_sigmask() in multithreaded programs instead of sigprocmask() (see also http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_sigmask.html). Otherwise this patch looks fine to me.
Bart. -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel