backend.ai-hook

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

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
发布数0
创建于2017-09-04 08:30:07
推送于2023-03-21 09:15:39
最后一次提交2023-03-21 18:15:39
星数0
关注者数13
派生数2
提交数33
已启用问题?
问题数1
打开的问题数0
拉请求数4
打开的拉请求数3
关闭的拉请求数0
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部