Thread with 16 posts
jump to expanded postso i tested it (https://gist.github.com/hikari-no-yume/ea99e733f6d99cb9b43c5680b3245a51) and apparently modern-ish linux doesn't let you read other processes' memory without root access. but the file permissions suggest i should be able to. is this like a selinux thing or a kernel default or what. ubuntu 20.04 lts btw
tbh if i was making the default config for a server os i would disable /proc/xxx/mem. if you have rce but no privilege escalation there'd be lots of fun you could have with it otherwise
@hikari disabling proc self mem would also fix the one unfixable safety issue in Rust ;)
@saagar i agree, i have some complaints but overall i think โsystem integrity protectionโ and related things are quite well-designed
@saagar could you tell me more about what the hell that is
@hikari possibly related, there are some settings for turning off ptrace() that ubuntu enables by default, so maybe they did lock down all methods of leaking memory contents between processes running as the same non root user?