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
| ||
|
Message-ID: <alpine.DEB.1.10.1009051432540.13886@red.crap.retrofitta.se> Date: Sun, 5 Sep 2010 14:52:48 +0200 (CEST) From: Thomas Habets <thomas@...ets.pp.se> To: netdev <netdev@...r.kernel.org> Subject: [PATCH] iputils ping,ping6: use sig_atomic_t for flags set by signal handlers Required by ISO C99 7.14.1.1 paragraph 5. diff --git a/ping_common.c b/ping_common.c index 82320b1..e0edf39 100644 --- a/ping_common.c +++ b/ping_common.c @@ -27,8 +27,8 @@ int preload; int deadline = 0; /* time to die */ int lingertime = MAXWAIT*1000; struct timeval start_time, cur_time; -volatile int exiting; -volatile int status_snapshot; +volatile sig_atomic_t exiting; +volatile sig_atomic_t status_snapshot; int confirm = 0; /* Stupid workarounds for bugs/missing functionality in older linuces. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists