Skip to content

tedx/node-selinux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

node-selinux is an libselinux binding for node.js.

Requirements

 * [node.js](http://nodejs.org/) -- tested with v0.10.3
 * libselinux

Build

To build node-selinux:

node-gyp configure build

API

Supported methods * getcon * getpeercon * getfilecon * getcon_raw * setexeccon * setsockcreatecon * setfscreatecon

Example

var sys = require('sys'); var selinux = require('selinux');

var s = new selinux.SELinux(); var con = s.getcon(); sys.puts(con);

About

SELinux module for node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published