From b7e625efdd6a92b9621b9ef1538b70db0d521d0e Mon Sep 17 00:00:00 2001 From: Weikang Shi Date: Tue, 20 Nov 2018 10:26:56 +0800 Subject: [PATCH] typo fix --- SysCall/linux-syscall-5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SysCall/linux-syscall-5.md b/SysCall/linux-syscall-5.md index 558f7d1..c8f37f5 100644 --- a/SysCall/linux-syscall-5.md +++ b/SysCall/linux-syscall-5.md @@ -250,7 +250,7 @@ If we didn't pass `O_TMPFILE` for creation of a temporary file, we check the `O_ * to indicate a location in the filesystem tree; * to perform operations that act purely at the file descriptor level. -So, in this case the file itself is not opened, but operations like `dup`, `fcntl` and other can be used. So, if all file content related operations like `read`, `write` and other are permitted, only `O_DIRECTORY | O_NOFOLLOW | O_PATH` flags can be used. We have finished with flags for this moment in the `build_open_flags` for this moment and we may fill our `open_flags->open_flag` with them: +So, in this case the file itself is not opened, but operations like `dup`, `fcntl` and other can be used. So, if all file content related operations like `read`, `write` and other are not permitted, only `O_DIRECTORY | O_NOFOLLOW | O_PATH` flags can be used. We have finished with flags for this moment in the `build_open_flags` for this moment and we may fill our `open_flags->open_flag` with them: ```C op->open_flag = flags;