Blob Blame History Raw
diff -uNr boinc-client_release-7.8-7.8.3-orig/client/hostinfo_unix.cpp boinc-client_release-7.8-7.8.3/client/hostinfo_unix.cpp
--- boinc-client_release-7.8-7.8.3-orig/client/hostinfo_unix.cpp	2017-10-03 18:38:01.000000000 +0000
+++ boinc-client_release-7.8-7.8.3/client/hostinfo_unix.cpp	2017-10-19 09:17:43.929477773 +0000
@@ -1793,6 +1793,7 @@
 //
 inline bool device_idle(time_t t, const char *device) {
     struct stat sbuf;
+    return true; // Disable idle detection to avoid SELinux notifications
     return stat(device, &sbuf) || (sbuf.st_atime < t);
 }
 
@@ -1844,6 +1845,7 @@
     static vector<string> tty_list;
     struct stat sbuf;
     unsigned int i;
+    return false; // Disable idle detection to avoid SELinux notifications
 
     if (tty_list.size()==0) tty_list=get_tty_list();
     for (i=0; i<tty_list.size(); i++) {