aboutsummaryrefslogtreecommitdiffstats
path: root/sys/netbsd/socket_unix.txt
Commit message (Collapse)AuthorAgeFilesLines
* pkg/compiler: refactor attribute handlingDmitry Vyukov2020-04-191-2/+2
| | | | | | | | | | | | Introduce common infrastructure for describing and parsing attribute instead of custom per-attribute code scattered across several locations. Change align attribute syntax from the weird align_N to align[N]. This also allows to use literal constants as N. Introduce notion of builtin constants. Currently we have only PTR_SIZE, which is needed to replace align_ptr with align[PTR_SIZE].
* sys: check that target consts are definedDmitry Vyukov2018-10-191-0/+1
| | | | | | | | | | | | | | Currently when we get target consts with target.ConstMap["name"] during target initialization, we just get 0 for missing consts. This is error-prone as we can mis-type a const, or a const may be undefined only on some archs (as we have common unix code shared between several OSes). Check that all the consts are actually defined. The check detects several violations, to fix them: 1. move mremap to linux as it's only defined on linux 2. move S_IFMT to openbsd, as it's only defined and used on openbsd 3. define missing MAP_ANONYMOUS for freebsd and netbsd 4. fix extract for netbsd
* pkg/compiler: add check that len does not refer to array with varlen elementsDmitry Vyukov2017-11-281-1/+1
| | | | | This [almost] always means a bug in descriptions. Fix all bugs identified by the check.
* Added a few more syscall descriptions, constsUtkarsh Anand2017-10-301-0/+78
and other related files.