[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-security-discuss
Subject:    Re: TX on 2008.11 and selection manager
From:       Piotr Jasiukajtis <estseg () gmail ! com>
Date:       2009-05-05 11:57:44
Message-ID: 83c964400905050457o3eafbc8ana39b97006f92e9d7 () mail ! gmail ! com
[Download RAW message or body]

Hi,

I have just got the same issue on S10u6+patches:

# pstack 3649
3649:   tsoljdsselmgr --sm-client-id mandatory2
 fcfaa0d5 ioctl    (806c8b0, 80456fc) + 15
 fd1a4aa3 tsol_mkmntlist (fe454dc2, 81c1370, 80c0850, 6e6f7a2f,
6e692f65, 6e726574) + 8c
 fd1a5070 getpathbylabel (81bef47, 8045b6c, 400, 81c0828) + 56
 0804e874 copy_move_files (81c07a8) + 13c
 0804f778 accept_transfer (80c0850) + 50
 0804f879 dialog_response_cb (80c0850, fffffffb, 0) + 31
 fe454e17 g_cclosure_marshal_VOID__INT () + 55


On Tue, May 5, 2009 at 1:42 PM, Stephen Browne <Stephen.Browne@sun.com> wrote:
> Glenn, Piotr,
>
> Copying multiple files at the same time is still a single copy and paste
> selection transfer.  The only difference is that the selection data
> contains a list of URIs to be copied instead of a single one.
>
> the copy_move_files function creates a list of global zone locations for
> sources and targets and hands off the operation to gnomevfs.  The
> operation is synchronous so should not return to process any other C&P
> operations in the meantime.
>
> There is a bug logged for this code to be rewritten to use
> setflabel(3TSOL) which may help.  I would have to look at this some more
> to figure out what is really wrong.  Piotr, feel free to log a bug in
> defect.opensolaris.org.
>
> Stephen.
>
>
>
>
> On Sat, 2009-05-02 at 19:17, Glenn Faden wrote:
>> Piotr Jasiukajtis wrote:
>> > On Sat, May 2, 2009 at 6:29 PM, Glenn Faden <Glenn.Faden@sun.com> wrote:
>> >
>> >
>> >>
>> >> What kind of paste operation did you do to generate this traceback?
>> >>
>> > Nothing special.. I just tried to copy some pdf files from the
>> > internal to the public zone.
>> >
>> > Lets try again..
>> >
>> > I copy these files:
>> > -rw-r--r--   1 estibi   other       387K Mar 30  2008
>> > /zone/internal/root/export/home/estibi/chap2.1process_model_v2.0_notes.pdf
>> > -rw-r--r--   1 estibi   other       627K Mar 30  2008
>> > /zone/internal/root/export/home/estibi/chap2.1process_model_v2.0.pdf
>> >
>> > to the /zone/public/root/export/home/estibi/ of course by using
>> > nautilus and /home/ instead of /export/home/
>> >
>> > I can copy a single file, but not both at the same time.
>> > I tried to copy these files to public and restricted zones, same issue.
>> >
>> > Btw, this system was upgraded from 2008.11 /release.
>> >
>> >
>> Problems with copying both files at the same time implies something
>> isn't reentrant. Maybe the getmntent() loop needs a lock, or somewhere
>> else earlier in the traceback. In the original TCDE code, the selection
>> manager could only handle one operation at a time. But the TJDS
>> selection manager apparently allows multiple operations to overlap;  I'm
>> not sure that is consistent with the assumptions on which the original
>> code (ported from TCDE) is based. The TCDE code has a request queue to
>> prevent such overlapping operations.
>>
>> --Glenn
>
>



-- 
Piotr Jasiukajtis | estibi | SCA OS0072
http://estseg.blogspot.com
_______________________________________________
security-discuss mailing list
security-discuss@opensolaris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic