aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorMatt Fleming <[email protected]>2013-02-01 11:02:28 +0000
committerMatt Fleming <[email protected]>2013-02-12 12:41:54 +0000
commitda27a24383b2b10bf6ebd0db29b325548aafecb4 (patch)
treedb48f001f62af527e832fe2c1cd302b30e794b6a /scripts/gdb
parent47f531e8ba3bc3901a0c493f4252826c41dea1a1 (diff)
efivarfs: guid part of filenames are case-insensitive
It makes no sense to treat the following filenames as unique, VarName-abcdefab-abcd-abcd-abcd-abcdefabcdef VarName-ABCDEFAB-ABCD-ABCD-ABCD-ABCDEFABCDEF VarName-ABcDEfAB-ABcD-ABcD-ABcD-ABcDEfABcDEf VarName-aBcDEfAB-aBcD-aBcD-aBcD-aBcDEfaBcDEf ... etc ... since the guid will be converted into a binary representation, which has no case. Roll our own dentry operations so that we can treat the variable name part of filenames ("VarName" in the above example) as case-sensitive, but the guid portion as case-insensitive. That way, efivarfs will refuse to create the above files if any one already exists. Reported-by: Lingzhu Xiang <[email protected]> Cc: Matthew Garrett <[email protected]> Cc: Jeremy Kerr <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions