#300 Initialize UID/PID when using a private listening socket
Opened by rcritten. Modified
rcritten/certmonger issue_298  into  master

When using a private socket certmonger has to directly
read the UID and PID from the client rather than querying
the dbus connection.

The variable passed into the method calls was not being
initialized with these values. Confusingly the values that
the memory pointed to were the two reversed (uid=pid/pid=uid).
This broke the pre_certsave_uid and post_certsave_uid
options by saving invalid values therefore they could not
be triggered.

Fixes: https://pagure.io/certmonger/issue/298

Signed-off-by: Rob Crittenden rcritten@redhat.com

Metadata