Commit 40230e6
linux: only return the description of a key
keyctl_describe returns a string of format:
%s;%d;%d;%08x;%s
where the arguments are: key type name, key UID, key GID, key
permissions mask and key description. The key description will not
contain any semicolons.
The last entry contains the description which is what
nvme_describe_key_serial promisses to return.
Signed-off-by: Daniel Wagner <[email protected]>1 parent 9e6e8dd commit 40230e6
1 file changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1203 | 1203 | | |
1204 | 1204 | | |
1205 | 1205 | | |
1206 | | - | |
| 1206 | + | |
| 1207 | + | |
1207 | 1208 | | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
1211 | 1221 | | |
1212 | 1222 | | |
1213 | 1223 | | |
| |||
0 commit comments