Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-arm64
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-arm64
  • Repository

Switch branch/tag
  • ipipe-arm64
  • tools
  • testing
  • selftests
  • seccomp
  • seccomp_bpf.c
Find file BlameHistoryPermalink
  • Bamvor Jian Zhang's avatar
    selftests/seccomp: Get page size from sysconf · 2ce47b44
    Bamvor Jian Zhang authored Nov 13, 2015
    The commit fd88d16c
    
     ("selftests/seccomp: Be more precise with
    syscall arguments.") use PAGE_SIZE directly which lead to build
    failure on arm64.
    
    Replace it with generic interface(sysconf(_SC_PAGESIZE)) to fix this
    failure.
    
    Build and test successful on x86_64 and arm64.
    Signed-off-by: default avatarBamvor Jian Zhang <bamvor.zhangjian@linaro.org>
    Acked-by: default avatarKees Cook <keescook@chromium.org>
    Tested-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
    2ce47b44

Replace seccomp_bpf.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy