Searched refs:currdir_fd (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/libfuse-lite/
H A Dfusermount.c435 static int check_perm(const char **mntp, struct stat *stbuf, int *currdir_fd, argument
454 *currdir_fd = open(".", O_RDONLY);
455 if (*currdir_fd == -1) {
570 int currdir_fd = -1; local
585 res = check_perm(&real_mnt, &stbuf, &currdir_fd, &mountpoint_fd);
590 if (currdir_fd != -1) {
591 fchdir(currdir_fd);
592 close(currdir_fd);

Completed in 83 milliseconds