and implement the related semantic correctly Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I0587341e2c505e41b5e24e55dba039ed200d65f2
Here is the spec: https://pubs.opengroup.org/onlinepubs/009695399/functions/umask.html Note: The simple implementaton is enough since NuttX doesn't really support the permission Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>