All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: util-linux@vger.kernel.org
Cc: "Alejandro Colomar" <alx@kernel.org>,
	"Xi Ruoyao" <xry111@xry111.site>,
	"Thomas Weißschuh" <thomas@t-8ch.de>,
	"Karel Zak" <kzak@redhat.com>
Subject: [PATCH v2 0/1] Call prctl(2) with signed long integers, and avoid casts
Date: Wed, 3 Dec 2025 21:50:27 +0100	[thread overview]
Message-ID: <cover.1764794880.git.alx@kernel.org> (raw)
In-Reply-To: <20240601093150.16912-1-alx@kernel.org>

Hi!

Karel reminded me of this old patch.  Here's a revision of the patch.
Major changes in v2:

-  Don't specify the 5 arguments unnecessarily.

BTW, I've developed a header file that might be useful for the general
public.  See in a reply to this mail.


Have a lovely night!
Alex

Alejandro Colomar (1):
  c4fc41abf Call prctl(2) with signed long integers, and avoid casts

 lib/caputils.c               |  6 +++---
 lib/env.c                    |  4 ++--
 misc-utils/enosys.c          |  2 +-
 schedutils/coresched.c       |  6 +++---
 sys-utils/setpriv-landlock.c |  2 +-
 sys-utils/setpriv.c          | 27 +++++++++++++--------------
 tests/helpers/test_mkfds.c   |  2 +-
 7 files changed, 24 insertions(+), 25 deletions(-)
-- 
2.51.0


  parent reply	other threads:[~2025-12-03 20:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-01  9:31 [PATCH v1] Call prctl(2) with long integers, specify 5 arguments, and avoid casts Alejandro Colomar
2024-06-01 11:05 ` Thomas Weißschuh
2024-06-01 12:23   ` Alejandro Colomar
2024-06-01 19:32     ` Alejandro Colomar
2025-12-04 14:06     ` Adhemerval Zanella Netto
2025-12-07  3:52       ` [PATCH] x32: Switch back to assembly syscall wrapper for prctl H.J. Lu
2025-12-07  9:41         ` Florian Weimer
2025-12-08  1:48           ` [PATCH v2] x32: Implement prctl in assembly H.J. Lu
2025-12-08  8:10             ` Florian Weimer
2025-12-08  9:01               ` H.J. Lu
2025-12-08  9:09                 ` Florian Weimer
2025-12-08 11:47                   ` Adhemerval Zanella Netto
2025-12-08 14:25                     ` Florian Weimer
2025-12-08 22:41                       ` [PATCH v3] " H.J. Lu
2025-12-07 12:34         ` [PATCH] x32: Switch back to assembly syscall wrapper for prctl Alejandro Colomar
2024-06-06  7:21 ` [PATCH v1] Call prctl(2) with long integers, specify 5 arguments, and avoid casts Karel Zak
2025-12-03 20:50 ` Alejandro Colomar [this message]
2025-12-03 20:50   ` [PATCH v2 1/1] Call prctl(2) with signed long integers, " Alejandro Colomar
2025-12-03 21:01   ` [PATCH v2 0/1] " Alejandro Colomar
2025-12-03 22:12     ` Thomas Weißschuh
2025-12-03 22:36       ` Alejandro Colomar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1764794880.git.alx@kernel.org \
    --to=alx@kernel.org \
    --cc=kzak@redhat.com \
    --cc=thomas@t-8ch.de \
    --cc=util-linux@vger.kernel.org \
    --cc=xry111@xry111.site \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.