backend.ai-hook

Private hook library to override library-level functions inside REPL containers

  • 所有者: lablup/backend.ai-hook
  • 平台:
  • 许可证: GNU Lesser General Public License v3.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Backend.AI Hook

A user-level hooker to override library functions inside Backend.AI's kernel containers

Features

  • Override sysconf() to expose the number of actually schedulable CPU cores based on sysfs cgroup
    CPU set information.
  • Override scanf() to get the user keyboard input via the local Backend.AI Agent.

How to build

For musl-compatible build using Alpine Linux, run:

./build.sh alpine

For glibc-compatible build using Debian Linux, run:

./build.sh ubuntu

How to run tests

./test.sh alpine
./test.sh ubuntu

主要指标

概览
名称与所有者lablup/backend.ai-hook
主编程语言C++
编程语言Dockerfile (语言数: 6)
平台
许可证GNU Lesser General Public License v3.0
所有者活动
创建于2017-09-04 08:30:07
推送于2024-06-04 13:10:59
最后一次提交2024-06-04 15:42:10
发布数0
用户参与
星数0
关注者数12
派生数3
提交数37
已启用问题?
问题数1
打开的问题数0
拉请求数8
打开的拉请求数5
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?