[PATCH v2 0/1] Call prctl(2) with signed long integers, and avoid casts
Alejandro Colomar <[email protected]> Wed, 3 Dec 2025 21:50:27 +0100
| Newsgroups | org.kernel.vger.util-linux |
|---|---|
| Message-ID | <[email protected]> |
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