Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P polkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 117
    • Issues 117
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • polkit
  • polkit
  • Merge requests
  • !22

pkexec: allow processes with a high uid

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Emilio Pozuelo Monfort requested to merge pochu/polkit:pkexec-highuid into master Jan 28, 2019
  • Overview 3
  • Commits 1
  • Pipelines 1
  • Changes 2

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)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: pkexec-highuid