Re: [PATCH v1] Call prctl(2) with long integers, specify 5 arguments, and avoid casts
Karel Zak <[email protected]>
| Newsgroups | org.kernel.vger.util-linux |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jun 01, 2024 at 11:31:56AM +0200, Alejandro Colomar wrote:
> Since libc's prctl(2) wrapper is a variadic function, arguments must
> have the right width. Otherwise, the behavior is undefined.
Created PR to test it by CI:
https://github.com/util-linux/util-linux/pull/3085
Karel
--
Karel Zak <[email protected]>
http://karelzak.blogspot.com