lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <AANLkTikuA-H23FH7-WzAu1nsVXb2SxR+tbQ8d8BNdoW+@mail.gmail.com>
Date:	Fri, 5 Nov 2010 17:56:24 -0200
From:	"Lucas C. Villa Real" <lucasvr@...olinux.org>
To:	netdev@...r.kernel.org
Subject: [PATCH] iputils signal mask issue

Hi,

Today we found an issue where arping would get stuck in an endless
loop. The problem was found to be related to the parent process (a
shell script) having had SIGALRM blocked, which is used by arping to
update "count" and to check the "timeout" global.

Since we cannot make assumptions on the signal masks of the
environment it's better to explicitly unblock the signals that the
utility needs before the main loop executes. It's worth noting that
although sigaction() is called to associate a handler to a given
signal, that function doesn't automatically unblock that signal.

A similar problem was noticed on rdisc, so the attached patch also
ensures to unblock the signals that it relies on.

Thanks,
Lucas

Download attachment "02-iputils-SIG_UNBLOCK.patch" of type "application/octet-stream" (1499 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ