Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure 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
  • DynamoRIO
  • dynamorio
  • Merge requests
  • !5691

i#5434: Remove reliance on SIGSTKSZ and related defines

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i5434-sigstksz into master Oct 19, 2022
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 4

SIGSTKSZ and MINSIGSTKSZ are moving away from being constants. SIGSTKSZ is now a call to sysconf().

This was causing a build error building our tests, which is fixed using the suggestion from Stanislaw Kardach.

For the core, we eliminate the constants to avoid invoking libc. We look for AT_MINSIGSTKSIZE in our existing auxv search code and if not found we fall back to a hardcoded value.

Co-authored-by: Stanislaw Kardach [email protected] Fixes #5434 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i5434-sigstksz