comparison dbutil.c @ 429:ce14fab86732 channel-fix

propagate from branch 'au.asn.ucc.matt.dropbear' (head 6cb7793493d92968e09b5dea21d71ded5811d21f) to branch 'au.asn.ucc.matt.dropbear.channel-fix' (head 275bf5c6b71ca286c29733b9e38bac40eeb06a40)
author Matt Johnston <matt@ucc.asn.au>
date Mon, 12 Feb 2007 13:38:18 +0000
parents 1afa503e33f5
children c216212001fc
comparison
equal deleted inserted replaced
428:fd1f05639ed4 429:ce14fab86732
691 dropbear_exit("Couldn't set nonblocking"); 691 dropbear_exit("Couldn't set nonblocking");
692 } 692 }
693 } 693 }
694 TRACE(("leave setnonblocking")) 694 TRACE(("leave setnonblocking"))
695 } 695 }
696
697 void disallow_core() {
698 struct rlimit lim;
699 lim.rlim_cur = lim.rlim_max = 0;
700 setrlimit(RLIMIT_CORE, &lim);
701 }