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

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • xorgxorg
  • xserverxserver
  • Merge requests
  • !728

Remove support for getpeereid()

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Matthieu Herrb requested to merge mherrb/xserver:master into master Aug 10, 2021
  • Overview 3
  • Commits 1
  • Pipelines 3
  • Changes 1

This function doesn't propvide any added value compared to getsockopt(...,SO_PEERCRED,...), and is implemented in BSD's as a wrapper around the latter.

In addition, using SO_PEERCRED instead gives the XRes extension access to the pid() of the processes of local clients.

Signed-off-by: Matthieu Herrb matthieu@herrb.eu

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master