Skip to content

Commit a24dbb9

Browse files
committed
soundness bug in anymap (#160)
- Replace the use of anymap with a map of String -> String. - Rename the dubious `Meta` type to `ActionMeta` to better reflect its purpose. - Now that a meatdata predicate is based on String we can derive `Predicate` equality instead of jumping through hoops. - Removed some dead code around the EXT-IP hack exposed by this change.
1 parent 8296b03 commit a24dbb9

File tree

18 files changed

+278
-1311
lines changed

18 files changed

+278
-1311
lines changed

kstat-macro/Cargo.lock

Lines changed: 0 additions & 530 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

opte-ioctl/Cargo.lock

Lines changed: 1 addition & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

opte/Cargo.lock

Lines changed: 2 additions & 108 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

opte/Cargo.toml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,6 @@ postcard = { version = "0.7.0", features = ["alloc"], default-features = false }
3939
usdt = { version = "0.3.2", optional = true }
4040
zerocopy = "0.6.1"
4141

42-
#
43-
# XXX I'm using both anymap (and Miachel's no_std branch) purely out
44-
# of convenience. At this time I'm pretty sure I want to make use of
45-
# Any for some runtime polymorphism for the purpose of dealing with
46-
# port resources. I noticed that anymap does not seem to be actively
47-
# maintained (though it also seems fairly complete with the exception
48-
# of no_std support and maybe a handful of other things), so we may
49-
# want to come back around and just use Any directly for our purposes.
50-
# Even if we stick with anymap, we certainly don't want to rely on
51-
# someone's branch going forward.
52-
#
53-
[dependencies.anymap]
54-
git = "https://github.com/michaelmelanson/anymap"
55-
branch = "no_std"
56-
5742
[dependencies.serde]
5843
version = "1.0"
5944
default-features = false

0 commit comments

Comments
 (0)