Created
April 22, 2016 21:45
-
-
Save steev/0e8cc3bc65331b64368850e4b80e8bde to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch (args.nr) { | |
#if defined(__NR_access) | |
case __NR_access: | |
return broker_process->Access(reinterpret_cast<const char*>(args.args[0]), | |
static_cast<int>(args.args[1])); | |
#endif | |
#if defined(__NR_open) | |
case __NR_open: | |
return broker_process->Open(reinterpret_cast<const char*>(args.args[0]), | |
static_cast<int>(args.args[1])); | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment