From 48ffbd998ba01fff24eb363382798cd8ebe26791 Mon Sep 17 00:00:00 2001 From: wanxiaoqing Date: Wed, 2 Aug 2023 12:02:59 +0800 Subject: [PATCH] =?UTF-8?q?tokenid=E7=94=A8=E4=BE=8B=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wanxiaoqing --- test/syzkaller/qos_auth/token_id.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 test/syzkaller/qos_auth/token_id.txt diff --git a/test/syzkaller/qos_auth/token_id.txt b/test/syzkaller/qos_auth/token_id.txt new file mode 100644 index 0000000..a0fe707 --- /dev/null +++ b/test/syzkaller/qos_auth/token_id.txt @@ -0,0 +1,25 @@ +#drivers/accesstokenid/access_tokenid.c + +#static const struct file_operations access_tokenid_fops = { +# .owner = THIS_MODULE, +# .unlocked_ioctl = access_tokenid_ioctl, +# .compat_ioctl = access_tokenid_ioctl, +#}; + +include +include +include +include + +resource fd_access_token[fd] + +openat$fd_access_token(fd const[AT_FDCWD], file ptr[in, string["/dev/access_token_id"]], flags const[O_RDWR], mode const[0]) fd_access_token +close$fd_access_token(fd fd_access_token) + +ioctl$ACCESS_TOKENID_GET_TOKENID(fd fd_access_token, cmd const[ACCESS_TOKENID_GET_TOKENID], arg ptr[out, int64]) + +ioctl$ACCESS_TOKENID_SET_TOKENID(fd fd_access_token, cmd const[ACCESS_TOKENID_SET_TOKENID], arg ptr[in, int64]) + +ioctl$ACCESS_TOKENID_GET_FTOKENID(fd fd_access_token, cmd const[ACCESS_TOKENID_GET_FTOKENID], arg ptr[out, int64]) + +ioctl$ACCESS_TOKENID_SET_FTOKENID(fd fd_access_token, cmd const[ACCESS_TOKENID_SET_FTOKENID], arg ptr[in, int64]) \ No newline at end of file -- Gitee