search for: backend_perm

Displaying 2 results from an estimated 2 matches for "backend_perm".

Did you mean: backend_perms
2010 Aug 13
0
[PATCH 1 of 4] libxl_device_generic_add: handle NULL fents or bents
...s_writev(&gc, t, frontend_path, fents); + } - xs_mkdir(ctx->xsh, t, frontend_path); - xs_set_permissions(ctx->xsh, t, frontend_path, frontend_perms, ARRAY_SIZE(frontend_perms)); - - xs_mkdir(ctx->xsh, t, backend_path); - xs_set_permissions(ctx->xsh, t, backend_path, backend_perms, ARRAY_SIZE(backend_perms)); - - xs_write(ctx->xsh, t, libxl_sprintf(&gc, "%s/backend", frontend_path), backend_path, strlen(backend_path)); - xs_write(ctx->xsh, t, libxl_sprintf(&gc, "%s/frontend", backend_path), frontend_path, strlen(frontend_path)); - -...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...tx *ctx, libxl_device *device, char **bents, char **fents) { + libxl_gc gc = LIBXL_INIT_GC(ctx); char *dom_path_backend, *dom_path, *frontend_path, *backend_path; xs_transaction_t t; struct xs_permissions frontend_perms[2]; struct xs_permissions backend_perms[2]; + int rc; - if (!is_valid_device_kind(device->backend_kind) || !is_valid_device_kind(device->kind)) - return ERROR_INVAL; + if (!is_valid_device_kind(device->backend_kind) || !is_valid_device_kind(device->kind)) { + rc = ERROR_INVAL; + goto out; +...