From 5dfefdb158e0dedc3741a4c3033eaf446f281e34 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 26 Jan 2016 17:48:13 +0100 Subject: sys: fix write$tun description Also remove \r in files. --- sys/random.txt | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'sys/random.txt') 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 - -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 + +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] +} -- cgit mrf-deployment