lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 15 Jan 2021 22:24:10 -0500
From:   Michael Katzmann <vk2bea@...il.com>
To:     linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: Changing sd device from read only to read/write fails in 5.10 (BLKROSET)

Sorry, that test in the end was inverted of course.. it should read

if( (DeviceFD = open( /dev/sdb, O_RDWR )) != ERROR ) {
   printf("success\n"); // <== use to work (open R/W)
} else {
   printf("failure");   // <== now fails under kernel 5.10
}

Powered by blists - more mailing lists