Skip to content

pkexec: allow processes with a high uid

Emilio Pozuelo Monfort requested to merge pochu/polkit:pkexec-highuid into master

Since we used signed ints for uids, high ones will appear as negative values, so we shouldn't exclude this. Otherwise a user with a high id will get:

ERROR:pkexec.c:718:main: assertion failed: (polkit_unix_process_get_uid (POLKIT_UNIX_PROCESS (subject)) >= 0)

Merge request reports