feat(components/lwp/lwp_syscall.c): add sys_lstat support

temporarily use sys_stat. should be replaced by sys_lstat if symbolic link are implemented
This commit is contained in:
xqyjlj 2023-03-27 14:50:53 +08:00 committed by guo
parent 3309ef6001
commit c3b08d4288
1 changed files with 2 additions and 1 deletions

View File

@ -4771,10 +4771,11 @@ const static struct rt_syscall_def func_table[] =
SYSCALL_SIGN(sys_mq_open),
SYSCALL_SIGN(sys_mq_unlink),
SYSCALL_SIGN(sys_mq_timedsend),
SYSCALL_SIGN(sys_mq_timedreceive),
SYSCALL_SIGN(sys_mq_timedreceive), /* 165 */
SYSCALL_SIGN(sys_mq_notify),
SYSCALL_SIGN(sys_mq_getsetattr),
SYSCALL_SIGN(sys_mq_close),
SYSCALL_SIGN(sys_stat), //TODO should be replaced by sys_lstat if symbolic link are implemented
};
const void *lwp_get_sys_api(rt_uint32_t number)