1
0
Fork 0
forked from nuttx/nuttx-update

rpmsgfs:add support FIOC_FILEPATH for rpmsgfs_ioctl

Signed-off-by: guohao15 <guohao15@xiaomi.com>
This commit is contained in:
guohao15 2023-11-14 18:53:19 +08:00 committed by Xiang Xiao
parent 68a64c1a4c
commit 03aca2c07e

View file

@ -393,6 +393,8 @@ static ssize_t rpmsgfs_ioctl_arglen(int cmd)
case FIONWRITE:
case FIONREAD:
return sizeof(int);
case FIOC_FILEPATH:
return PATH_MAX;
case FIOC_SETLK:
case FIOC_GETLK:
case FIOC_SETLKW: