setgid/setuid did not change the permissions of procfs inodes. This made Shell launched by init not appear in meminfo.