All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux-2.6.11 can't disable CAD
@ 2005-04-07 15:16 Richard B. Johnson
  2005-04-07 18:59 ` Randy.Dunlap
  2005-04-07 20:20 ` Jan Harkes
  0 siblings, 2 replies; 10+ messages in thread
From: Richard B. Johnson @ 2005-04-07 15:16 UTC (permalink / raw)
  To: Linux kernel


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)                          = 0x8053000
reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_CAD_OFF) = 0
pause( <unfinished ...>
_exit(0)                                = ?
# exit
Script done on Thu 07 Apr 2005 10:58:21 AM EDT

Observe that reboot() returns 0 and `strace` understands what
parameters were passed. The result is that, if I hit Ctl-Alt-Del,
`init` will still execute the shutdown-order (INIT 0).

A side note, while researching this problem, I think I found
that LINUX_REBOOT_MAGIC2 is Linus' birthday (in hex). Maybe
the problem is that he no longer observes his birthday?

Cheers,
Dick Johnson
Penguin : Linux version 2.6.11 on an i686 machine (5537.79 BogoMips).
  Notice : All mail here is now cached for review by Dictator Bush.
                  98.36% of all statistics are fiction.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-04-08 20:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-07 15:16 Linux-2.6.11 can't disable CAD Richard B. Johnson
2005-04-07 18:59 ` Randy.Dunlap
2005-04-07 19:46   ` Richard B. Johnson
2005-04-07 20:08     ` Randy.Dunlap
2005-04-07 20:35       ` Richard B. Johnson
2005-04-07 20:20 ` Jan Harkes
2005-04-07 20:50   ` Richard B. Johnson
2005-04-08 13:05     ` Daniel Jacobowitz
2005-04-08 13:54       ` Richard B. Johnson
     [not found]     ` <20050407210144.GA8181@delft.aura.cs.cmu.edu>
     [not found]       ` <Pine.LNX.4.61.0504080822150.8739@chaos.analogic.com>
2005-04-08 20:54         ` Richard B. Johnson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.