You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-process/psmisc/files/psmisc-23.2-old_comm_len.patch

29 lines
602 B

From e2cf9f3e83e0fc0278ff39a4dfc8e3f2730eebca Mon Sep 17 00:00:00 2001
From: Craig Small <csmall@enc.com.au>
Date: Wed, 7 Nov 2018 20:19:38 +1100
Subject: [PATCH] misc: Remember to add comm.h too
The previous commit should have included comm.h too
---
src/comm.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/comm.h b/src/comm.h
index b54b998..b10eb36 100644
--- a/src/comm.h
+++ b/src/comm.h
@@ -33,4 +33,10 @@
*/
#define COMM_LEN 64
+/*
+ * Older kernels had only 16 characters, which means we may have to check this
+ * too
+ */
+#define OLD_COMM_LEN 16
+
#endif
--
2.18.1