SVNews r327346

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-12-29 16:06:10 - r327346 by asomers (asomers)

Complete list of files affected by revision r327346:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/attach_d_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/conf.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/configure_b_B_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/delkey_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/detach_l_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/init_B_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/init_J_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/init_a_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/init_alias_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/init_i_P_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/init_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/integrity_copy_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/integrity_data_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/integrity_hmac_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/kill_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/nokey_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/onetime_a_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/onetime_d_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/onetime_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/readonly_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/resize_test.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/geom/class/eli/setkey_test.sh  

Commit message:

Fix potential TOCTTOU bug in the geli tests

This change mostly reverts r293436, which introduced the bug due to a belief
that geli(8) would allocate md(4) devices by itself. However, that belief is
incorrect. Instead of using linear probing to find available md(4) numbers,
it's best to use the existing attach_md function.

Reviewed by: ngie
MFC after: 2 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D13666

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 36 ms, 22 files printed. Current time is 2018-04-20 13:17:46. All times are in UTC/GMT.