Replies: 1 comment
-
Hi, Exactly what you understand is correct. I represented it like that because the third argument was information related to the process, but I don't think that it was communicated correctly. Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Name: Jihwan Park
Acoording to the document, three arguments of Execute_with_capability are object_file, perm, and proc, respectively. I found a reply that this will be updated to perm, object_file, and proc only by changing their order. However, it doesn't seem correct either, according to "main.ml".
Similar to the argument of Execute command in Acl part, Execute_with_capability command in Capability part receives 'a new process to be executed' as the second argument (whose type is Object.t). Meanwhile, the first argument of Execute_with_capability is the name of the variable that contains capability, and the third argument is the parameter name of 'a new process to be executed'.
For example, the third line of the code snippet above corresponds to Execute_with_capability command with arguments "fd", deputy(Object.t), "ffdd".
I'm pretty sure about this, and I'd appreciate it if you could check whether my understanding is correct or not. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions