Commit 6c83822
bpf: remove bpf_key reference
bpf_key.has_ref is used to distinguish between real key pointers and
the fake key pointers that are used for system keyrings (to ensure the
actual pointers to system keyrings are never visible outside
certs/system_keyring.c). The keyrings subsystem has an exported
function to do this, so use that in the bpf keyring code eliminating
the need to store has_ref.
Signed-off-by: James Bottomley <[email protected]>1 parent 353b190 commit 6c83822
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1244 | 1244 | | |
1245 | 1245 | | |
1246 | 1246 | | |
1247 | | - | |
1248 | 1247 | | |
1249 | 1248 | | |
1250 | 1249 | | |
| |||
1297 | 1296 | | |
1298 | 1297 | | |
1299 | 1298 | | |
1300 | | - | |
1301 | 1299 | | |
1302 | 1300 | | |
1303 | 1301 | | |
| |||
1335 | 1333 | | |
1336 | 1334 | | |
1337 | 1335 | | |
1338 | | - | |
1339 | 1336 | | |
1340 | 1337 | | |
1341 | 1338 | | |
| |||
1349 | 1346 | | |
1350 | 1347 | | |
1351 | 1348 | | |
1352 | | - | |
| 1349 | + | |
1353 | 1350 | | |
1354 | 1351 | | |
1355 | 1352 | | |
| |||
1377 | 1374 | | |
1378 | 1375 | | |
1379 | 1376 | | |
1380 | | - | |
| 1377 | + | |
1381 | 1378 | | |
1382 | 1379 | | |
1383 | 1380 | | |
| |||
0 commit comments