/proc is a pseudo-filesystem that contains information about all processes currently running on the system.
proc /proc proc nosuid,nodev,noexec,hidepid=2,gid=proc 0 0
systemd-logind still needs to see other users' processes, so for user sessions to work correctly on a systemd system, you must create /etc/systemd/system/systemd-logind.service.d/hidepid.conf and add:
[Service] SupplementaryGroups=proc