1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: set-user-id root and EPICS 3.15 |
From: | Ralph Lange <[email protected]> |
To: | EPICS Tech-Talk <[email protected]> |
Date: | Thu, 28 Jan 2016 16:00:21 +0100 |
Hi Gerry, On 28/01/2016 15:46, Gerry Swislow wrote:
Unfortunately, the test for whether one is running on a realtime system: if (pcommonAttr->maxPriority > pcommonAttr->minPriority) is not robust, since it appears to be also true when running a set-user-id-root process on a non-realtime system. That is a big problem for spec users that want to use EPICS and controller cards in their PCs at the same time. (I got the spec + EPICS 3.15 bug report from a user at Bessy yesterday.)
Well, the other condition is EPICS Base being compiled with USE_POSIX_THREAD_PRIORITY_SCHEDULING.
If you turn that off in your Base's CONFIG_SITE, you should also be fine. Cheers, ~Ralph