diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2022-04-29 09:15:41 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-04-29 16:23:27 +0200 |
| commit | 44a5ca633e186c5836010366c515a4017836121b (patch) | |
| tree | 326b10c295737e0af8ce69ef8cbf2dbf4ecaccba /sys/linux/dev_tlk_device.txt | |
| parent | e9076525f882cc932139b6e813c39f3f0043c3f5 (diff) | |
pkg/ast, pkg/compiler: support per-file metadata
We have a bunch of hacks in syz-extract, syz-sysgen and syz-check
with respect to description files unsupported on some arches,
or that must not be part of make extract.
Add 2 meta attribtues to files:
meta noextract
Tells `make extract` to not extract constants for this file.
Though, `syz-extract` can still be invoked manually on this file.
meta arches["arch1", "arch2"]
Restricts this file only to the given set of architectures.
`make extract` and ``make generate` will not use it on other architectures.
Later we can potentially use meta attributes to specify git tree/commit
that must be used for extraction. Maybe something else.
Fixes #2754
Diffstat (limited to 'sys/linux/dev_tlk_device.txt')
| -rw-r--r-- | sys/linux/dev_tlk_device.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/linux/dev_tlk_device.txt b/sys/linux/dev_tlk_device.txt index a60649b25..36df7c209 100644 --- a/sys/linux/dev_tlk_device.txt +++ b/sys/linux/dev_tlk_device.txt @@ -5,6 +5,10 @@ # Reference source code: # https://android.googlesource.com/kernel/tegra/+/android-tegra-dragon-3.18-marshmallow-dr-dragon/security/tlk_driver/ote_protocol.h +# This was generated on unknown tree. +meta noextract +meta arches["386", "amd64", "arm", "arm64"] + include <linux/ioctl.h> include <linux/types.h> include <security/tlk_driver/ote_protocol.h> |
