Date: Mon, 12 Mar 2018 06:34:17 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464219 - in head/sysutils: . mac_rtprio Message-ID: <201803120634.w2C6YHGt076855@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Mon Mar 12 06:34:17 2018 New Revision: 464219 URL: https://svnweb.freebsd.org/changeset/ports/464219 Log: New port: sysutils/mac_rtprio Simple MAC framework policy to manage access for setting realtime priorities by selected GID.Running kldload mac_rtprio.ko to load the kernel module. The load action require root permissions. Set GID that should be able to change realtime priorities: sysctl security.mac.rtprio.gid=1001 and enable enforcing: sysctl security.mac.rtprio.enabled=1 WWW: https://github.com/pbiernacki/mac_rtprio PR: 219377 Submitted by: amutu@amutu.com Reviewed by: bapt Added: head/sysutils/mac_rtprio/ head/sysutils/mac_rtprio/Makefile (contents, props changed) head/sysutils/mac_rtprio/distinfo (contents, props changed) head/sysutils/mac_rtprio/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Mar 12 06:33:30 2018 (r464218) +++ head/sysutils/Makefile Mon Mar 12 06:34:17 2018 (r464219) @@ -603,6 +603,7 @@ SUBDIR += lxsplit SUBDIR += lxtask SUBDIR += lxterminal + SUBDIR += mac_rtprio SUBDIR += magicrescue SUBDIR += manck SUBDIR += mapchan Added: head/sysutils/mac_rtprio/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mac_rtprio/Makefile Mon Mar 12 06:34:17 2018 (r464219) @@ -0,0 +1,23 @@ +# Created by: Jov <amutu@amutu.com> +# $FreeBSD$ + +PORTNAME= mac_rtprio +DISTVERSION= g20170417 +CATEGORIES= sysutils +PKGNAMESUFFIX= -kmod + +MAINTAINER= amutu@amutu.com +COMMENT= Simple MAC framework policy to manage access for setting realtime priorities by selected GID + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= kmod uidfix + +USE_GITHUB= yes +GH_ACCOUNT= pbiernacki +GH_TAGNAME= 3ace584 + +PLIST_FILES= ${KMODDIR}/mac_rtprio.ko + +.include <bsd.port.mk> Added: head/sysutils/mac_rtprio/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mac_rtprio/distinfo Mon Mar 12 06:34:17 2018 (r464219) @@ -0,0 +1,3 @@ +TIMESTAMP = 1495108310 +SHA256 (pbiernacki-mac_rtprio-g20170417-3ace584_GH0.tar.gz) = 2d3dae36281b3090b61f326ee9605b4d4e5b2dab0e60abe08576bf10eb450091 +SIZE (pbiernacki-mac_rtprio-g20170417-3ace584_GH0.tar.gz) = 1904 Added: head/sysutils/mac_rtprio/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mac_rtprio/pkg-descr Mon Mar 12 06:34:17 2018 (r464219) @@ -0,0 +1,9 @@ +Simple MAC framework policy to manage access for setting realtime priorities by +selected GID.Running kldload mac_rtprio.ko to load the kernel module. The load +action require root permissions. Set GID that should be able to change realtime +priorities: + sysctl security.mac.rtprio.gid=1001 +and enable enforcing: + sysctl security.mac.rtprio.enabled=1 + +WWW: https://github.com/pbiernacki/mac_rtprio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803120634.w2C6YHGt076855>