ext Pierre Ossman wrote:
Anderson Briglia wrote:
Hi Pierre,
ext Pierre Ossman wrote:
Patch looks ok. But I never got an answer what the difference between
"change" and "assign" is.
You're right, the command is the same, but the difference is the
password's
length and password itself sent to the card.
According to MMC spec 4.1, when a password replacement is done, the
length value
(PWD_LEN) shall include both passwords, the old and the new one, and
the password
(PWD) shall include the old (currently) followed by the new password.
So shouldn't this be something that userspace handles?
I merged the code for "change" and "assign". But the action (returned from kernel
to user space application continues as "change" and "assign" separately.
Anderson Briglia
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]