Added generic capability operation bits to autogenerated capabilities

cinfo.c generator script now has generic capability operation
bits added to all default capabilities that it generates.
This commit is contained in:
Bahadir Balban
2009-11-07 16:14:14 +02:00
parent 3728e7ef1e
commit e8f9f3f04a
2 changed files with 18 additions and 9 deletions

View File

@@ -207,7 +207,7 @@ int setup_children_caps(void)
ipc_cap.access = CAP_IPC_SEND | CAP_IPC_RECV | CAP_IPC_SHORT |
CAP_IPC_FULL | CAP_IPC_EXTENDED | CAP_IPC_ASYNC;
/* Create the capability for self */
/* Replicate capability for self */
if ((err = l4_capability_control(CAP_CONTROL_CREATE, 0, 0, 0, &ipc_cap)) < 0) {
printf("l4_capability_control() sharing of "
"capabilities failed.\n Could not "