Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports aports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 656
    • Issues 656
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 332
    • Merge requests 332
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • aportsaports
  • Merge requests
  • !26610

main/sudo: backport patch to fix crash on old kernels

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Newbyte requested to merge Newbyte/aports:sudo-unlasted-kernel into master Oct 20, 2021
  • Overview 0
  • Commits 1
  • Pipelines 3
  • Changes 2

In postmarketOS (which uses Alpine's repositories to a large degree), we unfortunately have many devices that use old kernels without the getrandom() syscall. This backports a merged patch from upstream that works around this by using sudo's own implementation of getentropy() instead of the one from your C standard library as the default on Linux.

Closes #13108 (closed) (testing welcome to verify)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: sudo-unlasted-kernel