backend.ai-hook

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

Github stars Tracking Chart

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

Overview

Name With Ownerlablup/backend.ai-hook
Primary LanguageC++
Program languageDockerfile (Language Count: 6)
Platform
License:GNU Lesser General Public License v3.0
Release Count0
Created At2017-09-04 08:30:07
Pushed At2023-03-21 09:15:39
Last Commit At2023-03-21 18:15:39
Stargazers Count0
Watchers Count13
Fork Count2
Commits Count33
Has Issues Enabled
Issues Count1
Issue Open Count0
Pull Requests Count4
Pull Requests Open Count3
Pull Requests Close Count0
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top