Coder Social home page Coder Social logo

2knarf / linux-libbsd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wulf7/linux-libbsd

0.0 0.0 0.0 11 KB

Shim library that allows some BSD-specific software to be compiled and run under Linuxolator

License: BSD 2-Clause "Simplified" License

C 92.82% Makefile 7.18%

linux-libbsd's Introduction

linux-libbsd

Shim library that allows some BSD-specific software to be compiled and run under Linuxolator

Currently it supports libinotify andlibudev-devd under FreeBSD 13+. The library handles following BSD libc functions: devname, devname_r, kevent, kqueue, strlcat, strlcpy, sysctlnametomib, sysctlbyname. linux_libbsd.ko kmod is requred to be kld-loaded in to kernel. Following steps will build and install linux-libbsd:

Load linuxolator kernel modules in to memory

$ sudo service linux onestart

Install devel/linux-c7-devtools

$ pkg install linux-c7-devtools

Build and install linux-libbsd

$ cd linux-libbsd
$ make
$ sudo make install

Load linux_libbsd kernel module in to memory

$ sudo kldload linux_libbsd

To load kernel modules at boot time add some lines to /etc/rc.conf

$ sudo sysrc linux_enable=YES
$ sudo sysrc kld_list+=linux_libbsd

linux-libbsd's People

Contributors

wulf7 avatar

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.