diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2019-02-01 01:08:17 +0100 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@gmail.com> | 2019-02-01 14:40:17 +0100 |
| commit | 9f528bbcc8a3d94c9be27a0eecc12022d4b3bfaa (patch) | |
| tree | 59bcdb899b42ba9d793d5bbac6cf58a4a9132143 /sys/linux/dev_ashmem.txt | |
| parent | aa53be276dc84aa8b3825b3416542447ff82b41a (diff) | |
sys/linux: rename dev descriptions files
Prefix file names of descriptions of /dev/* files with dev_.
And give some of them more appropriate names.
Diffstat (limited to 'sys/linux/dev_ashmem.txt')
| -rw-r--r-- | sys/linux/dev_ashmem.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sys/linux/dev_ashmem.txt b/sys/linux/dev_ashmem.txt new file mode 100644 index 000000000..8cec77506 --- /dev/null +++ b/sys/linux/dev_ashmem.txt @@ -0,0 +1,24 @@ +# 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 +} |
