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: <alpine.DEB.2.21.2502202247420.65342@angie.orcam.me.uk>
Date: Thu, 20 Feb 2025 23:19:23 +0000 (GMT)
From: "Maciej W. Rozycki" <macro@...am.me.uk>
To: "Dmitry V. Levin" <ldv@...ace.io>
cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>, 
    Andrew Morton <akpm@...ux-foundation.org>, Oleg Nesterov <oleg@...hat.com>, 
    Alexey Gladkov <legion@...nel.org>, 
    Eugene Syromyatnikov <evgsyr@...il.com>, strace-devel@...ts.strace.io, 
    linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6 3/6] syscall.h: introduce syscall_set_nr()

On Wed, 19 Feb 2025, Dmitry V. Levin wrote:

> >  May I suggest "[...] after return from syscall_trace_enter() invocation." 
> > instead?  Minor reformatting might be required for better visual alignment 
> > though.
> 
> Like this:
> 	/*
> 	 * New syscall number has to be assigned to regs[2] because
> 	 * it is loaded from there unconditionally after return from
> 	 * syscall_trace_enter() invocation.
> 	 *
> 	 * Consequently, if the syscall was indirect and nr != __NR_syscall,
> 	 * then after this assignment the syscall will cease to be indirect.
> 	 */

 Perfect, thank you!

  Maciej

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ