Sometimes when OS is running out of swap, swap pager can kill important processes like inetd, sshd, etc. This patch adds '-i' (means "immortal") option to inetd, which, when specified, will set P_PROTECTED flag for inetd process, preventing swap pager to kill inetd. This will allow at least to login to the affected machine (via telnet or ssh if sshd is started from inetd) and fix the issue. This patch was made against inetd found in 7.2-STABLE.
State Changed From-To: open->closed attilio added this functionality to inetd (and other important daemons) in rev 199804.