Received: from mailapp01.imgtec.com ([195.59.15.196]:21143 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27007663AbbIYHPNLwisp (ORCPT ); Fri, 25 Sep 2015 09:15:13 +0200 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 421E1B7E136D3 for ; Fri, 25 Sep 2015 08:15:05 +0100 (IST) Date: Fri, 25 Sep 2015 08:15:06 +0100 From: Markos Chandras Subject: Re: [PATCH] FIXUP: MIPS: fix n64 syscall address calculation Message-ID: <20150925071505.GA5740@mchandras-linux.le.imgtec.org> References: <1442995677-20591-1-git-send-email-markos.chandras@imgtec.com> <1443152025-1975-1-git-send-email-paul.burton@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <1443152025-1975-1-git-send-email-paul.burton@imgtec.com> Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Paul Burton Cc: linux-mips@linux-mips.org Message-ID: <20150925071506.tqGcFOFiBPwxlot-K1d2zcw9tLpebcwdXxoMpj5DIlM@z> On Thu, Sep 24, 2015 at 08:33:45PM -0700, Paul Burton wrote: > The patch "MIPS: kernel: scall: Always run the seccomp syscall filters" > incorrectly calculates the address of the syscall function and instead > attempts a load from the offset of the syscall being invoked into the > table. This completely trashes all n64 userland syscalls. Fix the > address calculation. > > Signed-off-by: Paul Burton > Cc: Markos Chandras > --- > Markos: could you please test all 3 ABIs you modified? The n64 one at > least has clearly not been tested. > --- Calm down. it was an honest mistake. The version I sent was slighly different to what I had in my tree and that's why the tests were passing for me. I will send it again. -- markos