bugSystem V style init programs - Bugs: bug #29469, get_default_context_with_level...

 
 

bug #29469: get_default_context_with_level returns 0 on success

Submitted by:  None
Submitted on:  Thu 08 Apr 2010 08:51:16 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 08 Apr 2010 09:09:25 AM UTC, comment #1:

Thanks, is fixed for now.

Dr. Werner Fink <wfink>
Project Administrator
Thu 08 Apr 2010 08:51:16 AM UTC, original submission:

Hello.

sysvinit/trunk/src/sulogin.c:447
if (get_default_context_with_level(seuser, level, 0, &scon) > 0) {

from get_default_context_with_level(3):
RETURN VALUE
get_ordered_context_list and get_ordered_context_list_with_level return the number of contexts in the list upon success or -1 upon errors. The other functions return 0 for success or -1 for errors.

Fix based on Fedora bug https://bugzilla.redhat.com/show_bug.cgi?id=568530 is attached.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #20157:  sysvinit-sulogin-selinux.patch added by None (572B - text/x-c - get_default_context_with_level returns 0 on success)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by plautrba
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 08 Apr 2010 09:09:25 AM UTCwfinkStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 08 Apr 2010 08:56:48 AM UTCplautrbaCarbon-Copy-=>Added plautrba
    Thu 08 Apr 2010 08:51:16 AM UTCNoneAttached File-=>Added sysvinit-sulogin-selinux.patch, #20157

    Back to the top


    Powered by Savane 3.1-cleanup1