| 919 | } |
| 920 | |
| 921 | int |
| 922 | label_create_file (UNUSED const char *file_label) |
| 923 | { |
| 924 | #ifdef HAVE_SELINUX |
| 925 | if (is_selinux_enabled () > 0 && file_label) |
| 926 | return setfscreatecon (file_label); |
| 927 | #endif |
| 928 | return 0; |
| 929 | } |
| 930 | |
| 931 | int |
| 932 | label_exec (UNUSED const char *exec_label) |
no outgoing calls
no test coverage detected