Skip to content

kcurrent ¤

Functions:

Attributes:

indent module-attribute ¤

fmode_flags module-attribute ¤

fmode_flags = BitFlags([('R', 0), ('W', 1), ('X', 5)])

parser module-attribute ¤

parser = ArgumentParser(
    description="\n    Displays the current kernel task debugged by the debugger (gdb/lldb) if pid == None\n    Displays the task with pid if pid != None.\n    "
)

get_kcurrent ¤

get_kcurrent() -> Kthread | None

select_kthread_from_pid ¤

select_kthread_from_pid(pid: int | None) -> Kthread | None

kstack ¤

kstack(pid: int | None = None) -> None

kfile ¤

kfile(pid: int | None = None, fd: int | None = None) -> None

knamespace ¤

knamespace(pid: int) -> None

ksighand ¤

ksighand(pid: int) -> None

kseccomp ¤

kseccomp(pid: int) -> None

kcurrent ¤

kcurrent(pid: int | None = None, set_pid: bool = False) -> None