diff options
| author | Congyu Liu <liucy1998@outlook.com> | 2021-07-24 00:23:01 -0400 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-07-26 07:51:53 +0200 |
| commit | fd5118098a3df4301eba91aeca37119ccb209403 (patch) | |
| tree | 69c152fb6647794daccc3d0069530f4097eb95bd | |
| parent | 4d1b57d4d1aa7f8938163f8debd9293c062482b0 (diff) | |
sys/linux: minor fix of random dev syscall description
Syscall `openat$random` should open /dev/random device.
| -rw-r--r-- | sys/linux/dev_random.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/dev_random.txt b/sys/linux/dev_random.txt index ae13dbc7a..54a20a902 100644 --- a/sys/linux/dev_random.txt +++ b/sys/linux/dev_random.txt @@ -5,7 +5,7 @@ include <linux/random.h> resource fd_random[fd] -openat$random(fd const[AT_FDCWD], file ptr[in, string["/dev/urandom"]], flags flags[open_flags], mode const[0]) fd_random +openat$random(fd const[AT_FDCWD], file ptr[in, string["/dev/random"]], flags flags[open_flags], mode const[0]) fd_random openat$urandom(fd const[AT_FDCWD], file ptr[in, string["/dev/urandom"]], flags flags[open_flags], mode const[0]) fd_random ioctl$RNDGETENTCNT(fd fd_random, cmd const[RNDGETENTCNT], arg ptr[out, int32]) |
