lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080418175104.GD7674@cvg>
Date:	Fri, 18 Apr 2008 21:51:04 +0400
From:	Cyrill Gorcunov <gorcunov@...il.com>
To:	Harvey Harrison <harvey.harrison@...il.com>
Cc:	Ingo Molnar <mingo@...e.hu>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: kgdb build fix

[Harvey Harrison - Fri, Apr 18, 2008 at 09:54:38AM -0700]
| TF_MASK is no longer defined, use X86_EFLAGS_TF.
| 
| Signed-off-by: Harvey Harrison <harvey.harrison@...il.com>
| ---
| In current -linus tree.
| 
|  arch/x86/kernel/kgdb.c |    4 ++--
|  1 files changed, 2 insertions(+), 2 deletions(-)
| 
| diff --git a/arch/x86/kernel/kgdb.c b/arch/x86/kernel/kgdb.c
| index 8c7e555..24362ec 100644
| --- a/arch/x86/kernel/kgdb.c
| +++ b/arch/x86/kernel/kgdb.c
| @@ -375,12 +375,12 @@ int kgdb_arch_handle_exception(int e_vector, int signo, int err_code,
|  		newPC = linux_regs->ip;
|  
|  		/* clear the trace bit */
| -		linux_regs->flags &= ~TF_MASK;
| +		linux_regs->flags &= ~X86_EFLAGS_TF;
|  		atomic_set(&kgdb_cpu_doing_single_step, -1);
|  
|  		/* set the trace bit if we're stepping */
|  		if (remcomInBuffer[0] == 's') {
| -			linux_regs->flags |= TF_MASK;
| +			linux_regs->flags |= X86_EFLAGS_TF;
|  			kgdb_single_step = 1;
|  			if (kgdb_contthread) {
|  				atomic_set(&kgdb_cpu_doing_single_step,
| -- 
| 1.5.5.144.g3e42
| 
It seems to be my fault, thanks a lot Harvey!

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ