Skip to content

Accept whole range of supported pids

Jakub Jelen requested to merge jjelen/pam_wrapper:master into master

The pam_wrapper assumes that the PID is smaller than 0xFFFF, which is no longer the case (at least for several years in Linux).

This is very similar construct that used to be in libssh too [1] and caused pain there so I would suggest to fix it in very same manner (see attached patch).


[1] libssh/libssh-mirror@d2a32ca6

Merge request reports