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]
Date:	Wed, 23 Apr 2014 14:23:50 +0200
From:	Arnd Bergmann <arnd@...db.de>
To:	Geert Uytterhoeven <geert@...ux-m68k.org>
Cc:	Ley Foon Tan <lftan@...era.com>,
	"Linux-Arch" <linux-arch@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
	cltang@...esourcery.com
Subject: Re: [PATCH 04/28] nios2: Exception handling

On Wednesday 23 April 2014, Geert Uytterhoeven wrote:
> On Wed, Apr 23, 2014 at 4:47 AM, Ley Foon Tan <lftan@...era.com> wrote:
> > On Tue, Apr 22, 2014 at 8:33 PM, Arnd Bergmann <arnd@...db.de> wrote:
> >> On Friday 18 April 2014, Ley Foon Tan wrote:
> >>> +static const struct file_operations misalign_fops = {
> >>> +       .open           = proc_misaligned_open,
> >>> +       .read           = seq_read,
> >>> +       .llseek         = seq_lseek,
> >>> +       .release        = single_release,
> >>> +       .write          = proc_misaligned_write,
> >>> +};
> >>> +#endif /* CONFIG_PROC_FS */
> >>
> >> We really shouldn't be doing new architecture specific procfs files
> >> any more. I suggest you drop this one for now, and add back the
> >> functionality using perf or ftrace at a later point.
> >
> > Okay, will remove this.
> 
> MIPS and powerpc handle this through debugfs, cfr.
> arch/mips/kernel/unaligned.c and arch/powerpc/kernel/traps.c.

Ah, right, that would work too. Being able to use perf from user
space sounds more flexible though. It's certainly something that
can be decided later.

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