On 2/18/22 19:42, Mohamad Al-Jaf wrote:
Hi,
I don't think sync is an appropriate file to put this function in and I don't know where else it could go. I don't think kernel_main is right either. Should I create a new security file? It's just one function so I'm not sure if this is okay. --
I'd put it to kernel_main.c, new file is probably too much. Note that it's not really right to keep calling it semi-stub, or leaving a fixme in, because once you forward to W variant there is nothing else to do for A call. Another thing is that you could get away with static sized buffer, like e.g. OpenMutexA() does, if tests show similar name length limit.
Kind regards, Mohamad