system/corennnnn
修订版 | 3da2c41d1cdaf9213f31bcb377d905d679a3b3f5 (tree) |
---|---|
时间 | 2016-12-09 16:22:10 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init: don't bail out even no SELinux domain defined
@@ -373,9 +373,11 @@ bool Service::Start() { | ||
373 | 373 | } |
374 | 374 | if (rc == 0 && scon == mycon) { |
375 | 375 | ERROR("Service %s does not have a SELinux domain defined.\n", name_.c_str()); |
376 | +#if 0 | |
376 | 377 | free(mycon); |
377 | 378 | free(fcon); |
378 | 379 | return false; |
380 | +#endif | |
379 | 381 | } |
380 | 382 | free(mycon); |
381 | 383 | free(fcon); |