summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-24drm/radeon: Fix backlight control on iMac 12,1Jonathan Gray
From Nicholas Bishop 68f3a4252e9718843bd172f9761267aa288647d0 in linux 5.15.y/5.15.25 364438fd629f7611a84c8e6d7de91659300f1502 in mainline linux
2022-02-24drm/amdgpu: fix logic inversion in checkJonathan Gray
From Christian Koenig 0fec53c5dca8a218e20b1d3964db23391a689dff in linux 5.15.y/5.15.25 e8ae38720e1a685fd98cfa5ae118c9d07b45ca79 in mainline linux
2022-02-24drm/amd: Only run s3 or s0ix if system is configured properlyJonathan Gray
From Mario Limonciello 38108fd273acbc6248870a7a3e61714398af6f94 in linux 5.15.y/5.15.25 04ef860469fda6a646dc841190d05b31fae68e8c in mainline linux
2022-02-24drm/amd: add support to check whether the system is set to s3Jonathan Gray
From Mario Limonciello 72808bb42c87c4887c553ea8d9f4ecaf15d867d3 in linux 5.15.y/5.15.25 f52a2b8badbd24faf73a13c9c07fdb9d07352944 in mainline linux
2022-02-24drm/amd: Warn users about potential s0ix problemsJonathan Gray
From Mario Limonciello 64519c9e32ac548fd47cf16767f4b779a8cbdd14 in linux 5.15.y/5.15.25 a6ed2035878e5ad2e43ed175d8812ac9399d6c40 in mainline linux
2022-02-24Regen most of the config output. With support for alternating ports theClaudio Jeker
moment when the default listeners are added to the config got moved into parse_config() and so is now visible in the printed config. Showing the listen on statements is probably a good thing. Failure noticed by anton@
2022-02-24Minor tweaksTheo Buehler
i is a silly name for BN_num_bits(dsa->q); move a comment for readability.
2022-02-24Add sanity checks on p and q in old_dsa_priv_decode()Theo Buehler
dsa_do_verify() has checks on dsa->p and dsa->q that ensure that p isn't overly long and that q has one of the three allowed lengths specified in FIPS 186-3, namely 160, 224, or 256. Do these checks on deserialization of DSA keys without parameters. This means that we will now reject keys we would previously deserialize. Such keys are useless in that signatures generated by them would be rejected by both LibreSSL and OpenSSL. This avoids a timeout flagged in oss-fuzz #26899 due to a ridiculous DSA key whose q has size 65KiB. The timeout comes from additional checks on DSA keys added by miod in dsa_ameth.c r1.18, especially checking such a humungous number for primality is expensive. ok jsing
2022-02-24regenVitaliy Makkoveev
2022-02-24Unlock getsockname(2) syscall. For inet and UNIX sockets it fills passedVitaliy Makkoveev
'sockaddr' structure with socket's address. For key management and route domain sockets it just returns error. ok bluhm@
2022-02-24Fix PIC_SYM() macro: it never needs to token paste, so it's notPhilip Guenther
dependent on __STDC__ and doesn't need the ## operator. ok jsg@
2022-02-24document the tunnel ioctls that vxlan supports.David Gwynne
i need to add the bridge ioctls i copes with at some point.
2022-02-24slight wording tweakDavid Gwynne
2022-02-23Prints in iked fuzzer fill 77% of full regress output. Nobody wantsAlexander Bluhm
to see 23.2 MB text output unless when debugging a failure. And then a logfile is better than stderr. OK claudio@
2022-02-23free(3) wants stdlib.hDamien Miller
2022-02-23put back the scp manpage changes for SFTP mode tooDamien Miller
2022-02-23syncTheo de Raadt
2022-02-23and we go back to testing sftp-scp after the 8.9 release...Theo de Raadt
2022-02-23better help for getting addresses for dgrams received with divert-to.David Gwynne
getsockname is for connected sockets, not all sockets. dgrams need to use some setsockopt stuff and cmsgs to get packet info like that. suggested by K R on bugs@
2022-02-23merge upstream commit to unbound: "Fix that TCP interface does not useStuart Henderson
TLS when TLS is also configured"
2022-02-23merge unbound 1.15.0Stuart Henderson
2022-02-23update to unbound 1.15.0, ok florian@Stuart Henderson
2022-02-23Make it possible to bind and connect to non-default ports. This is mainlyClaudio Jeker
for testing. Using alternate ports does not work for session using ipsec. OK tb@ deraadt@
2022-02-23avoid integer overflow of auth attempts (harmless, caught by monitor)Damien Miller
2022-02-23randomise the password used in fakepwDamien Miller
2022-02-23use asprintf to construct .rhosts pathsDamien Miller
2022-02-23openssh-8.9Damien Miller
2022-02-23Interface index 1 doesn't need to have an lladdr.Martijn van Duren
Found by anton@ who has enc0 on index 1 on his arm64 regress machine. with and OK anton@
2022-02-23unifdef __ELF__Jonathan Gray
ok guenther@
2022-02-22whitespaceTheo Buehler
2022-02-22Check asprintf() return to avoid crashing in strcmp().Theo Buehler
ok deraadt millert
2022-02-22Fix thinko in construction of SMC key for the targeted GPIO pin.Mark Kettenis
visa@
2022-02-22syncTheo de Raadt
2022-02-22Use sizeof() instead of KI_MAXCOMLEN and KI_WMESGLEN in structs.Todd C. Miller
This way we keep the size of the strings in the private struct in sync with what the kernel gives us. OK deraadt@
2022-02-22MAXCOMLEN is no longer needed in these programs, so remove the annotationTheo de Raadt
from sys/param.h include lines, or remove the include lines entirely if it this was the least requirement. ok millert
2022-02-22Since ktr_comm is now a string, we do not need MAXCOMLEN to limit printf.Theo de Raadt
And thus, sys/param.h is not needed either. ok millert
2022-02-22Instead of using MAXCOMLEN from sys/param.h, use KI_MAXCOMLEN as width,Theo de Raadt
from sysctl.h. This isn't a perfect transition, still thinking about other ways to do it. ok millert
2022-02-22Since other exported commandnames were increased to 24 and graduated intoTheo de Raadt
proper strings, adapt dt's exported string in the same way. Old/new files/tools will not work the same way. That this interface needs to also change was pointed out by jsg
2022-02-22Convert parse.y to use stdint.h types uintX_t instead of u_intX_tClaudio Jeker
OK tb@
2022-02-22Since other exported commandnames were increased to 24 and graduated intoTheo de Raadt
proper strings, adapt struct acct's ac_comm similarily. While here increase ac_mem to 32-bits, increase ac_flag from 8 to 32 bits for future extensions, add ac_pid for forensics, and reorder the structure to avoid compiler pads. More work remains in the sa(8) command to use ac_pid better. This is a flag day for the acct file format, new/old files/tools are incompatible. ok bluhm millert
2022-02-22Start using new _MAXCOMLEN (a proper string expanded to 24 bytesTheo de Raadt
including the NUL), in all internal interafaces, and expose this in ktrace, core, or proc.h visibility. ok millert
2022-02-22sysctl already passed the commandname as a 24-byte string KI_MAXCOMLENTheo de Raadt
because it was padded. Define it in terms of _MAXCOMLEN from syslimits.h ok millert
2022-02-22Define MAXCOMLEN in terms of _MAXCOMLEN (-1, because MAXCOMLEN does notTheo de Raadt
have the terminating NUL). In the near future, fewer programs will use this yucky non-string, some kernel:userland interfaces will to change to pass a proper string. ok millert
2022-02-22Add _MAXCOMLEN to syslimits, it is 24, and includes the NUL. FollowingTheo de Raadt
commits will change sys/param.h MAXCOMLEN, sys/sysctl.h KI_MAXCOMLEN, sys/acct.h ac_comm[], dev/ic/dtvar.h DTMAXCOMLEN to use this, and also adapt most to the included NUL correctly. This will allow us to remove sys/param.h include from userland base. sys/syslimits.h is chosen as the best place for this define because it has very small namespace which is already pulled in often. ok millert
2022-02-22Pledge stdio.Rob Pierce
Ok millert@
2022-02-22Remove -v option from usage.Rob Pierce
Ok millert@
2022-02-22requestid is a 32 bit integer, make sure that we request that withMartijn van Duren
ober_scanf_elements. Found the hard way on octeon and patch tested by sebastian <at> rostwald <dot> de OK tb
2022-02-22Add a seq(1) command, similar to what is present in GNU and Plan9.Todd C. Miller
Adapted from the NetBSD version with some changes from FreeBSD. OK gnezdo@
2022-02-22The fuzzer logs everything to syslog, this is not what we want.Claudio Jeker
Call log_init() and set debug but clear verbose afterwards with log_setverbose(0) still the fuzzer is very verbose. OK millert@ some time ago
2022-02-22Plug leak in ec_key_create()Theo Buehler
EVP_PKEY_set1_EC_KEY() bumps the refcount of eckey, so eckey won't be freed at the end of keyproc() or acctproc(), which means that secrets aren't wiped. Move EC_KEY_free() to the out label, so that the refcount is decremented or the key freed, as appropriate. tested/ok claudio