On Sun, 24 Apr 2005 [email protected] wrote:
> When you run the program in attachment, *even as an ordinary user*, the kernel
> panic. Tested kernel is a 2.6.11.7 vanilla with alleged .config. Tested with
Just tried running it on my box here with a 2.6.12-rc2-mm3 kernel and it
survived just fine.
Here's what I did and the output I got :
$ gcc -lpthread ptrace-thread-bug.c
ptrace-thread-bug.c:158:2: warning: no newline at end of file
$ ./a.out
child: pid=5664
child: self sigstopping
father: pid=5663
father: waiting child's selfstopping
father: making child go again under ptrace
father: detaching
father: thread creation
father: waiting for end
thread 16386: attaching
thread 16386: unlocking
father: destroying semaphore
father: all done
thread 16386: unlocking child
$
--
Jesper Juhl
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]