--- - branch: netbsd-8 date: Thu Apr 12 13:08:16 UTC 2018 files: - new: 1.6.6.1 old: '1.6' path: src/sys/arch/x86/x86/dbregs.c pathrev: src/sys/arch/x86/x86/dbregs.c@1.6.6.1 type: modified id: 20180412T130816Z.d84fe9205fb27d1a3041a188a187bcde7c57f0fd log: "Pull up following revision(s) (requested by kamil in ticket #712):\n\n\tsys/arch/x86/x86/dbregs.c: revision 1.7-1.9\n\nFix the check, should be >=.\n\nHum, don't let userland set bit 13, because this can crash the kernel.\n\nAdd paranoid code to X86 Debug Registers\n\nReset certain bits in DR6 and DR7 in x86_dbregs_setup_initdbstate().\nReset X86_BREAKPOINT_CONDITION_DETECTED in DR6.\nReset X86_DR7_GENERAL_DETECT_ENABLE in DR7.\n\nIt's allowed by devices or software before the kernel boot, to\nuse these registers for their own purposes. Handle this paranoid case\nexplicitly setting the mentioned bits to zero.\n\nSponsored by \n" module: src subject: 'CVS commit: [netbsd-8] src/sys/arch/x86/x86' unixtime: '1523538496' user: martin