RFR: 8277489: Rewrite JAAS UnixLoginModule with FFM [v5]

Martin Doerr mdoerr at openjdk.org
Wed Jan 21 19:23:21 UTC 2026


On Wed, 21 Jan 2026 18:59:19 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> For reference: hotspot uses the platform dependent constant `CCallingConventionRequiresIntsAsLongs`  for such issues. The value is `true` on PPC64 and s390 platforms (and SPARC in earlier JDK versions).
>
> I believe the proposed patch to be reasonable given the limitations we already covered.

It would be nice to add a comment like:
We need to pass the uid as uint32_t which requires zero extension on some 64-bit platforms. JDK-8336664 is not yet available, so we extend it here for these platforms.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/28931#discussion_r2714007305


More information about the security-dev mailing list