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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?