kubernetes/vendor/github.com/cyphar/filepath-securejoin/lookup_linux.go

type symlinkStackEntry

func (se symlinkStackEntry) String() string {}

func (se symlinkStackEntry) Close() {}

type symlinkStack

func (s *symlinkStack) IsEmpty() bool {}

func (s *symlinkStack) Close() {}

var errEmptyStack

var errBrokenSymlinkStack

func (s *symlinkStack) popPart(part string) error {}

func (s *symlinkStack) PopPart(part string) error {}

func (s *symlinkStack) push(dir *os.File, remainingPath, linkTarget string) error {}

func (s *symlinkStack) SwapLink(linkPart string, dir *os.File, remainingPath, linkTarget string) error {}

func (s *symlinkStack) PopTopSymlink() (*os.File, string, bool) {}

// partialLookupInRoot tries to lookup as much of the request path as possible
// within the provided root (a-la RESOLVE_IN_ROOT) and opens the final existing
// component of the requested path, returning a file handle to the final
// existing component and a string containing the remaining path components.
func partialLookupInRoot(root *os.File, unsafePath string) (*os.File, string, error) {}

func completeLookupInRoot(root *os.File, unsafePath string) (*os.File, error) {}

func lookupInRoot(root *os.File, unsafePath string, partial bool) (Handle *os.File, _ string, _ error) {}