Re: [PATCH v8 4/4] vsprintf: Add command line option debug_boot_weak_hash

2018-06-20 Thread Tobin C. Harding
On Wed, Jun 20, 2018 at 09:09:49PM -0700, Randy Dunlap wrote: > On 06/20/2018 08:15 PM, Tobin C. Harding wrote: > > On Wed, Jun 20, 2018 at 04:38:05PM -0700, Randy Dunlap wrote: > >> On 06/20/2018 04:22 PM, Tobin C. Harding wrote: > >>> On Wed, Jun 20, 2018 at 03:36:44PM -0700, Randy Dunlap wrote:

Re: [PATCH v8 4/4] vsprintf: Add command line option debug_boot_weak_hash

2018-06-20 Thread Randy Dunlap
On 06/20/2018 08:15 PM, Tobin C. Harding wrote: > On Wed, Jun 20, 2018 at 04:38:05PM -0700, Randy Dunlap wrote: >> On 06/20/2018 04:22 PM, Tobin C. Harding wrote: >>> On Wed, Jun 20, 2018 at 03:36:44PM -0700, Randy Dunlap wrote: On 06/20/2018 03:30 PM, Tobin C. Harding wrote: > On Wed, Jun

Re: [PATCH v8 4/4] vsprintf: Add command line option debug_boot_weak_hash

2018-06-20 Thread Tobin C. Harding
On Wed, Jun 20, 2018 at 04:38:05PM -0700, Randy Dunlap wrote: > On 06/20/2018 04:22 PM, Tobin C. Harding wrote: > > On Wed, Jun 20, 2018 at 03:36:44PM -0700, Randy Dunlap wrote: > >> On 06/20/2018 03:30 PM, Tobin C. Harding wrote: > >>> On Wed, Jun 20, 2018 at 09:09:49AM -0700, Randy Dunlap wrote:

Re: [PATCH v8 4/4] vsprintf: Add command line option debug_boot_weak_hash

2018-06-20 Thread Randy Dunlap
On 06/20/2018 04:22 PM, Tobin C. Harding wrote: > On Wed, Jun 20, 2018 at 03:36:44PM -0700, Randy Dunlap wrote: >> On 06/20/2018 03:30 PM, Tobin C. Harding wrote: >>> On Wed, Jun 20, 2018 at 09:09:49AM -0700, Randy Dunlap wrote: On 06/19/2018 09:20 PM, Tobin C. Harding wrote: > Currently p

Re: [PATCH v8 4/4] vsprintf: Add command line option debug_boot_weak_hash

2018-06-20 Thread Tobin C. Harding
On Wed, Jun 20, 2018 at 03:36:44PM -0700, Randy Dunlap wrote: > On 06/20/2018 03:30 PM, Tobin C. Harding wrote: > > On Wed, Jun 20, 2018 at 09:09:49AM -0700, Randy Dunlap wrote: > >> On 06/19/2018 09:20 PM, Tobin C. Harding wrote: > >>> Currently printing [hashed] pointers requires enough entropy t

Re: [PATCH v8 4/4] vsprintf: Add command line option debug_boot_weak_hash

2018-06-20 Thread Randy Dunlap
On 06/20/2018 03:30 PM, Tobin C. Harding wrote: > On Wed, Jun 20, 2018 at 09:09:49AM -0700, Randy Dunlap wrote: >> On 06/19/2018 09:20 PM, Tobin C. Harding wrote: >>> Currently printing [hashed] pointers requires enough entropy to be >>> available. Early in the boot sequence this may not be the ca

Re: [PATCH v8 4/4] vsprintf: Add command line option debug_boot_weak_hash

2018-06-20 Thread Tobin C. Harding
On Wed, Jun 20, 2018 at 09:09:49AM -0700, Randy Dunlap wrote: > On 06/19/2018 09:20 PM, Tobin C. Harding wrote: > > Currently printing [hashed] pointers requires enough entropy to be > > available. Early in the boot sequence this may not be the case > > resulting in a dummy string '(ptrval

Re: [PATCH v8 4/4] vsprintf: Add command line option debug_boot_weak_hash

2018-06-20 Thread Randy Dunlap
On 06/19/2018 09:20 PM, Tobin C. Harding wrote: > Currently printing [hashed] pointers requires enough entropy to be > available. Early in the boot sequence this may not be the case > resulting in a dummy string '(ptrval)' being printed. This > makes debugging the early boot sequence diff

[PATCH v8 4/4] vsprintf: Add command line option debug_boot_weak_hash

2018-06-19 Thread Tobin C. Harding
Currently printing [hashed] pointers requires enough entropy to be available. Early in the boot sequence this may not be the case resulting in a dummy string '(ptrval)' being printed. This makes debugging the early boot sequence difficult. We can relax the requirement to use cryptographi