static int local_open(FsContext *ctx, V9fsPath *fs_path,

                      int flags, V9fsFidOpenState *fs)

{

    char buffer[PATH_MAX];

    char *path = fs_path->data;



    fs->fd = open(rpath(ctx, path, buffer), flags | O_NOFOLLOW);

    return fs->fd;

}

static int local_open(FsContext *ctx, V9fsPath *fs_path,

                      int flags, V9fsFidOpenState *fs)

{

    char buffer[PATH_MAX];

    char *path = fs_path->data;



    fs->fd = open(rpath(ctx, path, buffer), flags | O_NOFOLLOW);

    return fs->fd;

}

static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1,

                      int VAR_2, V9fsFidOpenState *VAR_3)

{

    char VAR_4[PATH_MAX];

    char *VAR_5 = VAR_1->data;



    VAR_3->fd = open(rpath(VAR_0, VAR_5, VAR_4), VAR_2 | O_NOFOLLOW);

    return VAR_3->fd;

}

static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1,
int VAR_2, V9fsFidOpenState *VAR_3)
{ char VAR_4[PATH_MAX]; char *VAR_5 = VAR_1->data; VAR_3->fd = open(rpath(VAR_0, VAR_5, VAR_4), VAR_2 | O_NOFOLLOW); return VAR_3->fd; }