From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) From: arisawa In-Reply-To: Date: Sun, 25 Jan 2015 18:04:06 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <4D3BDBE7-5023-4870-89E7-0A84C619941A@ar.aichi-u.ac.jp> References: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] protection against resource exhaustion Topicbox-Message-UUID: 3b613862-ead9-11e9-9d60-3106f5b1d025 thank you, mischief. considering after I have posted previous mail,=20 I have come to think that the script below should fail with error and = stop execution. maia% cat foo #!/bin/rc ./foo maia%=20 current rc does not stop execution. probably not due to protection problem by kernel. there must be a bug in rc. Kenji Arisawa > 2015/01/25 15:16=E3=80=81arisawa = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >=20 >=20 > Hello 9fans >=20 > my mac has a protection below: > -bash$ cat foo > #!/bin/sh > ./foo > -bash$ ./foo > ./foo: fork: Resource temporarily unavailable > -bash$=20 >=20 > on the other hand, Plan 9 does not. > kernel is protected against such programs, however they are not = killed. > therefore no new process can be created. >=20 > does anyone have idea to fix the problem? >=20 > Kenji Arisawa >=20 >=20