aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/file_immutable
Commit message (Collapse)AuthorAgeFilesLines
* pkg/compiler: optimize array[const] representationDmitry Vyukov2021-04-211-2/+2
| | | | | | | | | | | | | | Represent array[const[X, int8], N] as string["XX...X"]. This replaces potentially huge number of: NONFAILING(*(uint8_t*)0x2000126c = 0); NONFAILING(*(uint8_t*)0x2000126d = 0); NONFAILING(*(uint8_t*)0x2000126e = 0); with a single memcpy. In one reproducer we had 3991 such lines. Also replace memcpy's with memset's when possible. Update #1070
* sys/linux: fix 240 warnings in descriptionsDmitry Vyukov2019-12-201-2/+2
| | | | | | Sweeping fix of everything up to socket_netlink_route.txt. Update #590
* prog: support AUTO args in programsDmitry Vyukov2018-12-101-5/+5
| | | | | | | | | | | | | | | AUTO arguments can be used for: - consts - lens - pointers For const's and len's AUTO is replaced with the natural value, addresses for AUTO pointers are allocated linearly. This greatly simplifies writing test programs by hand as most of the time we want these natural values. Update tests to use AUTO.
* executor: clean up immutable dirsDmitry Vyukov2018-08-091-0/+3
| | | | | | Turns out dirs can be immutable too. Update #650
* executor: clean up immutable filesDmitry Vyukov2018-08-081-0/+7
Fixes #650