On 11/11/2013 01:29 PM, Sandeepa Prabhu wrote:
On 8 November 2013 22:34, Will Deacon will.deacon@arm.com wrote:
+static inline long regs_return_value(struct pt_regs *regs) +{
return regs->regs[0];
+}
This is also being implemented by another patch series (I think the audit stuff?).
Not sure, I did not see this being implemented in audit(audit adds for 'syscallno', not for return value in x0) I can rebase my code if this change is implemented and queued in other patchset.
Yes, my audit patch has it. The definition is referred to in include/linux/audit.h (and ptrace.h), too.
-Takahiro AKASHI