- 28 Dec, 2013 31 commits
-
-
Miod Vallat authored
script (note that the amd64 linker script is currently not used). Discussed with deraadt@
-
Theo de Raadt authored
this.
-
Joel Sing authored
-
Joel Sing authored
the softraid boot area.
-
Joel Sing authored
-
Joel Sing authored
-
Joel Sing authored
(hp300, hppa64 and landisk). hp300 and landisk are untested, however they should "just work" - hopefully someone with access to this hardware can confirm.
-
Joel Sing authored
-
Joel Sing authored
Some bootstraps are already built this way, however others are not.
-
Joel Sing authored
add some casts, tweak some types and variable names.
-
Joel Sing authored
-
Theo de Raadt authored
If the driver was doing some IO, we remove the timeouts, and force the fdc state machine into IOTIMEDOUT state with the final timeout count before a clean retry. In theory upon resume it should freak out quietly, and try the operation again. Noone has stepped forward to test this yet.
-
Theo de Raadt authored
one of these is ever found in a suspend/hibernate system.
-
Theo de Raadt authored
drivers) activate functions at DVACT_RESUME time do not need to do so, since their PHYs are repaired by IFF_UP. NOTE: if_msk is the one that previously relied on mii/eephy.c doing a crazy dance.
-
Theo de Raadt authored
drivers) activate functions at DVACT_RESUME time do not need to do so, since their PHYs are repaired by IFF_UP.
-
Theo de Raadt authored
configuration setting is done at resume time because all networks drivers which were previously up, do an IFF_UP operation which hits PHY_RESET. This was in snapshots for about 2 weeks.
-
Theo de Raadt authored
attach() and activate() time] into the eephy_reset() routine. This means that a bit more work gets done at PHY_RESET time, but it means also means it gets done in all scenarios. Why? For the next commit... This was in snapshots for about 2 weeks.
-
Theo de Raadt authored
compat pointed out by miod), and place it inside the ELF .openbsd.randomdata segment. Inside main(), only re-initialize the guard if the bootblocks failed to initialize it for us.
-
Martynas Venckus authored
- adjust gcc-builtins to use the same approach as gcc-bounds - enable gcc-bounds and gcc-builtins in the default regression suite now that everything passes
-
Theo de Raadt authored
and do not need microtime.
-
Theo de Raadt authored
arc4random() much earlier. Leading to random pids for anything besides 0 and 1.
-
Theo de Raadt authored
Also allow random_init() to be called later, by moving a few entropy control initializions into the lower-level _rs_seed() layer. tested by jsing, phessler and a few others
-
Theo de Raadt authored
-
Theo de Raadt authored
use a MD-supplied random function. Then, insert this into the ELF openbsd.randomdata of the kernel, so that it has entropy right from the start. Some help from jsing for the softraid aspects. Also tested by phessler
-
Joel Sing authored
through and failing when we attempt to read and validate the disklabel. Also return ENOTSUP rather than EPERM if an attempt is made to write to a softraid volume.
-
Theo de Raadt authored
-
Martynas Venckus authored
stpcpy, strcat, strcpy. Also don't simplify some safe builtins into unsafe ones, otherwise we'll hit the linker with the bogus warning. OK miod@, millert@.
-
Joel Sing authored
This makes use of rdrand if the CPU supports it, otherwise we fall back to using rdtsc. Further development will happen in the tree. Tested by phessler@ ok deraadt@
-
Martynas Venckus authored
actually shows the security warning. Also add some other cases where GCC used to yield the warning but shouldn't (e.g. strncat simplified into strcat).
-
Martynas Venckus authored
of size at least PATH_MAX. pread(2), pwrite(2) and readlinkat(2) also take the buffer and the bound. OK theo.
-
Theo de Raadt authored
-
- 27 Dec, 2013 2 commits
-
-
Robert Peichaer authored
- use its return code for single/multiuser detection ok deraadt
-
Robert Peichaer authored
ok deraadt
-
- 15 Oct, 2009 1 commit
-
-
Robert Nagy authored
-
- 27 Dec, 2013 6 commits
-
-
Damien Miller authored
-
Theo de Raadt authored
-
Theo de Raadt authored
idea from rpe
-
Damien Miller authored
the ECDSA/Ed25519 ones: use key_type_plain() when checking the key type rather than tediously listing all variants, use __func__ for debug/ error messages
-
Theo de Raadt authored
unconditionally, and then do the optional powerdown discussed at length with rpe
-
Theo de Raadt authored
-