Files
2dust_v2rayN/v2rayN/ServiceLib
hyjhyj111 ee7e21268a Fix TUN core elevation: decide sudo from the config context snapshot (#9830)
CoreManager.RunProcess decided sudo elevation from the live mutable
_config.TunModeItem.EnableTun while the launched config was generated
from the immutable CoreConfigContext snapshot. If the TUN state changed
while a reload was in flight, a core whose config contains a TUN
inbound could launch without elevation and die within the 100ms health
check ("Failed to run core"), with no stderr shown.

The elevation decision now follows context.IsTunEnabled /
preContext.IsTunEnabled, so the generated config and the launch mode
always agree. With legacy TUN protect, the sing-box pre-core hosting
TUN is elevated and the main core no longer runs as root needlessly.
2026-07-26 21:24:11 +08:00
..
2026-07-14 09:05:05 +08:00
2026-07-16 18:55:06 +08:00
2026-07-14 09:05:05 +08:00
2026-07-14 09:05:05 +08:00
2026-07-09 16:25:02 +08:00
2026-07-26 21:07:36 +08:00
2026-07-26 10:29:35 +08:00
2026-07-26 21:07:36 +08:00
2026-07-26 21:07:36 +08:00
2024-08-20 14:15:29 +08:00
2026-07-26 21:07:36 +08:00
2026-07-24 16:57:19 +08:00
2026-07-09 16:25:02 +08:00