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  linux-cve-announce  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:	Mon, 6 Apr 2009 17:07:46 +0800
From:	Yu-Ming Chang 張育銘 
	<yuming.chang@...plusct.com>
To:	linux-kernel@...r.kernel.org
Subject: The kernel may clear part of my vendor-specific SCSI command.

Dear Linux developers,

I'm using CentOS 5.2(kernel-2.6.18) to control a specific USB massive 
storage
device. When I send a vendor-spcific SCSI command to the device like this:

unsigned char scsi_cmd[16];
sg_io_hdr_t io_hdr;
scsi_cmd[0] = 0xf1;
scsi_cmd[1] = 0xff;
io_hdr.cmdp = scsi_cmd;

the device receives a command with scsi_cmd[1] = 0x1f. I think the first 
of three
bits of second byte of io_hdr.cmdp are cleared by kernel.

Does anyone have some clues or hints?
I wish you can CC to my mailbox when you respond to my posting.

Regards,
Chang Yu-ming
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ