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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240518223946.22032-1-ismael@iodev.co.uk>
Date: Sun, 19 May 2024 00:39:44 +0200
From: Ismael Luceno <ismael@...ev.co.uk>
To: netdev@...r.kernel.org
Cc: Stephen Hemminger <stephen@...workplumber.org>,
	Ismael Luceno <ismael@...ev.co.uk>
Subject: [iproute2 PATCH] Fix usage of poll.h header

Change the legacy <sys/poll.h> to <poll.h> (POSIX.1-2001).

Signed-off-by: Ismael Luceno <ismael@...ev.co.uk>
---
 misc/arpd.c   | 2 +-
 misc/ifstat.c | 2 +-
 misc/nstat.c  | 2 +-
 misc/rtacct.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/misc/arpd.c b/misc/arpd.c
index 65ac6a3828e6..3185620f7a74 100644
--- a/misc/arpd.c
+++ b/misc/arpd.c
@@ -14,7 +14,7 @@
 #include <netdb.h>
 #include <db_185.h>
 #include <sys/ioctl.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <sys/uio.h>
diff --git a/misc/ifstat.c b/misc/ifstat.c
index 9b93ded32a61..faebe938e598 100644
--- a/misc/ifstat.c
+++ b/misc/ifstat.c
@@ -17,7 +17,7 @@
 #include <sys/file.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <signal.h>
diff --git a/misc/nstat.c b/misc/nstat.c
index 07d010dec35f..fce3e9c1ec79 100644
--- a/misc/nstat.c
+++ b/misc/nstat.c
@@ -17,7 +17,7 @@
 #include <sys/file.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <signal.h>
diff --git a/misc/rtacct.c b/misc/rtacct.c
index 08363bfd4f26..cd84b7f06b9b 100644
--- a/misc/rtacct.c
+++ b/misc/rtacct.c
@@ -16,7 +16,7 @@
 #include <sys/file.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <sys/mman.h>
-- 
2.44.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ