aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/ppc64le.go
Commit message (Collapse)AuthorAgeFilesLines
* sys: move generate files to separate packagesDmitry Vyukov2018-05-051-29473/+0
| | | | | | | | | Move generated files to gen subdir. This allows to: 1. Rebuild init.go without rebuilding generated code. 2. Excluding generated files from gometalinter checking. This makes faster and consume less memory. Update #538
* gometalinter: enable package comment checkingDmitry Vyukov2018-05-031-1/+2
| | | | Update #538
* sys/linux: add few more filesystems with imagesDmitry Vyukov2018-04-291-1/+46
|
* sys/linux: describe block device ioctlsDmitry Vyukov2018-04-291-8/+535
| | | | | | Describe block device ioctls. Describe sg device ioctls. Add few more devices.
* sys/linux: a bunch of assorted improvementsDmitry Vyukov2018-04-271-14/+158
|
* sys/linux: extend namespace desciptionsDmitry Vyukov2018-04-271-5/+11
| | | | | Slightly extend namespace descriptions and move them to a separate file.
* sys/linux/socket_netlink_route: add routing rulesHangbin Liu2018-04-251-5/+263
| | | | | | | | | | | | | | Also fix RTA_MULTIPATH data type. We only need struct rtnexthop, no need to use array type. v1 -> v2: Use uid and sock_port instead of int32/16. Use flags for FRA_PROTOCOL and FRA_IP_PROTO. Add type fib_rule_hdr because even though the structure is same with rtmsg. The table, action and flags values are not same. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux: add f2fs supportDmitry Vyukov2018-04-191-1/+123
|
* sys/linux: add i2c generic descriptionDenis Efremov2018-04-191-1/+97
| | | | Basic description of i2c from SIL2LinuxMP workshop.
* sys/linux/socket_netlink_route: update RTM_GETSTATS PAYLOAD formatHangbin Liu2018-04-191-28/+32
| | | | | | | | Update RTM_GETSTATS PAYLOAD format. Also fix ipv4_getroute and ipmr_getroute PAYLOAD format. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* executor: add two slave interfaces for bridge,bond,teamHangbin Liu2018-04-131-63/+63
| | | | | | | | Bridge device is used for forwarding. Bond/team device is used for load balance and fail over. So it would make more sense to add two slave interfaces for these devices. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux/rdma_cm: remove RDMA_PS_SDPHangbin Liu2018-04-131-3/+2
| | | | | | | RDMA_PS_SDP has been removed since commit 1b90d3002e3ee ("RDMA/CMA: remove RDMA_PS_SDP") Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux: add veth devices to devnamesDmitry Vyukov2018-04-111-54/+54
| | | | Also comment new veth code for future me.
* sys/linux: improve team descriptionsDmitry Vyukov2018-04-061-317/+272
| | | | | | | | | | | | | | | | | | | 1. Create ifindex_team, because TEAM_ATTR_TEAM_IFINDEX must always point to a team device. 2. Remove output only attributes like team_attr_item_port, TEAM_ATTR_LIST_PORT, TEAM_ATTR_OPTION_CHANGED. 3. Restructure team_nl_option_policy: we always want TEAM_ATTR_OPTION_NAME/TYPE/DATA + optionally TEAM_ATTR_OPTION_ARRAY_INDEX and TEAM_ATTR_OPTION_PORT_IFINDEX. 4. Provide specialized team_nl_option_policy_per_port and team_nl_option_policy_array. 5. Make team_attr_option varlen. 6. Remove unnecessary indirection via team_attr_list_option/team_attr_list_port. 7. Fix data type for bpf_hash_func and lb_tx_hash_to_port_mapping.
* sys/linux: add netlink generic team descriptionsHangbin Liu2018-04-061-1/+525
| | | | Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux: test various binfmt's in execveDmitry Vyukov2018-04-021-1/+160
|
* pkg/compiler: support non-zero terminated filenamesDmitry Vyukov2018-04-021-23/+23
| | | | | | | | | | | | | | | Now file names become: string[filename] with a possibility of using other string features: stringnoz[filename] string[filename, CONST_SIZE] and filename is left as type alias as it is commonly used: type filename string[filename]
* sys/linux: add support for reading partition tablesDmitry Vyukov2018-04-011-1/+6
|
* sys/linux: fix misspelled const nameDmitry Vyukov2018-03-311-3/+4
| | | | Fixes #552
* sys/linux: add support for mounting filesystem imagesDmitry Vyukov2018-03-301-1/+977
|
* sys/linux: regenerate filesDmitry Vyukov2018-03-291-2/+2
| | | | | A previous commit included some non-regenerateed files. Regenerate them now.
* executor: rework cgroups supportDmitry Vyukov2018-03-271-3/+8
| | | | | | | | | | Turns out creating a cgroup per test is too expensive. Moreover, it leads to hanged tasks as cgroup destruction is asynchronous and overloads kernel work queues. Create only a single cgroup per proc, but restrict descriptions to mess with that single group, instead test processes create own nested cgroups for messing.
* sys/linux: add IPVS descriptionsDmitry Vyukov2018-03-261-2/+1066
| | | | Update #533
* sys/linux: add cgroup descriptionsDmitry Vyukov2018-03-251-6/+100
|
* sys/linux: add guehdr for udp packetsDmitry Vyukov2018-03-211-1/+15
|
* sys/linux: add netlink fou descriptionsDmitry Vyukov2018-03-211-1/+153
|
* sys/linux: fix nlattr alignmentDmitry Vyukov2018-03-211-28/+14
| | | | It seems that alignment is never present in the nlattr.
* all: fix gometalinter warningsDmitry Vyukov2018-03-081-2/+2
| | | | Fix typos, non-canonical code, remove dead code, etc.
* sys/linux: add descriptions for /dev/infiniband/rdma_cmDmitry Vyukov2018-03-061-1/+496
| | | | Also fix uffd and bluetooth consts while we are here.
* sys/linux: fix perf_event_attr layoutDmitry Vyukov2018-03-061-4/+3
|
* sys/linux: add syz_init_net_socket syscallDmitry Vyukov2018-03-051-69/+61
| | | | | | | | | | | The new pseudo syscall allows opening sockets that can only be created in init net namespace (BLUETOOTH, NFC, LLC). Use it to open these sockets. Unfortunately this only works with sandbox none at the moment. The problem is that setns of a network namespace requires CAP_SYS_ADMIN in the target namespace, and we've lost all privs in the init namespace during creation of a user namespace.
* sys/linux: make ifreq template, fix some usagesDmitry Vyukov2018-03-051-166/+81
|
* sys/linux: use size attributes on structsDmitry Vyukov2018-03-051-186/+123
| | | | | | | | | | | 1. Add size attribte on sockaddr. 2. Remove sockaddr's that are larger than 16 bytes from sockaddr. 3. Add size attribute on sockaddr_storage which wasn't actually 128 bytes. 4. Add size attribute to ifreq. 5. Fix ifmap field types as uncovered by the size attributes. 6. Fix sockaddr_storage_tcp from struct to union which is should be. 7. Make sockaddr_un_file fixed size as it should be. 8. Fix some explicit paddings that were only correct for 64 bits.
* sys/linux: a bunch of assorted improvements and fixesDmitry Vyukov2018-03-051-132/+112
|
* sys/linux: add remaining aux netfilter descriptionsDmitry Vyukov2018-03-011-1/+218
|
* sys/linux: few assorted additionsDmitry Vyukov2018-02-261-10/+85
|
* sys/linux: remove proc type from network descriptionsDmitry Vyukov2018-02-261-415/+361
| | | | | | | | | | We now always create net namespace for testing, so socket ports and other IDs do not overlap between different test processes. Proc types play badly with squashing packets to ANYBLOB. To squash into a block we need concrete value, but it depends on process id. Removing proc also makes tun setup and address descriptions simpler.
* sys/linux: make tcp_seq_num asymmetricDmitry Vyukov2018-02-261-2/+2
| | | | | | Currently it's 0x42424242 so it's not possible to understand the value endianess in hints code. Make it assymmetric so that endinaness is clear.
* prog: add arbitrary mutation of complex structsDmitry Vyukov2018-02-251-4/+4
| | | | | | Squash complex structs into flat byte array and mutate this array with generic blob mutations. This allows to mutate what we currently consider as paddings and add/remove paddings from structs, etc.
* pkg/compiler: fix alignment corner caseDmitry Vyukov2018-02-251-3/+2
| | | | | Fix alignemnt calculation for packed structs with alignment and bitfields. Amusingly this affected only a single real struct -- ipv6_fragment_ext_header.
* pkg/compiler: don't assign call IDs staticallyDmitry Vyukov2018-02-251-1557/+1557
| | | | | | IDs change whenever a call is added or removed, this leads to large diffs unnecessarly. Assign IDs dynamically.
* sys: fix descriptions for strickter return type checksDmitry Vyukov2018-02-231-3/+3
| | | | | Mostly remove vma as return from some mm syscalls. This is unnecessary and we never used these.
* sys/linux: add AF_SMC socketsDmitry Vyukov2018-02-221-141/+153
|
* executor: bring up bond and veth devicesDmitry Vyukov2018-02-221-10/+10
|
* sys/linux: add few ip and tcp optionsDmitry Vyukov2018-02-221-6/+38
|
* sys/linux: minor fixes to bt descriptionsDmitry Vyukov2018-02-191-12/+18
|
* pkg/compiler: fix corner case in alignment calculationDmitry Vyukov2018-02-191-50/+71
|
* prog: rework address allocationDmitry Vyukov2018-02-191-2/+2
| | | | | | | | | | | | 1. mmap all memory always, without explicit mmap calls in the program. This makes lots of things much easier and removes lots of code. Makes mmap not a special syscall and allows to fuzz without mmap enabled. 2. Change address assignment algorithm. Current algorithm allocates unmapped addresses too frequently and allows collisions between arguments of a single syscall. The new algorithm analyzes actual allocations in the program and places new arguments at unused locations.
* sys/linux: add bridge netfilter supportDmitry Vyukov2018-02-171-388/+1268
|
* sys/linux: fixes for network descriptionsDmitry Vyukov2018-02-171-11/+13
| | | | | | | 1. Fix connlimit netfilter match version. 2. Fix xt_time_info layout. 3. Introduce mac_addr_mask type. 4. Limit vlan id's for better matches between them.