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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFiDJ5_ExhQAqMa5WMyug0Gz3KTVQhfZvonyCuErKBU4icu4tw@mail.gmail.com>
Date:	Tue, 22 Apr 2014 01:23:52 +0800
From:	Ley Foon Tan <lftan@...era.com>
To:	Geert Uytterhoeven <geert@...ux-m68k.org>
Cc:	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, Pavel Machek <pavel@...x.de>
Subject: Re: [PATCH 16/28] nios2: System calls handling

On Sun, Apr 20, 2014 at 4:12 AM, Geert Uytterhoeven
<geert@...ux-m68k.org> wrote:
>> +        */
>> +       vma = find_vma(current->mm, addr);
>> +       if (vma == NULL || addr < vma->vm_start || addr + len > vma->vm_end)
>> +               return -EFAULT;
>> +
>> +       /* Ignore the scope and cache arguments. */
>
> This function doesn't have scope and cache arguments
> (sys_cacheflush() on m68k does have them ;-)

Missed out the comment after rename the arguments.:) Will update the
comment above.

> On Sat, Apr 19, 2014 at 6:09 PM, Pavel Machek <pavel@...x.de> wrote:
>> Also... explanation why you need this syscall while other
>> architectures live happily without it would be nice.
>
> 12 our of 28 architectures provide such a syscall...
>
> Is flushing the cache a privileged operation on nios2?
Yes.

Thanks.

Regards
Ley Foon
--
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