Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

CherryPick: Use openat syscall if available #18

Merged
merged 1 commit into from
May 10, 2017

Commits on May 10, 2017

  1. Use openat syscall if available

    Some architectures like AArch64 may not have the open syscall because it
    was superseded by the openat syscall, so check and use SYS_openat if
    SYS_open is not available.
    
    Additionally, Android headers for AArch64 define SYS_open to __NR_open,
    even though __NR_open is undefined. Undefine SYS_open in that case so
    SYS_openat is used.
    Jim Chen authored and arthurprs committed May 10, 2017
    Configuration menu
    Copy the full SHA
    a241afc View commit details
    Browse the repository at this point in the history