mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-06 13:05:47 +00:00
Diagnostic: pid mounts key
This commit is contained in:
1 parent
015eface3a
commit
8773a80cd5
1 file changed
+6
-5
@@ -1,17 +1,17 @@
|
||||
From a065859369928d4264160580f98872bbe950dd09 Mon Sep 17 00:00:00 2001
|
||||
From 9fae99545ac85072f8da0fada017e54cdf1d33cc Mon Sep 17 00:00:00 2001
|
||||
From: maxjivi05 <maxjividen@gmail.com>
|
||||
Date: Thu, 3 Dec 2026 03:38:07 -0500
|
||||
Subject: [PATCH] Diagnostic: mounts without hidepid
|
||||
|
||||
---
|
||||
.../EmulatedFiles/EmulatedFiles.cpp | 29 +++++++++++++++++++
|
||||
1 file changed, 29 insertions(+)
|
||||
.../EmulatedFiles/EmulatedFiles.cpp | 30 +++++++++++++++++++
|
||||
1 file changed, 30 insertions(+)
|
||||
|
||||
diff --git a/Source/Tools/LinuxEmulation/LinuxSyscalls/EmulatedFiles/EmulatedFiles.cpp b/Source/Tools/LinuxEmulation/LinuxSyscalls/EmulatedFiles/EmulatedFiles.cpp
|
||||
index 49adaaa..c91fa21 100644
|
||||
index 49adaaa..b091320 100644
|
||||
--- a/Source/Tools/LinuxEmulation/LinuxSyscalls/EmulatedFiles/EmulatedFiles.cpp
|
||||
+++ b/Source/Tools/LinuxEmulation/LinuxSyscalls/EmulatedFiles/EmulatedFiles.cpp
|
||||
@@ -608,6 +608,35 @@ EmulatedFDManager::EmulatedFDManager(FEXCore::Context::Context* ctx)
|
||||
@@ -608,6 +608,36 @@ EmulatedFDManager::EmulatedFDManager(FEXCore::Context::Context* ctx)
|
||||
FDReadCreators[procStatus] = &EmulatedFDManager::ProcStatus;
|
||||
FDReadCreators["/proc/self/status"] = &EmulatedFDManager::ProcStatus;
|
||||
|
||||
@@ -42,6 +42,7 @@ index 49adaaa..c91fa21 100644
|
||||
+ };
|
||||
+ FDReadCreators["/proc/mounts"] = Mounts;
|
||||
+ FDReadCreators["/proc/self/mounts"] = Mounts;
|
||||
+ FDReadCreators[fextl::fmt::format("/proc/{}/mounts", getpid())] = Mounts;
|
||||
+ }
|
||||
+
|
||||
if (ThreadsConfig > 1) {
|
||||
|
||||
Reference in new issue
Block a user