diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-01-26 17:48:13 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-01-26 17:48:13 +0100 |
| commit | 5dfefdb158e0dedc3741a4c3033eaf446f281e34 (patch) | |
| tree | f18cfd485699e016e396f55220a6a400200a03e1 /sys/random.txt | |
| parent | 66b440bd178174bcada26e65e321a3ddc0b4eab9 (diff) | |
sys: fix write$tun description
Also remove \r in files.
Diffstat (limited to 'sys/random.txt')
| -rwxr-xr-x | sys/random.txt | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/sys/random.txt b/sys/random.txt index 2d1cbf1d6..80ffdda53 100755 --- a/sys/random.txt +++ b/sys/random.txt @@ -1,19 +1,19 @@ -# Copyright 2015 syzkaller project authors. All rights reserved.
-# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-
-include <linux/random.h>
-
-syz_open_dev$random(dev strconst["/dev/random"], id const[0], flags flags[open_flags]) fd[random]
-syz_open_dev$urandom(dev strconst["/dev/urandom"], id const[0], flags flags[open_flags]) fd[random]
-
-ioctl$RNDGETENTCNT(fd fd[random], cmd const[RNDGETENTCNT], arg ptr[out, int32])
-ioctl$RNDADDTOENTCNT(fd fd[random], cmd const[RNDADDTOENTCNT], arg ptr[in, int32])
-ioctl$RNDADDENTROPY(fd fd[random], cmd const[RNDADDENTROPY], arg ptr[in, rnd_entpropy])
-ioctl$RNDZAPENTCNT(fd fd[random], cmd const[RNDZAPENTCNT], arg ptr[in, int32])
-ioctl$RNDCLEARPOOL(fd fd[random], cmd const[RNDCLEARPOOL], arg ptr[in, int32])
-
-rnd_entpropy {
- entcnt int32
- size len[pool, int32]
- pool array[int8]
-}
+# Copyright 2015 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +include <linux/random.h> + +syz_open_dev$random(dev strconst["/dev/random"], id const[0], flags flags[open_flags]) fd[random] +syz_open_dev$urandom(dev strconst["/dev/urandom"], id const[0], flags flags[open_flags]) fd[random] + +ioctl$RNDGETENTCNT(fd fd[random], cmd const[RNDGETENTCNT], arg ptr[out, int32]) +ioctl$RNDADDTOENTCNT(fd fd[random], cmd const[RNDADDTOENTCNT], arg ptr[in, int32]) +ioctl$RNDADDENTROPY(fd fd[random], cmd const[RNDADDENTROPY], arg ptr[in, rnd_entpropy]) +ioctl$RNDZAPENTCNT(fd fd[random], cmd const[RNDZAPENTCNT], arg ptr[in, int32]) +ioctl$RNDCLEARPOOL(fd fd[random], cmd const[RNDCLEARPOOL], arg ptr[in, int32]) + +rnd_entpropy { + entcnt int32 + size len[pool, int32] + pool array[int8] +} |
