[make-initrd] [PATCH v1 03/11] feature/procacct: Use default rcvbufsz

Alexey Gladkov gladkov.alexey at gmail.com
Thu Jun 15 20:59:12 MSK 2023


Signed-off-by: Alexey Gladkov <gladkov.alexey at gmail.com>
---
 features/debug-procacct/src/procacct.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/features/debug-procacct/src/procacct.c b/features/debug-procacct/src/procacct.c
index cfb4de1f..1e594ae4 100644
--- a/features/debug-procacct/src/procacct.c
+++ b/features/debug-procacct/src/procacct.c
@@ -63,7 +63,7 @@
 #define NLA_PAYLOAD(len)	(len - NLA_HDRLEN)
 
 static pid_t current_pid;
-static int rcvbufsz;
+static int rcvbufsz = MAX_MSG_SIZE * 32;
 static char name[100];
 static int fd_out = 1;
 
-- 
2.33.8



More information about the Make-initrd mailing list