From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xavier Bru Date: Thu, 04 Jul 2002 13:42:05 +0000 Subject: [Linux-ia64] RE: kernel update (relative to 2.4.18) Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org Thanks for your answers. Kernel is compiled with gcc 3.1 (that should explain the problem of missing ex-handler in the bundle). If you need more infos about ltp test suite, you can ask Jacky Malcles(Jacky.Malcles@bull.net). Thanks Xavier ------------------------------------------------------------------ test for Problem 1 (missing EX handler) #include #include #include #include #include main() { int s, sinlen; s = socket(PF_INET, SOCK_STREAM, 0); if (s <0) perror("socket"); getsockname(s, (struct sockaddr *)0, &sinlen); perror("getsockname"); } ------------------------------------------------------------------ test for Problem 2(recursive call to __copy_user) # include # include # include main() { int rc, semid; if ((semid=semget(IPC_PRIVATE, 10, IPC_CREAT | IPC_EXCL | 0600 )) = -1) { perror("semget"); exit(2); } rc=semctl(semid, 0x0, 0xd, 0xffffffffUL); perror("semctl"); } ------------------------------------------------------------------ David Mosberger writes: > Ken, > > >>>>> On Wed, 3 Jul 2002 09:33:35 -0700 , "Chen, Kenneth W" said: > > Ken> Xavier, Wondering if you can extract the test cases out of your > Ken> test suite and send to me? The first one is intended not to > Ken> expand the exception marcro due to instruction bundling issue. > > Note that with gcc3, tags instead of labels are used to delineate > exception regions. Thus, you shouldn't have to worry about bundling > any longer. > > --david Chen, Kenneth W writes: > Xavier, > Wondering if you can extract the test cases out of your test suite and send > to me? The first one is intended not to expand the exception marcro due to > instruction bundling issue. The exception handler suppose to catch the > fault. I would like to see a test case that make it fail. Thanks. > > - Ken