nvwa/0003-nvwa-move-socket-from-tmp-to-run.patch
anatasluo 3299128568 add necessary patches from version 0.2
Including following update:
1. do kexec load before criu dump
2. move nvwa socket from tmp to run
3. kexec add x
4. move pin tool from tools to tools/pin

Signed-off-by: anatasluo <luolongjuna@gmail.com>
2021-07-31 14:26:48 +08:00

27 lines
611 B
Diff

From 08ece5f9af894e245d274fff55d75730504db069 Mon Sep 17 00:00:00 2001
From: anatasluo <luolongjuna@gmail.com>
Date: Thu, 25 Mar 2021 16:55:50 +0800
Subject: [PATCH 09/20] nvwa: move socket from /tmp to /run
Signed-off-by: anatasluo <luolongjuna@gmail.com>
---
src/main.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.go b/src/main.go
index 3845a63..d139f78 100644
--- a/src/main.go
+++ b/src/main.go
@@ -4,7 +4,7 @@ import (
"flag"
)
-var socketPath = "/tmp/nvwa.socket"
+var socketPath = "/run/nvwa.socket"
func main() {
server := flag.Int("server", 0,
--
2.31.1