[Bug 394548] New: Process with UID != 0, EUID == 0 is not able to set its own scheduling to SCHED_FIFO
https://bugzilla.novell.com/show_bug.cgi?id=394548 Summary: Process with UID != 0, EUID == 0 is not able to set its own scheduling to SCHED_FIFO Product: openSUSE 11.0 Version: Beta 3plus Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jdluhos@novell.com QAContact: qa@suse.de Found By: --- When a process runs with EUID == 0 and UID != 0, and attempts to sets its scheduling mode to SCHED_FIFO, the sched_setscheduler() call fails with errno set to EPERM. The same action succeeds if the process is running with both UID and EUID set to 0. I'm not sure if this is a bug or intended behavior, but it looks inconsistent, and it causes failures in LSB tests. Please find the attached sources of a simple test case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=394548
User jdluhos@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=394548#c1
--- Comment #1 from Jiri Dluhos
https://bugzilla.novell.com/show_bug.cgi?id=394548
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=394548
User lmb@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=394548#c2
Lars Marowsky-Bree
https://bugzilla.novell.com/show_bug.cgi?id=394548
User jdluhos@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=394548#c3
--- Comment #3 from Jiri Dluhos
https://bugzilla.novell.com/show_bug.cgi?id=394548
Tony Jones
https://bugzilla.novell.com/show_bug.cgi?id=394548
User tonyj@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=394548#c4
Tony Jones
https://bugzilla.novell.com/show_bug.cgi?id=394548
User tonyj@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=394548#c5
--- Comment #5 from Tony Jones
https://bugzilla.novell.com/show_bug.cgi?id=394548
User jdluhos@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=394548#c7
--- Comment #7 from Jiri Dluhos
https://bugzilla.novell.com/show_bug.cgi?id=394548
User jdluhos@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=394548#c8
--- Comment #8 from Jiri Dluhos
https://bugzilla.novell.com/show_bug.cgi?id=394548
User tonyj@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=394548#c9
Tony Jones
participants (1)
-
bugzilla_noreply@novell.com