Skip to content

Call prctl(2) with signed long integers, and avoid casts

Alejandro Colomar util-linux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest1 patch 3 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Call prctl(2) with signed long integers, and avoid castslib/caputils.c lib/env.c misc-utils/enosys.c +4 more+24 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] Call prctl(2) with signed long integers, and avoid casts

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(-)
Signature · 1 line
2.51.0