Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle AT_EMPTY_PATH for fstatat64 #1812

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 24, 2022

  1. Handle AT_EMPTY_PATH for fstatat64

    This is used by newer glibc when loading shared objects.
    
           AT_EMPTY_PATH (since Linux 2.6.39)
                  If pathname is an empty string, operate on the file referred to by dirfd (which may have been ob‐
                  tained using the open(2) O_PATH flag).  In this case, dirfd can refer to any type  of  file,  not
                  just  a  directory,  and  the  behavior  of fstatat() is similar to that of fstat().  If dirfd is
                  AT_FDCWD, the call operates on the current working directory.  This flag is  Linux-specific;  de‐
                  fine _GNU_SOURCE to obtain its definition.
    zhaofengli committed May 24, 2022
    Configuration menu
    Copy the full SHA
    14833f3 View commit details
    Browse the repository at this point in the history