| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | sys/freebsd: add inotify definitions | Mark Johnston | 2025-07-04 | 2 | -0/+46 |
| | | |||||
| * | sys/freebsd: chase removal of TCP_PCAP_{IN,OUT} | Mark Johnston | 2025-07-04 | 2 | -3/+1 |
| | | |||||
| * | sys/syz-sysgen: serialize descriptions as gob and embed | Dmitry Vyukov | 2025-01-23 | 1 | -6/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of generating Go files with descriptions serialize them as gob and compress with flate. This significantly reduces build time, go vet time, and solves scalability problems with some static analysis tools. Reference times (all after rm -rf ~/.cache/go-build) before: TIME="%e %P %M" time go install ./syz-manager 48.29 577% 4824820 TIME="%e %P %M" time go test -c ./prog 56.28 380% 6973292 After: TIME="%e %P %M" time go install ./syz-manager 22.81 865% 859788 TIME="%e %P %M" time go test -c ./prog 12.74 565% 267760 syz-manager size before/after: 194712597 -> 83418407 -57% even provided we now embed all descriptions instead of just a single arch. Deflate/decoding time for a single Linux arch is ~330ms. Fixes #5542 | ||||
| * | sys/freebsd: add SO_SPLICE and regenerate | Mark Johnston | 2024-10-28 | 5 | -22/+8 |
| | | |||||
| * | pkg/host: explicitly disable syz_execute_func | Dmitry Vyukov | 2024-04-29 | 1 | -1/+1 |
| | | | | | | | | | | Disable the syscall in descriptions rather than in the code. This makes it more visible for users that it's disabled, and makes it less special (will not need to move this logic to host). Also change the condition in syz-sysgen to be more precise, otherwise syz_execute_func becomes unused function. | ||||
| * | sys/freebsd: add description file socket_bluetooth.txt | Oliver Sieber | 2024-04-22 | 2 | -0/+133 |
| | | |||||
| * | sys/freebsd: use nested flag definitions where sensible | Paul Chaignon | 2023-12-05 | 4 | -6/+6 |
| | | | | | | | These flags were identified using the same script as for sys/linux. Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com> | ||||
| * | sys: consolidate sockopt_opt_{ip,ipv6}_group_source_req flags | Paul Chaignon | 2023-12-05 | 2 | -5/+3 |
| | | | | | | | | | | On the Linux, Darwin, and FreeBSD targets, sockopt_opt_ip_group_source_req and sockopt_opt_ipv6_group_source_req are equal. This commit consolidates those flag definitions to use a single one and renames it to sockopt_opt_group_source_req. Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com> | ||||
| * | sys/freebsd: regen for MAP_32BIT on i386 | Andrew Turner | 2023-08-31 | 1 | -1/+1 |
| | | |||||
| * | sys/freebsd: update the *_DEADKEYMAP definitions | Andrew Turner | 2023-08-31 | 2 | -2/+16 |
| | | | | | | GIO_DEADKEYMAP and PIO_DEADKEYMAP have been updated uo support Unicode characters. Update the structure definitions and add the compat ioctls. | ||||
| * | sys/freebsd: remove removed pf ioctls | Kristof Provost | 2023-08-29 | 2 | -8/+0 |
| | | | | | | | | | Upstream has removed DIOCCLRSTATES and DIOCKILLSTATES. Remove them from our list as well. While here also remove DIOCGETRULE and DIOCGETSTATUS, because those will go away soon. | ||||
| * | sys/freebsd: regenerate FreeBSD const files | Andrew Turner | 2023-03-01 | 35 | -35/+35 |
| | | |||||
| * | sys/freebsd: regenerate riscv64 definitions | P1umer | 2023-01-03 | 9 | -84/+84 |
| | | |||||
| * | all: add freebsd/riscv64 support | P1umer | 2023-01-03 | 35 | -36/+36 |
| | | |||||
| * | Add filemon(4) ioctl definitions for FreeBSD (#2887) | Mark Johnston | 2021-11-20 | 2 | -0/+20 |
| | | | | | | * sys/freebsd: add definitions for filemon(4) * pkg/build: load filemon.ko on FreeBSD | ||||
| * | sys: remove confusing comments that fake directives | Dmitry Vyukov | 2021-11-12 | 1 | -3/+0 |
| | | | | | | | | | | It's a somewhat common mistake to write comments instead of directives: #include <foo> #define FOO BAR because that's how it's done in C. In preparation for warning about such cases remove all existing comments that fake directives. | ||||
| * | sys/freebsd: add procctl(2) definitions | Mark Johnston | 2021-10-28 | 2 | -0/+98 |
| | | |||||
| * | sys/freebsd: add setfib(2) | Mark Johnston | 2021-09-10 | 2 | -0/+2 |
| | | |||||
| * | sys/freebsd: add getdirentries(2) | Mark Johnston | 2021-09-10 | 2 | -0/+2 |
| | | |||||
| * | sys/freebsd: regenerate 386 definitions | Mark Johnston | 2021-09-10 | 3 | -18/+18 |
| | | |||||
| * | sys/freebsd: added io(4), smbus(4), efidev(4), evdev(4) | Simran Kathpalia | 2021-08-17 | 6 | -0/+379 |
| | | |||||
| * | sys/freebsd: add definitions for fspacectl(2) | Mark Johnston | 2021-08-05 | 2 | -0/+10 |
| | | |||||
| * | sys/freebsd: add SO_RERROR | Mark Johnston | 2021-07-28 | 2 | -1/+2 |
| | | |||||
| * | sys/freebsd: add sysarch(2) | Mark Johnston | 2021-07-28 | 2 | -0/+89 |
| | | |||||
| * | sys/freebsd: regenerate definitions for i386 | Mark Johnston | 2021-07-28 | 2 | -13/+13 |
| | | |||||
| * | sys/freebsd: added md(4) | Simran Kathpalia | 2021-06-29 | 2 | -0/+48 |
| | | |||||
| * | sys/freebsd: added __specialfd syscall | Simran Kathpalia | 2021-06-29 | 2 | -0/+9 |
| | | |||||
| * | sys/freebsd: added kbd(4) | Simran Kathpalia | 2021-06-29 | 3 | -1/+206 |
| | | |||||
| * | sys/freebsd: added syscalls under signal.h | Simran Kathpalia | 2021-06-04 | 2 | -1/+81 |
| | | |||||
| * | sys/freebsd: added aio syscalls | Simran Kathpalia | 2021-06-04 | 3 | -1/+77 |
| | | |||||
| * | sys/freebsd: added bpf(4) ioctl | Simran Kathpalia | 2021-05-29 | 2 | -0/+240 |
| | | |||||
| * | sys/freebsd: add ktrace(2) | Mark Johnston | 2021-05-20 | 2 | -0/+34 |
| | | |||||
| * | sys/freebsd: rebuild const files for 386 | Andrew Turner | 2021-05-17 | 5 | -54/+55 |
| | | |||||
| * | sys/freebsd: fix sigevent_u to work for 386 | Andrew Turner | 2021-05-17 | 1 | -1/+1 |
| | | | | | The spare data is long, so use intptr as the closest type. | ||||
| * | sys/freebsd: fix cmsghdr_un_cred on FreeBSD | Andrew Turner | 2021-05-17 | 1 | -1/+4 |
| | | | | | | * Use the FreeBSD SCM_CREDS value rather than the Linux SCM_CREDENTIALS. * Update based on the FreeBSD struct cmsgcred | ||||
| * | sys/freebsd: remove Linux headers | Andrew Turner | 2021-05-17 | 5 | -5/+2 |
| | | | | | | | These are only needed when building Linux ABI support and are not needed by native FreeBSD system calls. As these files describe the native FreeBSD ABI remove them. | ||||
| * | sys/freebsd: fix some problems with SysV semaphore definitions (#2588) | Mark Johnston | 2021-05-15 | 2 | -24/+20 |
| | | | | | | | | | | | - There is no __semctl(SEM_INFO). - The fields in semid_ds and ipc_perm were wrong. - The last parameter for many of the operations was specified incorrectly. The last problem resulted in occasional SYZFAILs when IPC_STAT is used since the output region doesn't get set up properly and in some cases can cause kcov data to be overwritten. | ||||
| * | sys/freebsd: improve desription of KTLS TX mode (#2586) | Michael Tüxen | 2021-05-13 | 2 | -1/+8 |
| | | |||||
| * | sys/freebsd: disable close_range(2) and closefrom(2) (#2585) | Mark Johnston | 2021-05-13 | 2 | -5/+4 |
| | | | | | | | | These tend to generate false-positive reports when, e.g., tunfd gets clobbered. In particular, tunfd is dup'ed to fd 240, so close_range(fd, ~0, 0) tends to result in an error. These system calls are not very interesting in light of the fact that close(2) is still available, so let's just disable them. | ||||
| * | sys/freebsd: add support for CC module socket options | Michael Tuexen | 2021-05-13 | 2 | -0/+22 |
| | | |||||
| * | sys/freebsd: add O_EMPTY_PATH | Mark Johnston | 2021-05-11 | 2 | -1/+2 |
| | | |||||
| * | sys/freebsd: add definitions for KTLS | Mark Johnston | 2021-05-11 | 2 | -0/+44 |
| | | |||||
| * | sys/freebsd: added crypto(4) ioctl | Simran Kathpalia | 2021-05-03 | 2 | -0/+115 |
| | | |||||
| * | pkg/build, sys/freebsd: add support for SCTP over UDP | Michael Tuexen | 2021-04-25 | 2 | -0/+12 |
| | | |||||
| * | sys/freebsd: fix struct sockaddr_storage usage | Michael Tuexen | 2021-04-25 | 2 | -6/+6 |
| | | | | | | | | | The size of struct sockaddr_storage is always 128 bytes. So the padding after struct sockaddr_in, which is of size 16, needs to be an array of 14 uint64s. This allows to describe the structures used in the SCTP socket options as unpacked | ||||
| * | pkg/build, sys/freebsd: add support for TCP over UDP | Michael Tuexen | 2021-04-25 | 2 | -1/+2 |
| | | |||||
| * | sys: commit empty source files | Dmitry Vyukov | 2021-04-21 | 1 | -0/+6 |
| | | | | | | | Commit empty files into generated packages, so that the tree is buildable even w/o generated files and Go tools continue to work. | ||||
| * | sys/freebsd: add O_PATH, AT_EMPTY_PATH, AT_RESOLVE_BENEATH | Mark Johnston | 2021-04-19 | 4 | -8/+12 |
| | | |||||
| * | sys/freebsd: added mount(2), statfs(2), getlogin(2) related syscalls | Simran Kathpalia | 2021-04-14 | 6 | -1/+123 |
| | | |||||
| * | sys/freebsd: added few syscalls | Simran Kathpalia | 2021-03-29 | 4 | -1/+57 |
| | | |||||
