summaryrefslogtreecommitdiff
path: root/src/shared/selinux-util.h
Commit message (Collapse)AuthorAge
* remove unused includesThomas Hindoe Paaboel Andersen2015-02-23
| | | | | | This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.
* selinux: figure out selinux context applied on exec() before closing all fdsMichal Sekletar2014-12-04
| | | | | | We need original socket_fd around otherwise mac_selinux_get_child_mls_label fails with -EINVAL return code. Also don't call setexeccon twice but rather pass context value of SELinuxContext option as an extra argument.
* label: unify code to make directories, symlinksLennart Poettering2014-10-23
|
* selinux: clean up selinux label function namingLennart Poettering2014-10-23
|
* selinux: drop 3 unused function prototypesLennart Poettering2014-10-23
|
* mac: also rename use_{smack,selinux,apparmor}() calls so that they share the ↵Lennart Poettering2014-10-23
| | | | new mac_{smack,selinux,apparmor}_xyz() convention
* mac: rename apis with mac_{selinux/smack}_ prefixWaLyong Cho2014-10-23
|
* label: rearrange mandatory access control(MAC) apisWaLyong Cho2014-10-23
| | | | move label apis to selinux-util.ch or smack-util.ch appropriately.
* selinux: rework selinux access check logicLennart Poettering2012-10-02
a) Instead of parsing the bus messages inside of selinux-access.c simply pass everything pre-parsed in the functions b) implement the access checking with a macro that resolves to nothing on non-selinux builds c) split out the selinux checks into their own sources selinux-util.[ch] d) this unifies the job creation code behind the D-Bus calls Manager.StartUnit() and Unit.Start().