access decision API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I have some data in userspace that I am keeping its security context.but as I want to write this data on some file in OS, I need to consult with security server if such data is allowed to be written on the file.
I would like to know if there is any API that let me do such a scenario, that is input source and destination security context (both of them security context,not a domain context) and returns access decision. I am familiar with avc_has_perm(3), but seems to be not correct solution because it gets domain context as the first argument.

Best regards.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux