iovisor / iovisor/bcc

Some questions about attach_lsm

Open
#5,164 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
5d 13h
Merged PRs (30d)
3

Description

I would like to know how to use the attach_lsm and detach_lsm methods, what should be passed as the "fn_name" parameter, and whether it is possible to pass the kernel call as event and the custom trace function name as fn_name, just like attach_kprobe.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the existing attach_lsm and detach_lsm API documentation or source, then compare their parameters and behavior with attach_kprobe. Document what fn_name and the event argument represent, including whether a kernel call and custom trace function can be combined; done means these usage questions are answered clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
documentation, security
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.