]> git.ipfire.org Git - thirdparty/fcron.git/commit
remove old link to header selinux/flask.h and selinux/av_permissions.h and depend...
authoratlant2011 <4iter-yes@rambler.ru>
Mon, 9 Aug 2021 17:12:18 +0000 (00:12 +0700)
committerGitHub <noreply@github.com>
Mon, 9 Aug 2021 17:12:18 +0000 (18:12 +0100)
commit5f55e76fc1ab10a42b6407d7472811e1ee14440e
treeefde70ce753e442cc1538707c0c88d6de5252547
parent34898b7b86aef6078d562392de4de8088bd1ee29
remove old link to header selinux/flask.h and selinux/av_permissions.h and depend (#12)

* 1. remove link to header selinux/flask.h and selinux/av_permissions.h
2. simple move from constant's SECCLASS_FILE and FILE__ENTRYPOINT to functions string_to_security_class("file") and string_to_av_perm(tclass, "entrypoint")
3. NEED CHECK CORRECT RETURN AFTER FAILED RETURN FROM FUNCTION string_to_security_class ADN string_to_av_perm !
Link to info from libselinux
https://github.com/SELinuxProject/selinux/commit/76913d8adb61b5#diff-046564229793ada24798dac3d2e479f07651ac9020d43938f3aa1fa9c9c24c9e

* read_conf() selinux: renamed vars and added error return

Co-authored-by: Thibault Godouet <yo8192@users.noreply.github.com>
conf.c
global.h