Re: [PATCH] Slightly safer Magic SysRq

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Thu, 14 Oct 1999 00:27:22 +0200


> But you can change the key combination for SAK using loadkeys.

Only if you're root:

if (((ov == K_SAK) || (v == K_SAK)) && !capable(CAP_SYS_ADMIN))
return -EPERM;

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"To understand a program you must become both the machine and the program."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/