Re: 32/64bit KSE issues?

2007-03-31 Thread Andriy Gapon
on 31/03/2007 05:23 Daniel Eischen said the following: On Fri, 30 Mar 2007, David E. Cross wrote: I recently ran into a problem where the 32bit JVM won't run on a 64bit host. I, and at least one other person in -java thinks it has to do with 32 bit KSE on a 64bit kernel (I have a vague

Re: sed -i

2007-03-31 Thread Yar Tikhiy
On Fri, Mar 30, 2007 at 09:21:33PM +0400, Yar Tikhiy wrote: [...] If we've started to delete the pattern space, we should print the text in place of it because `c' is for `change'. BSD and GNU seds have this bug, but Solaris sed doesn't have it. [...] By the way, I found myself w/o a Solaris

Re: Thread local storage not working with -fPIC and shared objects

2007-03-31 Thread Alexander Kabaev
On Sat, 31 Mar 2007 04:26:23 +0200 Pieter de Goeje [EMAIL PROTECTED] wrote: Hello List, I have these files: --- loader.cpp --- #include stdio.h #include tls.h int main() { tls = 0; printf(%d\n, tls); } --- tls.cpp --- #include tls.h int __thread tls; --- tls.h

Re: 32/64bit KSE issues?

2007-03-31 Thread Julian Elischer
David E. Cross wrote: I recently ran into a problem where the 32bit JVM won't run on a 64bit host. I, and at least one other person in -java thinks it has to do with 32 bit KSE on a 64bit kernel (I have a vague memory on this somewheres WAY back). Is this still the issue? Could someone

Re: 32/64bit KSE issues?

2007-03-31 Thread John Baldwin
On Saturday 31 March 2007 03:16, Andriy Gapon wrote: on 31/03/2007 05:23 Daniel Eischen said the following: On Fri, 30 Mar 2007, David E. Cross wrote: I recently ran into a problem where the 32bit JVM won't run on a 64bit host. I, and at least one other person in -java thinks it has

Re: sed -i

2007-03-31 Thread Giorgos Keramidas
On 2007-03-31 15:02, Yar Tikhiy [EMAIL PROTECTED] wrote: On Fri, Mar 30, 2007 at 09:21:33PM +0400, Yar Tikhiy wrote: [...] If we've started to delete the pattern space, we should print the text in place of it because `c' is for `change'. BSD and GNU seds have this bug, but Solaris sed doesn't

Re: 32/64bit KSE issues?

2007-03-31 Thread Daniel Eischen
On Sat, 31 Mar 2007, John Baldwin wrote: On Saturday 31 March 2007 03:16, Andriy Gapon wrote: on 31/03/2007 05:23 Daniel Eischen said the following: On Fri, 30 Mar 2007, David E. Cross wrote: I recently ran into a problem where the 32bit JVM won't run on a 64bit host. I, and at least one

Deny system call using ptrace

2007-03-31 Thread Stanislav Ochotnicky
Hi, I'm trying to create sort of user-space access control system based on allowing/denying syscalls. I was able (after a few problems) to start ptracing program, stop at every enter/exit from system call, inspect arguments etc. What I'm however trying to do, is denying access to syscalls. In

Re: Thread local storage not working with -fPIC and shared objects

2007-03-31 Thread Pieter de Goeje
On zaterdag 31 maart 2007, Alexander Kabaev wrote: There is no reason whatsoever to compile main binary code with -f[pP]ic. Executables are not shared libraries and stuffing position independent code into them makes no sense. You are right ofcourse. However it doesn't explain why it won't work.

Re: Thread local storage not working with -fPIC and shared objects

2007-03-31 Thread Pieter de Goeje
On zaterdag 31 maart 2007, Garrett Cooper wrote: Pieter de Goeje wrote: Hello List, I have these files: --- loader.cpp --- #include stdio.h #include tls.h int main() { tls = 0; printf(%d\n, tls); } --- tls.cpp --- #include tls.h int __thread tls;