GithubHelp home page GithubHelp logo

avielw / kplugs Goto Github PK

View Code? Open in Web Editor NEW
142.0 9.0 31.0 111 KB

KPlugs is a Linux kernel module which provides an interface for dynamically executing scripts inside the Linux kernel.

Home Page: http://www.kplugs.org

License: GNU General Public License v3.0

C 96.63% Assembly 2.72% Makefile 0.65%

kplugs's Introduction

Update: This project is not being maintained and you should probably use eBPF

kplugs
======

KPlugs is a Linux kernel module which provides an interface for dynamically executing scripts inside the Linux kernel.
KPlugs uses a simple bytecode interpreter (the KPlugs Virtual Machine), and an interface that allows a user to dynamically load scripts into the kernel and execute them directly from user space. Because the interface is dynamic, it's easy to implement a user-mode library that wraps anything in the kernel.

KPlugs comes with a Python library that compiles a subset of the Python language to the KPlugs bytecode, and lets you easily load and execute your "kernel Python script".


For more information: http://www.kplugs.org

kplugs's People

Contributors

avielw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kplugs's Issues

missing file 'modules'

Release directory already exists
cp Makefile.release Release/Makefile
cp Makefile.debug Debug/Makefile
cp *.c *.S *.h Release
cp *.c *.S *.h Debug
make[1]: Entering directory '/home/jatin/Downloads/Extracted-Files/kplugs-master/Release'
make[2]: Entering directory '/usr/lib/modules/4.8.10-1-ARCH/build'
make[2]: *** No rule to make target 'modules'. Stop.
make[2]: Leaving directory '/usr/lib/modules/4.8.10-1-ARCH/build'
make[1]: *** [Makefile:9: all] Error 2
make[1]: Leaving directory '/home/jatin/Downloads/Extracted-Files/kplugs-master/Release'
make: *** [Makefile:17: all] Error 2

documentation?

Hi i am wondering if you have better documentation on how to use this library? I am really confused as what does what you only really explain how to install your LKM but not how everything works or how to use the class....this is a pretty cool library I am just really confused as to how this work is there anything I can read to better understand??

cannot install

How do I install? I am calling make but I get an error:

if [ ! -d Debug ]; then mkdir Debug; cp Makefile.debug Debug/Makefile; cp *.c *.S *.h Debug ; fi
make[1]: Entering directory '/home/jonny/Desktop/kplugs-master/Debug'
make[2]: Entering directory '/usr/src/linux-headers-5.4.0-52-generic'
scripts/Makefile.build:57: 'kplugs.ko' will not be built even though obj-m is specified.
scripts/Makefile.build:58: You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead.
make[4]: *** No rule to make target 'kplugs.o', needed by '__build'. Stop.
make[3]: *** [Makefile:550: scripts_basic] Error 2
make[2]: *** [Makefile:723: include/config/auto.conf.cmd] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-52-generic'
make[1]: *** [Makefile:10: all] Error 2
make[1]: Leaving directory '/home/jonny/Desktop/kplugs-master/Debug'
make: *** [Makefile:19: debug] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.