From: Zbigniew Jędrzejewski-Szmek Date: Mon, 25 Nov 2024 13:13:36 +0000 (+0100) Subject: Check inode number to see if we are in init namespace (#35306) X-Git-Tag: v257-rc3~30 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=d293fade24b34ccc2f5716b0ff5513e9533cf0c4;p=systemd%2F.git Check inode number to see if we are in init namespace (#35306) This is a more comprehensive fix compared to #35273. Also adds a minimal test only. Based on Luca's #35273 but generalizes the code a bit. In v258 we really should get rid of the old heuristics around userns and cgroupns detection, but given we are late in the v257 cycle this keeps them in. --- d293fade24b34ccc2f5716b0ff5513e9533cf0c4