[mythtv-commits] Ticket #2536: Realtime priority not enabled w/ realtime module (or bad log message)

MythTV mythtv at cvs.mythtv.org
Wed Dec 20 04:51:13 UTC 2006


#2536: Realtime priority not enabled w/ realtime module (or bad log message)
-----------------------------------------+----------------------------------
 Reporter:  rob+mythtv.org at rosenfeld.to  |        Owner:  danielk
     Type:  defect                       |       Status:  new    
 Priority:  trivial                      |    Milestone:  unknown
Component:  mythtv                       |      Version:  head   
 Severity:  low                          |   Resolution:         
-----------------------------------------+----------------------------------
Changes (by sandeen-mythtv at sandeen.net):

 * cc: sandeen-mythtv at sandeen.net (added)

Comment:

 I have the same issue, and a bit more info:

 2006-12-19 19:42:05.497 user: 500 effective user: 0 before privileged
 thread
 2006-12-19 19:42:05.514 user: 500 effective user: 0 after privileged
 thread
 2006-12-19 19:42:05.514 user: 500 effective user: 500 run_priv_thread

 for some reason the created pthread has the real UID instead of the EUID.

 A very quick testcase sorta like this:

         printf("main: uid %d euid %d\n", getuid(), geteuid());
         rc = pthread_create(&thread_id, NULL, thread_main, NULL);

 and in the new thread:

         printf("thread: uid %d euid %d\n", getuid(), geteuid());

 seems to work:

 main: uid 500 euid 0
 thread: uid 500 euid 0

 Odd...

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2536#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list