|
Lines 96-101
ssh_selinux_getctxbyname(char *pwname)
Link Here
|
| 96 |
case 0: |
96 |
case 0: |
| 97 |
error("%s: Failed to get default SELinux security " |
97 |
error("%s: Failed to get default SELinux security " |
| 98 |
"context for %s", __func__, pwname); |
98 |
"context for %s", __func__, pwname); |
|
|
99 |
break; |
| 99 |
default: |
100 |
default: |
| 100 |
fatal("%s: Failed to get default SELinux security " |
101 |
fatal("%s: Failed to get default SELinux security " |
| 101 |
"context for %s (in enforcing mode)", |
102 |
"context for %s (in enforcing mode)", |
|
Lines 132-137
ssh_selinux_setup_exec_context(char *pwn
Link Here
|
| 132 |
case 0: |
133 |
case 0: |
| 133 |
error("%s: Failed to set SELinux execution " |
134 |
error("%s: Failed to set SELinux execution " |
| 134 |
"context for %s", __func__, pwname); |
135 |
"context for %s", __func__, pwname); |
|
|
136 |
break; |
| 135 |
default: |
137 |
default: |
| 136 |
fatal("%s: Failed to set SELinux execution context " |
138 |
fatal("%s: Failed to set SELinux execution context " |
| 137 |
"for %s (in enforcing mode)", __func__, pwname); |
139 |
"for %s (in enforcing mode)", __func__, pwname); |