static int mp_user_setxattr(FsContext *ctx, const char *path, const char *name,

                            void *value, size_t size, int flags)

{

    char *buffer;

    int ret;



    if (strncmp(name, "user.virtfs.", 12) == 0) {

        /*

         * Don't allow fetch of user.virtfs namesapce

         * in case of mapped security

         */

        errno = EACCES;

        return -1;

    }

    buffer = rpath(ctx, path);

    ret = lsetxattr(buffer, name, value, size, flags);

    g_free(buffer);

    return ret;

}

static int mp_user_setxattr(FsContext *ctx, const char *path, const char *name,

                            void *value, size_t size, int flags)

{

    char *buffer;

    int ret;



    if (strncmp(name, "user.virtfs.", 12) == 0) {

        







        errno = EACCES;

        return -1;

    }

    buffer = rpath(ctx, path);

    ret = lsetxattr(buffer, name, value, size, flags);

    g_free(buffer);

    return ret;

}

    char *buffer;     int ret;     buffer = rpath(ctx, path);     g_free(buffer);     return ret;     char *buffer;     int ret;     buffer = rpath(ctx, path);     g_free(buffer);     return ret;     char *buffer;     int ret;     buffer = rpath(ctx, path);     ret = lsetxattr(buffer, name, value, size, flags);     g_free(buffer);     return ret;     char *buffer;     buffer = rpath(ctx, path);     ret = lsetxattr(buffer, name, value, size, flags);     g_free(buffer);
static int FUNC_0(FsContext *VAR_0, const char *VAR_1, const char *VAR_2,

                            void *VAR_3, size_t VAR_4, int VAR_5)

{

    char *VAR_6;

    int VAR_7;



    if (strncmp(VAR_2, "user.virtfs.", 12) == 0) {

        







        errno = EACCES;

        return -1;

    }

    VAR_6 = rpath(VAR_0, VAR_1);

    VAR_7 = lsetxattr(VAR_6, VAR_2, VAR_3, VAR_4, VAR_5);

    g_free(VAR_6);

    return VAR_7;

}

static int FUNC_0(FsContext *VAR_0, const char *VAR_1, const char *VAR_2,
void *VAR_3, size_t VAR_4, int VAR_5)
{ char *VAR_6; int VAR_7; if (strncmp(VAR_2, "user.virtfs.", 12) == 0) { errno = EACCES; return -1; } VAR_6 = rpath(VAR_0, VAR_1); VAR_7 = lsetxattr(VAR_6, VAR_2, VAR_3, VAR_4, VAR_5); g_free(VAR_6); return VAR_7; }