The relevant code is here:
CONFIG_GRKERNSEC_PROC and 
CONFIG_GRKERNSEC_PROC_MEMMAP)

are defined 

static void k_spec(struct vc_data *vc, unsigned char value, char up_flag, 
struct pt_regs *regs)
{
        if (up_flag)
                return;
        if (value >= ARRAY_SIZE(fn_handler))
                return;
        if ((kbd->kbdmode == VC_RAW ||
             kbd->kbdmode == VC_MEDIUMRAW) &&
             value != KVAL(K_SAK))
                return;         /* SAK is allowed even in raw mode */

#if defined(CONFIG_GRKERNSEC_PROC) || defined(CONFIG_GRKERNSEC_PROC_MEMMAP)
        {
                void *func = fn_handler[value];
                if (func == fn_show_state || func == fn_show_ptregs ||
                    func == fn_show_mem)
                        return;
        }
#endif

        fn_handler[value](vc, regs); /* line 619 */
}

-- 
           Summary: Linux 2.6.11.1.11: drivers/char/keyboard.c:619: internal
                    compiler error: Segmentation fault
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mclinden at informed dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21840

Reply via email to