Re: Linux-2.6.11 can't disable CAD

2005-04-08 Thread Richard B. Johnson
It wasn't the kernel. Many thanks to those who helped me track down this problem. It seems that the 'C' runtime library was trapping the call to reboot() which probably should have been _reboot() in earlier code to prevent this. Anyway, the fix is to call the kernel directly so it doesn't get

Re: Linux-2.6.11 can't disable CAD

2005-04-08 Thread Richard B. Johnson
On Fri, 8 Apr 2005, Daniel Jacobowitz wrote: On Thu, Apr 07, 2005 at 04:50:32PM -0400, Richard B. Johnson wrote: On Thu, 7 Apr 2005, Jan Harkes wrote: On Thu, Apr 07, 2005 at 11:16:14AM -0400, Richard B. Johnson wrote: In the not-too distant past, one could disable Ctl-Alt-DEL. Can't do it

Re: Linux-2.6.11 can't disable CAD

2005-04-08 Thread Daniel Jacobowitz
On Thu, Apr 07, 2005 at 04:50:32PM -0400, Richard B. Johnson wrote: > On Thu, 7 Apr 2005, Jan Harkes wrote: > > >On Thu, Apr 07, 2005 at 11:16:14AM -0400, Richard B. Johnson wrote: > >>In the not-too distant past, one could disable Ctl-Alt-DEL. > >>Can't do it anymore. > >... > >>Observe that

Re: Linux-2.6.11 can't disable CAD

2005-04-08 Thread Daniel Jacobowitz
On Thu, Apr 07, 2005 at 04:50:32PM -0400, Richard B. Johnson wrote: On Thu, 7 Apr 2005, Jan Harkes wrote: On Thu, Apr 07, 2005 at 11:16:14AM -0400, Richard B. Johnson wrote: In the not-too distant past, one could disable Ctl-Alt-DEL. Can't do it anymore. ... Observe that reboot() returns 0

Re: Linux-2.6.11 can't disable CAD

2005-04-08 Thread Richard B. Johnson
On Fri, 8 Apr 2005, Daniel Jacobowitz wrote: On Thu, Apr 07, 2005 at 04:50:32PM -0400, Richard B. Johnson wrote: On Thu, 7 Apr 2005, Jan Harkes wrote: On Thu, Apr 07, 2005 at 11:16:14AM -0400, Richard B. Johnson wrote: In the not-too distant past, one could disable Ctl-Alt-DEL. Can't do it

Re: Linux-2.6.11 can't disable CAD

2005-04-08 Thread Richard B. Johnson
It wasn't the kernel. Many thanks to those who helped me track down this problem. It seems that the 'C' runtime library was trapping the call to reboot() which probably should have been _reboot() in earlier code to prevent this. Anyway, the fix is to call the kernel directly so it doesn't get

Re: Linux-2.6.11 can't disable CAD

2005-04-07 Thread Richard B. Johnson
On Thu, 7 Apr 2005, Jan Harkes wrote: On Thu, Apr 07, 2005 at 11:16:14AM -0400, Richard B. Johnson wrote: In the not-too distant past, one could disable Ctl-Alt-DEL. Can't do it anymore. ... Observe that reboot() returns 0 and `strace` understands what parameters were passed. The result is that,

Re: Linux-2.6.11 can't disable CAD

2005-04-07 Thread Richard B. Johnson
On Thu, 7 Apr 2005, Randy.Dunlap wrote: On Thu, 7 Apr 2005 15:46:20 -0400 (EDT) Richard B. Johnson wrote: | On Thu, 7 Apr 2005, Randy.Dunlap wrote: | | > On Thu, 7 Apr 2005 11:16:14 -0400 (EDT) Richard B. Johnson wrote: | > | > | | > | In the not-too distant past, one could disable Ctl-Alt-DEL. |

Re: Linux-2.6.11 can't disable CAD

2005-04-07 Thread Jan Harkes
On Thu, Apr 07, 2005 at 11:16:14AM -0400, Richard B. Johnson wrote: > In the not-too distant past, one could disable Ctl-Alt-DEL. > Can't do it anymore. ... > Observe that reboot() returns 0 and `strace` understands what > parameters were passed. The result is that, if I hit Ctl-Alt-Del, > `init`

Re: Linux-2.6.11 can't disable CAD

2005-04-07 Thread Randy.Dunlap
On Thu, 7 Apr 2005 15:46:20 -0400 (EDT) Richard B. Johnson wrote: | On Thu, 7 Apr 2005, Randy.Dunlap wrote: | | > On Thu, 7 Apr 2005 11:16:14 -0400 (EDT) Richard B. Johnson wrote: | > | > | | > | In the not-too distant past, one could disable Ctl-Alt-DEL. | > | Can't do it anymore. | > | > What

Re: Linux-2.6.11 can't disable CAD

2005-04-07 Thread Richard B. Johnson
On Thu, 7 Apr 2005, Randy.Dunlap wrote: On Thu, 7 Apr 2005 11:16:14 -0400 (EDT) Richard B. Johnson wrote: | | In the not-too distant past, one could disable Ctl-Alt-DEL. | Can't do it anymore. What should disabling C_A_D do? | Script started on Thu 07 Apr 2005 10:58:11 AM EDT | [SNIPPED leading

Re: Linux-2.6.11 can't disable CAD

2005-04-07 Thread Randy.Dunlap
On Thu, 7 Apr 2005 11:16:14 -0400 (EDT) Richard B. Johnson wrote: | | In the not-too distant past, one could disable Ctl-Alt-DEL. | Can't do it anymore. What should disabling C_A_D do? | Script started on Thu 07 Apr 2005 10:58:11 AM EDT | [SNIPPED leading stuff...] | | mprotect(0xb7fe4000,

Linux-2.6.11 can't disable CAD

2005-04-07 Thread Richard B. Johnson
In the not-too distant past, one could disable Ctl-Alt-DEL. Can't do it anymore. Script started on Thu 07 Apr 2005 10:58:11 AM EDT [SNIPPED leading stuff...] mprotect(0xb7fe4000, 28672, PROT_READ|PROT_EXEC) = 0 brk(0) = 0x804a000 brk(0x8053000)

Linux-2.6.11 can't disable CAD

2005-04-07 Thread Richard B. Johnson
In the not-too distant past, one could disable Ctl-Alt-DEL. Can't do it anymore. Script started on Thu 07 Apr 2005 10:58:11 AM EDT [SNIPPED leading stuff...] mprotect(0xb7fe4000, 28672, PROT_READ|PROT_EXEC) = 0 brk(0) = 0x804a000 brk(0x8053000)

Re: Linux-2.6.11 can't disable CAD

2005-04-07 Thread Randy.Dunlap
On Thu, 7 Apr 2005 11:16:14 -0400 (EDT) Richard B. Johnson wrote: | | In the not-too distant past, one could disable Ctl-Alt-DEL. | Can't do it anymore. What should disabling C_A_D do? | Script started on Thu 07 Apr 2005 10:58:11 AM EDT | [SNIPPED leading stuff...] | | mprotect(0xb7fe4000,

Re: Linux-2.6.11 can't disable CAD

2005-04-07 Thread Richard B. Johnson
On Thu, 7 Apr 2005, Randy.Dunlap wrote: On Thu, 7 Apr 2005 11:16:14 -0400 (EDT) Richard B. Johnson wrote: | | In the not-too distant past, one could disable Ctl-Alt-DEL. | Can't do it anymore. What should disabling C_A_D do? | Script started on Thu 07 Apr 2005 10:58:11 AM EDT | [SNIPPED leading

Re: Linux-2.6.11 can't disable CAD

2005-04-07 Thread Randy.Dunlap
On Thu, 7 Apr 2005 15:46:20 -0400 (EDT) Richard B. Johnson wrote: | On Thu, 7 Apr 2005, Randy.Dunlap wrote: | | On Thu, 7 Apr 2005 11:16:14 -0400 (EDT) Richard B. Johnson wrote: | | | | | In the not-too distant past, one could disable Ctl-Alt-DEL. | | Can't do it anymore. | | What should

Re: Linux-2.6.11 can't disable CAD

2005-04-07 Thread Jan Harkes
On Thu, Apr 07, 2005 at 11:16:14AM -0400, Richard B. Johnson wrote: In the not-too distant past, one could disable Ctl-Alt-DEL. Can't do it anymore. ... Observe that reboot() returns 0 and `strace` understands what parameters were passed. The result is that, if I hit Ctl-Alt-Del, `init` will

Re: Linux-2.6.11 can't disable CAD

2005-04-07 Thread Richard B. Johnson
On Thu, 7 Apr 2005, Randy.Dunlap wrote: On Thu, 7 Apr 2005 15:46:20 -0400 (EDT) Richard B. Johnson wrote: | On Thu, 7 Apr 2005, Randy.Dunlap wrote: | | On Thu, 7 Apr 2005 11:16:14 -0400 (EDT) Richard B. Johnson wrote: | | | | | In the not-too distant past, one could disable Ctl-Alt-DEL. | |

Re: Linux-2.6.11 can't disable CAD

2005-04-07 Thread Richard B. Johnson
On Thu, 7 Apr 2005, Jan Harkes wrote: On Thu, Apr 07, 2005 at 11:16:14AM -0400, Richard B. Johnson wrote: In the not-too distant past, one could disable Ctl-Alt-DEL. Can't do it anymore. ... Observe that reboot() returns 0 and `strace` understands what parameters were passed. The result is that,