diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2022-04-24 11:40:38 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-04-25 11:31:49 +0200 |
| commit | 7d6ce61334a1437f59d058959ef93071446706f8 (patch) | |
| tree | 680e8c1c501d6c5763eb14f6a19d496122b5ff3c /sys/linux | |
| parent | f2db0910291c5e7619e0c6e6994d6a1740da8be5 (diff) | |
sys/linux: remove ashmem
It was deprecated and removed from the kernel:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=721412ed3d819e767cac2b06646bf03aa158aaec
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/dev_ashmem.txt | 24 | ||||
| -rw-r--r-- | sys/linux/dev_ashmem.txt.const | 13 |
2 files changed, 0 insertions, 37 deletions
diff --git a/sys/linux/dev_ashmem.txt b/sys/linux/dev_ashmem.txt deleted file mode 100644 index 8cec77506..000000000 --- a/sys/linux/dev_ashmem.txt +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2017 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 <asm/ioctl.h> -include <uapi/linux/fcntl.h> -include <drivers/staging/android/uapi/ashmem.h> - -resource fd_ashmem[fd] - -openat$ashmem(fd const[AT_FDCWD], file ptr[in, string["/dev/ashmem"]], flags flags[open_flags], mode const[0]) fd_ashmem - -ioctl$ASHMEM_SET_NAME(fd fd_ashmem, cmd const[ASHMEM_SET_NAME], arg ptr[in, string]) -ioctl$ASHMEM_GET_NAME(fd fd_ashmem, cmd const[ASHMEM_GET_NAME], arg ptr[out, array[int8]]) -ioctl$ASHMEM_SET_SIZE(fd fd_ashmem, cmd const[ASHMEM_SET_SIZE], arg intptr) -ioctl$ASHMEM_GET_SIZE(fd fd_ashmem, cmd const[ASHMEM_GET_SIZE], arg const[0]) -ioctl$ASHMEM_SET_PROT_MASK(fd fd_ashmem, cmd const[ASHMEM_SET_PROT_MASK], arg ptr[in, ashmem_pin]) -ioctl$ASHMEM_GET_PROT_MASK(fd fd_ashmem, cmd const[ASHMEM_GET_PROT_MASK], arg ptr[out, ashmem_pin]) -ioctl$ASHMEM_GET_PIN_STATUS(fd fd_ashmem, cmd const[ASHMEM_GET_PIN_STATUS], arg const[0]) -ioctl$ASHMEM_PURGE_ALL_CACHES(fd fd_ashmem, cmd const[ASHMEM_PURGE_ALL_CACHES], arg const[0]) - -ashmem_pin { - offset int32 - len int32 -} diff --git a/sys/linux/dev_ashmem.txt.const b/sys/linux/dev_ashmem.txt.const deleted file mode 100644 index 7f2b28158..000000000 --- a/sys/linux/dev_ashmem.txt.const +++ /dev/null @@ -1,13 +0,0 @@ -# Code generated by syz-sysgen. DO NOT EDIT. -arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x -ASHMEM_GET_NAME = 2164291330, mips64le:ppc64le:1090549506 -ASHMEM_GET_PIN_STATUS = 30473, mips64le:ppc64le:536901385 -ASHMEM_GET_PROT_MASK = 30470, mips64le:ppc64le:536901382 -ASHMEM_GET_SIZE = 30468, mips64le:ppc64le:536901380 -ASHMEM_PURGE_ALL_CACHES = 30474, mips64le:ppc64le:536901386 -ASHMEM_SET_NAME = 1090549505, mips64le:ppc64le:2164291329 -ASHMEM_SET_PROT_MASK = 1074296581, 386:arm:1074034437, mips64le:ppc64le:2148038405 -ASHMEM_SET_SIZE = 1074296579, 386:arm:1074034435, mips64le:ppc64le:2148038403 -AT_FDCWD = 18446744073709551516 -__NR_ioctl = 54, amd64:16, arm64:riscv64:29, mips64le:5015 -__NR_openat = 56, 386:295, amd64:257, arm:322, mips64le:5247, ppc64le:286, s390x:288 |
