rdmsr from userspace

2008-05-17 Thread Andriy Gapon
It seems that rdmsr instruction can be executed only at the highest privilege level and thus is not permitted from userland. Maybe we should provide something like Linux /dev/cpu/msr? I don't like interface of that device, I think that ioctl approach would be preferable in this case.

Debugging rtld

2008-05-17 Thread Jeremie Le Hen
Hi there, I tried to compile my source tree with -fstack-protector-all, and it happens that rtld breaks with this: once the new rtld is installed every single problem coredumps. I tried to compile rtld-elf without SSP, but it didn't solve the problem. Then I had to compile libc_pic.a without

Re: rdmsr from userspace

2008-05-17 Thread Kostik Belousov
On Sat, May 17, 2008 at 11:13:52AM +0300, Andriy Gapon wrote: It seems that rdmsr instruction can be executed only at the highest privilege level and thus is not permitted from userland. Maybe we should provide something like Linux /dev/cpu/msr? I don't like interface of that device, I

Re: Debugging rtld

2008-05-17 Thread Kostik Belousov
On Sat, May 17, 2008 at 11:17:40AM +0200, Jeremie Le Hen wrote: Hi there, I tried to compile my source tree with -fstack-protector-all, and it happens that rtld breaks with this: once the new rtld is installed every single problem coredumps. I tried to compile rtld-elf without SSP, but it

Re: rdmsr from userspace

2008-05-17 Thread Andriy Gapon
on 17/05/2008 13:12 Kostik Belousov said the following: On Sat, May 17, 2008 at 11:13:52AM +0300, Andriy Gapon wrote: It seems that rdmsr instruction can be executed only at the highest privilege level and thus is not permitted from userland. Maybe we should provide something like Linux

Re: Debugging rtld

2008-05-17 Thread Tim Kientzle
I tried to compile my source tree with -fstack-protector-all, and it happens that rtld breaks with this ... I usually add the CFLAGS+=-g to the rtld-elf/Makefile. Also, you do not need to bring down the whole host by the broken ld.so.1. Do not install it at all, and specify the path to the rtld

Re: GSoC Student

2008-05-17 Thread Tim Kientzle
Sounds interesting. I'm looking forward to hearing more about your work. Cheers, Tim Kientzle Victor Hugo Bilouro wrote: Hi, I'm Victor Hugo *Bilouro*, GSoC participant. I'll be working on tcptest. It's name came from TCP/IP Regression test suite. As a testing tool it can: *be a

Re: rdmsr from userspace

2008-05-17 Thread Rui Paulo
Andriy Gapon wrote: It seems that rdmsr instruction can be executed only at the highest privilege level and thus is not permitted from userland. Maybe we should provide something like Linux /dev/cpu/msr? I don't like interface of that device, I think that ioctl approach would be preferable

Re: rdmsr from userspace

2008-05-17 Thread Andriy Gapon
on 17/05/2008 18:37 Rui Paulo said the following: Andriy Gapon wrote: It seems that rdmsr instruction can be executed only at the highest privilege level and thus is not permitted from userland. Maybe we should provide something like Linux /dev/cpu/msr? I don't like interface of that device,

Re: rdmsr from userspace

2008-05-17 Thread Rui Paulo
Andriy Gapon wrote: on 17/05/2008 18:37 Rui Paulo said the following: Andriy Gapon wrote: It seems that rdmsr instruction can be executed only at the highest privilege level and thus is not permitted from userland. Maybe we should provide something like Linux /dev/cpu/msr? I don't like

Re: rdmsr from userspace

2008-05-17 Thread Mike Meyer
On Sat, 17 May 2008 11:13:52 +0300 Andriy Gapon [EMAIL PROTECTED] wrote: It seems that rdmsr instruction can be executed only at the highest privilege level and thus is not permitted from userland. Maybe we should provide something like Linux /dev/cpu/msr? I don't like interface of that

Re: rdmsr from userspace

2008-05-17 Thread Mike Meyer
On Sat, 17 May 2008 18:26:01 +0100 Rui Paulo [EMAIL PROTECTED] wrote: Andriy Gapon wrote: on 17/05/2008 18:37 Rui Paulo said the following: Andriy Gapon wrote: It seems that rdmsr instruction can be executed only at the highest privilege level and thus is not permitted from userland.

Re: Debugging rtld

2008-05-17 Thread Jeremie Le Hen
Hi, On Sat, May 17, 2008 at 01:26:53PM +0300, Kostik Belousov wrote: On Sat, May 17, 2008 at 11:17:40AM +0200, Jeremie Le Hen wrote: I tried to compile my source tree with -fstack-protector-all, and it happens that rtld breaks with this: once the new rtld is installed every single problem

Re: Debugging rtld

2008-05-17 Thread Kostik Belousov
On Sat, May 17, 2008 at 07:35:25PM +0200, Jeremie Le Hen wrote: Hi, On Sat, May 17, 2008 at 01:26:53PM +0300, Kostik Belousov wrote: On Sat, May 17, 2008 at 11:17:40AM +0200, Jeremie Le Hen wrote: I tried to compile my source tree with -fstack-protector-all, and it happens that rtld

Re: rdmsr from userspace

2008-05-17 Thread Kostik Belousov
On Sat, May 17, 2008 at 06:26:01PM +0100, Rui Paulo wrote: Andriy Gapon wrote: on 17/05/2008 18:37 Rui Paulo said the following: Andriy Gapon wrote: It seems that rdmsr instruction can be executed only at the highest privilege level and thus is not permitted from userland. Maybe we

Re: do not work nested unnamed anchor

2008-05-17 Thread Jeremie Le Hen
Hi Igor, On Fri, May 09, 2008 at 04:55:23PM +0400, Igor A. Valcov wrote: Hello. For example: pf.conf ext_if=xl0 ip_world=nn.nn.nn.nn # Filter rules block log all anchor in on $ext_if { pass quick proto tcp to $ip_world port 22 keep state # SSH