EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  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  <20162017  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


References:
set-user-id root and EPICS 3.15 Gerry Swislow
RE: set-user-id root and EPICS 3.15 Mark Rivers
Re: set-user-id root and EPICS 3.15 Gerry Swislow

Navigate by Date:
Prev: Re: VxWorks 6.9 Bjorklund, Eric A
Next: Re: alarm handler Pearson, Matthew R.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: set-user-id root and EPICS 3.15 Gerry Swislow
Next: extensions make error 梁雅翔
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·