Commit Graph

3 Commits (feb679e5f93300908906165d0fc5919a00c47c1d)

Author SHA1 Message Date
Tyrone Wu feb679e5f9
aya,aya-obj: cache feat probed info fields
Cached probed for ProgramInfo fields instead of exposing it through
global FEATURE. Probing occurs on cache miss, which happens when first
accessing the field, *and* if the field is 0.
4 weeks ago
Tyrone Wu 602f2ec08a
aya: add feature probing for map type
Add API that probes whether kernel supports a map type.

Assertion for `InodeStorage` are disabled because they require
CONFIG_BPF_LSM to be enabled, which is not be default in VM tests.
4 weeks ago
Tyrone Wu 303b80f066
aya,aya-obj: add feature probing program type
Adds API that probes whether kernel supports a program type.

Assertions for `LircMode2` and `Lsm` are disabled because they require
certain kernel configs to be enabled, which are not by default in VM
tests.
4 weeks ago