diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-08-18 15:14:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-18 15:14:06 -0700 |
| commit | b8ceabfc3242f91c14c759a4ba77471d3be08869 (patch) | |
| tree | c6cd756fc523842b2e3eebdfb6a65dbefec709bb /docs/syscall_descriptions.md | |
| parent | 55bf892687311014d42ea1be71517156219e7d9b (diff) | |
docs: update syscall_descriptions.md
We now don't return len from read/write syscalls (not needed for anything)
and don't need an mmap for data space.
Reflect this in the docs.
Diffstat (limited to 'docs/syscall_descriptions.md')
| -rw-r--r-- | docs/syscall_descriptions.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/syscall_descriptions.md b/docs/syscall_descriptions.md index fd47fdc56..b79e88283 100644 --- a/docs/syscall_descriptions.md +++ b/docs/syscall_descriptions.md @@ -6,7 +6,7 @@ excerpt from the description: ``` open(file filename, flags flags[open_flags], mode flags[open_mode]) fd -read(fd fd, buf buffer[out], count len[buf]) len[buf] +read(fd fd, buf buffer[out], count len[buf]) close(fd fd) open_mode = S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH ``` @@ -24,7 +24,6 @@ and deserialize programs. A program is a sequences of syscalls with concrete val Here is an example (of a textual representation) of a program: ``` -mmap(&(0x7f0000000000), (0x1000), 0x3, 0x32, -1, 0) r0 = open(&(0x7f0000000000)="./file0", 0x3, 0x9) read(r0, &(0x7f0000000000), 42) close(r0) |
