aboutsummaryrefslogtreecommitdiffstats
path: root/sys/freebsd/sys_amd64.const
Commit message (Collapse)AuthorAgeFilesLines
* sys/freebsd: switch to the new .const formatMark Johnston2020-09-131-190/+0
|
* sys/freebsd: add __realpathat system callMark Johnston2020-03-271-0/+1
|
* sys/freebsd: use symbolic names for faccessat(2) flagsMark Johnston2020-03-271-0/+2
|
* sys/freebsd: add chflags(2) and related syscallsMark Johnston2020-03-271-0/+21
|
* sys/freebsd: add lchmod(2)Mark Johnston2020-03-271-0/+1
|
* sys/freebsd: add copy_file_range(2)Mark Johnston2020-03-271-0/+1
|
* sys/freebsd: add minherit(2)Mark Johnston2020-03-271-0/+5
|
* sys/freebsd/sys.txt: update sendfile descriptionMichael Tuexen2019-09-161-0/+4
| | | | | The signature of sendfile() on FreeBSD is different from the one used on Linux.
* sys/freebsd: avoid mangling syscall namesMark Johnston2019-03-071-6/+3
| | | | | | | | | | | | | | | | | syz-extract was removing certain prefixes from syscall names, but this caused some problems: - freebsd* prefixes are for compatibility syscalls when the syscall ABI has changed. For instance, we have both fstat() and freebsd11_fstat(), and it is desirable to fuzz them both. - Stripping prefixes may leave us with undefined SYS_ constants. This resulted in some test failures in pkg/csource, which emitted code referencing SYS_semctl when it should have been SYS___semctl. Fix the problem by updating syscall descriptions to match the names given by the FreeBSD kernel. Add some new descriptions for compatibility syscalls, fix the mknodat() description (dev_t is now 64 bits wide on FreeBSD), and remove mknod$loop, which appears to be Linux-specific.
* sys/freebsd: Improve socket related tests for FreeBSD.Michael Tuexen2018-12-081-20/+0
|
* sys: check that target consts are definedDmitry Vyukov2018-10-191-35/+0
| | | | | | | | | | | | | | 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
* sys/freebsd: add POLLINIGNEOFTobias Klauser2017-11-081-0/+1
|
* sys/freebsd: more syscall descriptionsDmitry Vyukov2017-10-171-6/+210
| | | | | | | This is mostly copied form linux. We probably need better support for sharing descriptions between multiple OSes. But there are lots of differences, so this is not trivial.
* sys/syz-extract: support freebsdDmitry Vyukov2017-10-121-6/+8
|
* all: basic freebsd supportDmitry Vyukov2017-10-021-0/+6
For now we just make Go part build for freebsd.