Commit Graph

274555 Commits

Author SHA1 Message Date
skrll
92457c6135 Consistency in use of #define names. No functional change as values of
before and after defines are the same.
2020-03-04 16:17:23 +00:00
maya
f09a2d8288 Remove ETH (defunct) and add ETM. 2020-03-04 14:59:00 +00:00
isaki
889e75ac54 Sync with sys/dev/audio/audio.c rev1.62.
> Restore backward compatibility with netbsd-7 audio.
2020-03-04 14:20:44 +00:00
isaki
1cb852fd8e Restore backward compatibility with netbsd-7 audio.
For sticky parameters (encoding, precision, channels, sample_rate and pause):
 - AUDIO_SETINFO for nonexistent track updates sticky parameters.
 - AUDIO_GETINFO for nonexistent track reads sticky parameters.
For blocksize, hiwat, lowat and {play.record}.buffer_size:
 - AUDIO_SETINFO for nonexistent track does nothing.
 - AUDIO_GETINFO for nonexistent track returns dummy non-zero values.
Nonexistent track is a playback track on O_RDONLY descriptor for example,
or both tracks on /dev/audioctl.
2020-03-04 14:19:41 +00:00
fcambus
454f71e77a Add LUZ and WMI airports (Poland). 2020-03-04 14:19:14 +00:00
rin
632b29a282 Comment out full function of optimized version of copyoutstr(9),
which has never been enabled so far.

Only for clarity. No binary changes.
2020-03-04 13:01:52 +00:00
martin
34fc30f813 PR 55045: strlcpy(NULL, ..., 0) considered harmfull in some implementations. 2020-03-04 11:15:06 +00:00
thorpej
6f087f5d09 panel -> lcdpanel
Part of PR port-cobalt/55009
2020-03-04 04:58:52 +00:00
pgoyette
e1bf7ea279 mips64 has compat_netbsd32 but cannot have exec_aout; all other users
of compat_netbsd32 need exec_aout

Addresses PR kern/55037.

XXX pullup-9
2020-03-04 02:20:56 +00:00
christos
83f5a6a60a Add ioctls to get and set raw mode. 2020-03-04 01:23:08 +00:00
thorpej
da570a6238 PT_GNU_RELRO segments are arranged such that their vaddr + memsz ends
on a linker common page size boundary.  However, if the common page size
used by the linker is less than the VM page size being used by the kernel,
this can end up in the middle of a VM page and when the region is write-
protected, this can cause objects in neighboring .data to get incorrectly
write-protected, resulting in a crash.

Avoid this situation by calculating the end of the RELRO region not by
rounding memsz up to the VM page size, but rather by adding vaddr + memsz
and then truncating to the VM page size.

Fixes PR toolchain/55043.

XXX pullup-9
2020-03-04 01:21:17 +00:00
mlelstv
379e21a2a0 CLEANFILES can only do files 2020-03-03 23:32:58 +00:00
jdolecek
8863b29311 replace #if condition for irq_slot with __diagused on the cleanup path
fixes PR kern/55044 by Uwe Toenjes
2020-03-03 21:42:31 +00:00
christos
66ab3c9c4f move the pam module after the trench where pam is being build 2020-03-03 20:01:01 +00:00
christos
95872c716f don't skip the rdir check for the lazy case; breaks chroot df(1) hiding. 2020-03-03 19:55:16 +00:00
kamil
1a795e44a3 Mark find_event_count() with __used 2020-03-03 17:09:22 +00:00
rin
1bdcb77c81 Comment that libpam depends on libssh. 2020-03-03 14:29:57 +00:00
rjs
d21f61c2eb Make some wait channel names unique to six characters. 2020-03-03 13:32:44 +00:00
christos
e54fad504b Move libpam to the next trench since it depends on ssh 2020-03-03 12:54:51 +00:00
nisimura
5ef06edbc3 - show " refcount %d" for consistency
- fix an extra : bug which was introduced rev 1.17
2020-03-03 08:56:05 +00:00
skrll
56c82af64d Trailing whitespace 2020-03-03 08:13:44 +00:00
skrll
19a7c6f088 Typo in comment 2020-03-03 07:51:26 +00:00
riastradh
338179b531 Use vpanic, not vprintf and then panic. 2020-03-03 06:44:38 +00:00
msaitoh
e96a05bbda Don't clear CFI and priority bit to pass them to the upper layer. 2020-03-03 05:41:36 +00:00
yamaguchi
1771f42935 Send packets even if link state is not up
ixl(4) has not the limitation that it must not send packet when
link is down. And most of the other NIC drivers do not refer to it
when sending packets.

reviewed by knakahara@n.o, thanks.
2020-03-03 04:55:46 +00:00
yamaguchi
d3fca170d0 Use ixl_atq_exec for waiting the Get link status response of ixl(4)
not to send the same command at once

reviewed by knakahara@n.o., thanks.
2020-03-03 04:34:45 +00:00
yamaguchi
a47437dcfc Added KASSERT 2020-03-03 04:22:45 +00:00
riastradh
422017511d Remove unfinished hack I accidentally committed in 2017.
This caused make to unconditionally take ages running useless
submakes in every subdirectory.  Accidentally committed during the
MKCRYPTO option removal when I was presumably experimenting with
automating library dependency generation in lib.

Should shave a few seconds at least off every build!
2020-03-03 04:20:50 +00:00
yamaguchi
7b7712bc5f Fix the crash when ixl(4) sends Get link status command
and receives Get link status response in parallel

sc->sc_link_state_atq.iatq_fn is used in ixl_atq_done_locked()
with sc->sc_atq_lock, but it was cleared in ixl_get_link_status()
without the lock.
2020-03-03 04:19:20 +00:00
christos
224869c7f9 Add build glue 2020-03-03 03:10:32 +00:00
christos
7acab15b19 Add fido and cbor 2020-03-03 02:25:03 +00:00
christos
b511f17d83 Add a commented out entry for pam_u2f.so 2020-03-03 00:47:33 +00:00
christos
793e7dfe1f Add debugging commented out. 2020-03-03 00:46:06 +00:00
christos
8ddd93c13f print the widest int 2020-03-03 00:45:37 +00:00
christos
04265baa16 the uid is not a pam item! 2020-03-03 00:45:21 +00:00
christos
0b9e32024c Disable debugging 2020-03-03 00:44:12 +00:00
christos
baa64ea854 Enable ssh-sk-helper 2020-03-03 00:43:20 +00:00
christos
ef038d3b4c Extra directories for fido and cbor 2020-03-03 00:42:33 +00:00
christos
a86feaf438 Add libcbor, libfido2, pam-u2f 2020-03-03 00:41:42 +00:00
christos
f13dbbb9b4 add libfido2, libcbor, pam-u2f, sort 2020-03-03 00:38:12 +00:00
christos
06535827bc Add libcbor, libfido2 2020-03-03 00:37:05 +00:00
christos
facc5599b7 Add libcbor 2020-03-03 00:36:29 +00:00
christos
946da905e8 Add build glue 2020-03-03 00:36:18 +00:00
christos
5dd36a3bc8 Import libcbor from: https://github.com/PJK/libcbor.git 2020-03-03 00:34:28 +00:00
christos
4e9fe299d1 Add libfido2 and pam-u2f 2020-03-03 00:29:41 +00:00
christos
0dd853b540 Add build glue 2020-03-03 00:28:50 +00:00
christos
eaea677c03 Add cast 2020-03-03 00:27:31 +00:00
christos
4379517986 add casts, change to multiline. 2020-03-03 00:27:08 +00:00
christos
9f5cccf32d - fix order initialization: debug_file was not getting properly initialized
- fix free casts
- add pam module entry for OpenPAM
2020-03-03 00:22:29 +00:00
christos
bf007de0f4 back to LOG_DEBUG 2020-03-03 00:21:20 +00:00