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] [day] [month] [year] [list]
Message-ID: <20131106162844.76119e9e@gandalf.local.home>
Date:	Wed, 6 Nov 2013 16:28:44 -0500
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Hans-Christian Egtvedt <egtvedt@...fundet.no>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Haavard Skinnemoen <hskinnemoen@...il.com>,
	Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Subject: Re: [PATCH] avr32: Remove HAVE_KPROBES from avr32 Kconfig

On Wed, 6 Nov 2013 22:05:21 +0100
Hans-Christian Egtvedt <egtvedt@...fundet.no> wrote:

> Around Wed 06 Nov 2013 12:43:30 -0500 or thereabout, Steven Rostedt wrote:
> 
> Hello,
> 
> > Although there's a arch/avr32/kernel/kprobes.c file, this arch does not
> > compile with kprobes enabled:
> > 
> >  In file included from cross-linux.git/arch/avr32/kernel/kprobes.c:14:
> >  cross-linux.git/include/linux/kprobes.h: In function 'get_kprobe_ctlblk':
> >  cross-linux.git/include/linux/kprobes.h:358: error: invalid use of undefined type 'struct kprobe_ctlblk'
> >  cross-linux.git/include/linux/kprobes.h:358: error: dereferencing pointer to incomplete type
> >  make[2]: *** [arch/avr32/kernel/kprobes.o] Error 1
> > 
> > This is because it does not define the required kprobe_ctlblk struct,
> > and fails to compile when CONFIG_KPROBES is set.
> > 
> > Unfortunately, this also makes my testing of various configs for
> > different archs to fail on avr32 as well.
> > 
> > If kprobes is not supported by avr32 than do not say that it is.
> 
> kprobes is supposed to be supported on AVR32, but it seems to have broken
> somewhere down the road.
> 
> I re-discovered an old patch fixing this from Eirik, I have added this to my
> for-linus branch instead of your proposed patch.
> 
> https://git.kernel.org/cgit/linux/kernel/git/egtvedt/linux-avr32.git/log/?h=for-linus
> 

That works too! I was hoping for a similar fix. I sent my patch more as
an incentive to get kprobes fixed than to disable it ;-)

Tested-by: Steven Rostedt <rostedt@...dmis.org> # only cross compiled tested

-- Steve
--
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