Commit Graph

284715 Commits

Author SHA1 Message Date
kamil 8b3e8a91ea Add SRTP (Secure Real-time Transport Protocol) 2021-01-21 18:09:10 +00:00
kamil 91087f702f Add RTP (Real-time Transport Protocol) 2021-01-21 17:58:56 +00:00
kamil f97af39491 Add PBX (private branch exchange) 2021-01-21 17:53:05 +00:00
nia 2491cdd9b6 add vcaudio (intentionally this time)
gives working audio output on rpi3 without needing to run a 32-bit image.
2021-01-21 17:46:28 +00:00
riastradh 4c8ed8b3ce entropy: Reduce `no seed from bootloader' message to debug level.
This does not necessarily indicate a problem -- only x86 and arm pass
a seed from the bootloader anyway -- so it makes for an always-on
warning on some platforms, including all rump kernels, which is not
helpful.
2021-01-21 17:33:55 +00:00
wiz af4f4aa108 Quote minus. 2021-01-21 17:05:50 +00:00
wiz 6666195182 Use Nm instead of xref to itself. Fix typo. 2021-01-21 16:57:52 +00:00
thorpej fed9ff05fd Add a manual page for strlist(9). 2021-01-21 15:53:15 +00:00
thorpej 2be6059b3b Allow this to be built for the strlist.c unit tests. 2021-01-21 15:44:14 +00:00
thorpej fa320c3f7e Add a generic set of routines for interacting with OpenFirmware-style
string lists.
2021-01-21 15:43:37 +00:00
rillig 9576543b4d make(1): merge duplicate code in Parse_MainName 2021-01-21 14:30:01 +00:00
rillig 91b99e6865 make(1): extract CondParser_StringExpr from CondParser_String 2021-01-21 14:24:25 +00:00
rillig 94db50b820 make(1): demonstrate parse error without error message in conditional 2021-01-21 14:08:09 +00:00
rillig 228797e51e make(1): add test case for bare word containing quotes 2021-01-21 13:52:32 +00:00
rillig b2d228dbe0 make(1): make CondParser_String simpler
No functional change.
2021-01-21 13:51:24 +00:00
rillig 0944a3bf8a make(1): add more tests for edge cases in conditionals 2021-01-21 13:32:17 +00:00
rillig 518f5979c1 make(1): fix Coverity annotation
FStr is not an allocated data type.
2021-01-21 13:31:38 +00:00
kre 7a75ee633d PRIxXXXX (etc) definitions should not include the %
Will fix anything this ends up breaking later.
2021-01-21 09:50:37 +00:00
martin 3c3f3d1a1c Use PRIxBUSSIZE to print a bus_size_t value. 2021-01-21 08:17:13 +00:00
nia d4087573d3 remove accidental additions 2021-01-21 06:57:26 +00:00
nia f3ec8521a0 add a commented out compat_ossaudio wherever there's compat_linux
requested by mrg
2021-01-21 06:51:54 +00:00
nia 68be1a8af5 remove "no options" for compat_ossaudio now it's disabled by default 2021-01-21 06:18:22 +00:00
simonb 14893fad26 Use .set noreorder and use reg names.
atf- lib/libc/sys/t_mprotect mprotect_mremap_exec is a bit happier now.
2021-01-21 00:56:41 +00:00
rillig 78ff715cb8 make(1): add more tests for tokens in conditionals 2021-01-21 00:38:28 +00:00
jdolecek 8c601f6c5a fix free_all_endpoints() to not try calling free_pipe() when no endpoints
are allocated; this can happen during config_detach() after attach fails

Reported-by: syzbot+6e8a4c978358ecead03e@syzkaller.appspotmail.com
Reported-by: syzbot+b25ba25b57561144ac6e@syzkaller.appspotmail.com
2021-01-20 22:46:33 +00:00
reinoud cf6aa6e730 Remove the virtio child driver finalisation check KASSERT that, while it
should never trigger, a possible bug in a child driver shouldn't have to panic
the kernel. Instead report the internal error.
2021-01-20 21:59:48 +00:00
jdolecek d944542f8b fix a race in kqueue_scan() - when multiple threads check the same
kqueue, it could happen other thread seen empty kqueue while kevent
was being checked for re-firing and re-queued

make sure to keep retrying if there are outstanding kevents even
if no kevent is found on first pass through the queue, and only
drop the KN_QUEUED flag and kq_count when actually completely done
with the kevent

change is inspired by the FreeBSD in-flux handling, but without
introducing the reference counting

PR kern/50094 by Christof Meerwald
2021-01-20 21:39:09 +00:00
pgoyette 80498967ae COMPAT_OSSAUDIO no longer exists; remove dangling reference 2021-01-20 21:38:44 +00:00
reinoud 03c5faf60b Add VirtIO PCI v1.0 attachments and fix the drivers affected.
The vioif, ld, scsi, viornd and viomb devices were adjusted when needed and
tested both in legacy 0.9 and v1.0 attachments trough PCI on amd64, sparc64,
aarch64 and aarch64-eb. ACPI/FDT attachments also tested on
aarch64/aarch64-eb.

Known issues

* viomb on aarch64 works only with ACPI/FDT attachment but not with PCI
  attachment. PCI and ACPI/FDT attachment works on aarch64-eb.

* virtio on sparc64 attaches but is it not functioning though not a
  regression.
2021-01-20 19:46:48 +00:00
jakllsch 005187e224 Sync with OpenBSD if_rge.c r1.4
"""
Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.
"""
2021-01-20 18:26:11 +00:00
skrll 91ad7c9ee3 Consistently use ACPI_SIG_SSDT 2021-01-20 15:27:51 +00:00
nia 40b55f7254 remove compat_ossaudio from kernel modules
this is only useful with compat_linux and gets autoloaded when
compat_linux is loaded, so there's no reason to bake it into kernels
any more.
2021-01-20 13:22:07 +00:00
nia 25ae59b713 if_tap was made mpsafe in revision 1.102 2021-01-20 10:26:43 +00:00
msaitoh 941b693853 The max number of queue(pair) is not 7 but 8. Inspired by DPDK. 2021-01-20 06:53:17 +00:00
nia b82de95450 do not enable kernel OSS compat in configs without compat_linux
perhaps kernel OSS compat can be merged into compat_linux to avoid
further confusion
2021-01-20 01:20:26 +00:00
jmcneill 8a447bc554 Fix previous; of_search_compatible returns the sentinel when there is no
match, so we need to test ->data for NULL, not the return value.
2021-01-20 00:48:49 +00:00
jmcneill 7e08ffe929 update comment to match new reality 2021-01-20 00:41:15 +00:00
rillig 77ec80e5c4 make(1): extract DetermineKindOfConditional from Cond_EvalLine 2021-01-19 22:12:44 +00:00
rillig 6ce12378ce make(1): remove struct If from evaluation of conditionals
The variant of the .if directive can be stored in the CondParser
directly, instead of pointing to a struct If.

The type CondParser may have to be renamed since the condition is not
only parsed, it is evaluated as well.

No functional change.
2021-01-19 21:55:20 +00:00
rillig 85aee7a6f7 make(1): remove do-not-format markers from comments
These markers had been used inconsistently.  Furthermore the source code
had not been formatted automatically before 2020 at all, otherwise there
wouldn't have been any trailing whitespace left.
2021-01-19 20:51:46 +00:00
rillig 1f01563cf6 make(1): add test for unsupported relational string comparisons 2021-01-19 19:54:57 +00:00
rillig e367f4ad3b make(1): distinguish between tokens and results in conditionals
No functional change.
2021-01-19 19:29:35 +00:00
rillig 36e59ad6cd make(1): update references to the renamed CondParser functions 2021-01-19 18:20:30 +00:00
rillig 3f1cfbbbf3 make(1): condense code for parsing and evaluating conditionals 2021-01-19 18:18:43 +00:00
rillig 877d3c828f make(1): add error handling for edge case in malformed conditions 2021-01-19 18:13:37 +00:00
rillig 5237562935 make(1): demonstrate missing error handling for malformed conditions 2021-01-19 18:09:12 +00:00
rillig b2f11fa740 make(1): fix possible return values for CondParser_Term
The invalid return values didn't do any harm since CondParser_Factor and
CondParser_Expr passed them through, and CondParser_Eval carefully
checks for TOK_TRUE or TOK_FALSE and treats everything else as an error.

No change in observable behavior since there is no debug logging in that
part of the code.
2021-01-19 17:57:07 +00:00
rillig a15e03fc3b make(1): demonstrate wrong return value in CondParser_Term 2021-01-19 17:49:13 +00:00
thorpej 1ebde59816 of_compatible() is a hokey API (returning -1 for no match) and nothing
here relies on its reverse-index return value semantics, so just use
of_match_compat_data() instead.
2021-01-19 14:39:20 +00:00
thorpej 163f322bf3 Use device_compatible_entry / of_search_compatible() for the child
nodes rather than using of_compatible() to match against different
sets of compatible strings.
2021-01-19 14:35:30 +00:00