[Bug 219309] New: apparmor module returns wrong error code when change_hat is done against a profile with no hats
https://bugzilla.novell.com/show_bug.cgi?id=219309 Summary: apparmor module returns wrong error code when change_hat is done against a profile with no hats Product: openSUSE 10.2 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: AppArmor AssignedTo: jjohansen@novell.com ReportedBy: jjohansen@novell.com QAContact: dreynolds@novell.com The apparmor module returns the EPERM instead of ECHILD error code when a change_hat call is made when confined by a profile with no hats. The change_hat api for specifies that a change_hat done against and unconfined application should return EPERM, while a change_hat against a confined application with no hats returns ECHILD. This allows an application that uses change_hat to detect the type of failure and take an appropriate action. In 10.2 it is not possible to detect the difference between change_hat of an unconfined application and an application withot hats. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219309 jjohansen@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219309 sbeattie@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbeattie@novell.com ------- Comment #1 from sbeattie@novell.com 2006-11-21 11:13 MST ------- JJ: what's the status here? Did we get the patch for this issue accepted by the kernel team? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219309 ------- Comment #2 from sbeattie@novell.com 2006-11-21 11:44 MST ------- (In reply to comment #1)
JJ: what's the status here? Did we get the patch for this issue accepted by the kernel team?
Answering my own question (by looking at the kernel team's cvs tree), no, it has not. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219309 ------- Comment #3 from jjohansen@novell.com 2006-11-21 11:52 MST ------- The patch was submitted to tonyj for submission to the kernel and he is evaluating it for inclusion. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219309 jjohansen@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |233771 nThis| | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219309 jjohansen@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |233773 nThis| | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219309 jjohansen@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #4 from jjohansen@novell.com 2007-02-05 17:51 MST ------- fixed in 10.3 alpha 3 -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com