syscalls/statx: Add judgment to the MODE value
PATCH v2 1/1 syscalls/statx: Add judgment to the MODE value
v2:
Clear current umask by umask(0) in setup()
Signed-off-by Zou Wei <[email protected]>
--- testcases/kernel/syscalls/statx/statx01.c | 2 ++ 1 file changed, 2 insertions(+)
testcases/kernel/syscalls/statx/statx01.c +2 -0
@@ -147,6 +147,8 @@ static void setup(void) {char data_buff[SIZE ];int file_fd; + +umask (0 );memset (data_buff,'@' ,sizeof (data_buff));
--
2.6.2