OSDN Git Service

docs/secure-coding-practices: Describe how to use 'null-co' block driver
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 1 Jun 2021 16:25:48 +0000 (18:25 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 2 Jun 2021 12:29:14 +0000 (14:29 +0200)
commitb317006a3f1f04191a7981cef83417cb2477213b
treef06e9cf601b25a7c63607750a70b2c0a2921bed6
parentbed9523471c13a44cdc15ed9ba0fb78cadf8c142
docs/secure-coding-practices: Describe how to use 'null-co' block driver

Document that security reports must use 'null-co,read-zeroes=on'
because otherwise the memory is left uninitialized (which is an
on-purpose performance feature).

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210601162548.2076631-1-philmd@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
docs/devel/secure-coding-practices.rst