aboutsummaryrefslogtreecommitdiffstats
path: root/executor
Commit message (Collapse)AuthorAgeFilesLines
...
* sys/linux: add time namespace descriptionsDmitry Vyukov2020-01-271-6/+6
|
* prog: remove unused ResourceDesc.TypeDmitry Vyukov2020-01-261-15/+15
|
* pkg/serializer: do not write field names if it won't save spaceDmitry Vyukov2020-01-261-19/+19
| | | | | | | If we are going to write all values, don't write field names. This only increases size of generated files. The change reduces size of generated files by 5.8% (62870496-59410354=3460142 bytes saved).
* sys/linux: extend DRM ioctl descriptionsDmitry Vyukov2020-01-252-24/+224
| | | | | | + disable binderfs (see comments) + add few more missing tty ioctls + improve few minor things in hci descriptions
* sys/linux: restore FOU_ATTR_LOCAL/PEER_V6Dmitry Vyukov2020-01-231-6/+6
| | | | | They are being fixed in kernel: https://lists.openwall.net/netdev/2020/01/23/122
* sys/linux: improve infiniband_rdma descriptionsDmitry Vyukov2020-01-231-6/+6
|
* tools/syz-check: add limited checking of varlen structsDmitry Vyukov2020-01-231-6/+6
| | | | | | | | Stop at the fist varlen field, but check the preceeding ones. Frequently the varlen array is the last field, so we should get good checking for these cases. Update #590
* sys/linux: check for missing/duplicate netlink attrsDmitry Vyukov2020-01-231-6/+6
| | | | Update #590
* sys/linux: fix more netlink warningsDmitry Vyukov2020-01-231-6/+6
| | | | | | | | | | Handle NLA_BITFIELD32. Match string attribtues better. Calculate and check min size for varlen structs. Fix NLA_UNSPEC size check. Fix some things in descriptions. Update #590
* sys/linux: fix incorrect nlattr sizesDmitry Vyukov2020-01-221-6/+6
| | | | Update #590
* sys/linux: more fixing of netlink policy namesDmitry Vyukov2020-01-221-6/+6
| | | | Update #590
* sys/linux: mark all nested netlink attributes as nlnestDmitry Vyukov2020-01-221-6/+6
| | | | | | | | | | | As far as I understand most subsystems don't care about the nest flag, but some do. But marking them as nest won't harm (?). Let's mark all of them. Caught several cases where should have been used array[policy] but used just policy. Update #590
* tools/syz-check: improve matching netlink attributesDmitry Vyukov2020-01-221-6/+6
| | | | | | | | | | 1. Match policies that has a _suffix in our descriptions (we frequently do this to improve precision or avoid dup names). 2. Rename policies in descriptions to match kernel names. 3. Match policy if there are several such names in kernel. 4. Recognize policies with helper sub-policies. Update #590
* sys/linux: fix IFLA_BR_GROUP_ADDR typeDmitry Vyukov2020-01-201-6/+6
|
* sys/linux: add more device descriptions (geneve, lowpan, ipoib, cfhsi)Dmitry Vyukov2020-01-193-10/+63
|
* sys/linux: add some batadv descriptionsDmitry Vyukov2020-01-183-7/+137
|
* executor: create macvtap, macsec devicesDmitry Vyukov2020-01-182-12/+21
|
* pkg/compiler: don't mark flags with 0 as bitmaskDmitry Vyukov2020-01-181-17/+17
| | | | | | | They can't be a bitmask. This fixes important cases of "0, 1" and "0, 1, 2" flags. Fix some descriptions that added 0 to bitmasks explicitly (we should do it automatically instead).
* pkg/compiler: sort flags valuesDmitry Vyukov2020-01-181-14/+14
| | | | | | Will simplify runtime analysis of flags. Also just no reason to make it more deterministic and avoid unnecessary diffs in future if values are reordered.
* pkg/compiler: generate const[0] for flags w/o valuesDmitry Vyukov2020-01-181-8/+8
| | | | | | | Generate const[0] for flags without values and for flags with a single value which is 0. This is the intention in all existing cases (e.g. an enum with types of something, but there is really only 1 type exists).
* sys/linux: fix sigset_t/sigaction layout on armDmitry Vyukov2020-01-181-6/+6
| | | | Update #590
* prog: don't add fallback coverage after prctlDmitry Vyukov2020-01-152-1/+2
| | | | The same reason as with seccomp.
* executor: ignore prctl in fallback coverageDmitry Vyukov2020-01-151-1/+7
| | | | | | Some prctl commands don't respect the normal convention for return values (e.g. PR_GET_TIMERSLACK, but there are more) and may produce all possible errno values. This conflicts with fallback coverage.
* sys/linux: extend and improve NFNL_SUBSYS_NFTABLES descriptionsDmitry Vyukov2020-01-152-12/+6
|
* sys/linux: add NFNL_SUBSYS_NFTABLES descriptionsDmitry Vyukov2020-01-142-6/+72
|
* sys/linux: add NFNL_SUBSYS_CTNETLINK_TIMEOUT descriptionsDmitry Vyukov2020-01-132-6/+36
|
* executor: provide explicit values for usb_raw_event_typeAndrey Konovalov2020-01-131-3/+3
| | | | To match the kernel uapi headers.
* sys/linux: add NFNL_SUBSYS_ACCT descriptionsDmitry Vyukov2020-01-132-6/+30
|
* sys/linux: add NFNL_SUBSYS_OSF descriptionsDmitry Vyukov2020-01-132-6/+18
|
* sys/freebsd: fix ipv6_packet nameDmitry Vyukov2020-01-121-2/+2
| | | | | The common code now expects it to be called ipv6_packet_t. The freebsd fork wasn't updated when the linux version changed.
* sys/linux: open more files from procfsDmitry Vyukov2020-01-122-6/+18
|
* sys/linux: add NFNL_SUBSYS_ULOG descriptionsDmitry Vyukov2020-01-092-6/+12
|
* sys/linux: add NFNL_SUBSYS_QUEUE descriptionsDmitry Vyukov2020-01-092-6/+24
|
* sys/linux: few minor ipset improvements.Dmitry Vyukov2020-01-071-6/+6
| | | | | 1. Add "bitmap:port" type. 2. ipv4/6 addresses must be in network byte order.
* sys/linux: add ipset descriptionsDmitry Vyukov2020-01-072-6/+120
|
* sys/linux: fix 2 netlink data layout bugsDmitry Vyukov2020-01-071-10/+10
| | | | | | | | | | | 1. Turns out that NLA_F_NESTED is actually used and checked (nla_parse_nested checks it, while nla_parse_nested_deprecated does not). Similarly, ipset extensively checks NLA_F_NET_BYTEORDER. So we need these bits. 2. nla_len must not account for the trailing alighnment padding. This means we set wrong len for payloads that are not multiple of 4 (int8/int16/strings/arrays/some structs/etc).
* pkg/compiler: fix another bitfield layout bugDmitry Vyukov2020-01-071-10/+10
| | | | See the added test for details.
* executor: setns requires including sched.h on some setupsAndrey Konovalov2020-01-071-0/+1
|
* sys/linux: add NFNL_SUBSYS_CTHELPER/NFNL_SUBSYS_CTNETLINK_EXP descriptionsDmitry Vyukov2020-01-052-6/+48
|
* prog: fix tests for string enforcementDmitry Vyukov2020-01-052-7/+13
| | | | | | | | String value enforcement broke a number of tests where we use different values. Be more string as to what string values we use in tests. Required to add tmpfs descriptions to test syz_mount_image. Also special-casing AF_ALG algorithms as these are auto-generated.
* sys/linux: add AF_NETLINK/NETLINK_NETFILTER/NFNL_SUBSYS_CTNETLINK descriptionsDmitry Vyukov2020-01-052-6/+54
|
* prog: don't mutate strings with enumerated valuesDmitry Vyukov2020-01-052-1/+3
| | | | | | | | | | Strings with enumerated values are frequently file names or have complete enumeration of relevant values. Mutating complete enumeration if not very profitable. Mutating file names leads to escaping paths and fuzzer messing with things it is not supposed to mess with as in: r0 = openat$apparmor_task_exec(0xffffffffffffff9c, &(0x7f0000000440)='/proc/self//exe\x00', 0x3, 0x0)
* executor: fix IPVLAN_F_VEPA definition againDmitry Vyukov2020-01-031-2/+1
| | | | | | | | Now other machines failed with redefinition IPVLAN_F_VEPA. The #ifndef does not really work the way it should due to the way pkg/csource preprocesses sources. IPVLAN_F_VEPA is never defined during preprocessing. Let's try this.
* sys/linux: add vlan/macvlan/ipvlan/mactap device policiesDmitry Vyukov2020-01-031-6/+6
|
* executor: define constants that are missing on some distrosDmitry Vyukov2020-01-031-0/+6
|
* executor: setup vlan/macvlan/ipvlan devicesDmitry Vyukov2020-01-032-9/+70
|
* sys/linux: add basic AF_PHONET descriptionsDmitry Vyukov2020-01-032-6/+119
|
* sys/linux: add minimal AFS descriptionsDmitry Vyukov2020-01-032-6/+12
|
* sys/linux: add 80211 descriptionsDmitry Vyukov2020-01-032-6/+222
|
* sys/linux: fix SIOCGIFINDEXDmitry Vyukov2020-01-031-6/+6
| | | | | | | Mark ifindex as opt in SIOCGIFINDEX. Otherwise it's considered inout and SIOCGIFINDEX can't be used to produce ifindex'es on its own. It requires an input ifindex first and only then it can output own ifindex.