Re: [E-devel] [Entrance] SELinux integration

2006-08-11 Thread Essien Ita Essien
Mivz wrote:
> Carsten Haitzler (The Rasterman) wrote:
>   
>> On Thu, 10 Aug 2006 10:37:52 -0500 (CDT) "Ibukun Olumuyiwa"
>> <[EMAIL PROTECTED]> babbled:
>>
>> 
>>> *Suddenly appears out of nowhere*
>>>
>>> NO.
>>>
>>> No blatant copying of gdm code, even with permission. Study the algorithm
>>> and reimplement it, but don't copy blocks of code from GDM. Everything
>>> needs to be written from scratch. That's always been the design philosophy
>>> from the beginning -- a lot of stuff in Entrance is taken from GDM
>>> architecture/algorithm-wise, but I always took care to make sure I didn't
>>> copy code explicitly to avoid licensing problems.
>>>
>>> Great catch btw, Raster. Thanks.
>>>   
>> thanks ibukun - entrance is your baby after all and your word should be 
>> final :)
>>
>> note - that function is not very long. it would be easy to write again. just
>> examine the algorithm - check what can be re-done in different logic 
>> statements
>> or different order (if it can) and use different variables etc.  because it 
>> is
>> so short - it will still be similar to the gdm function - but you should be
>> just copying the algorithm an using it as a reference for "oooh so THAT is 
>> the
>> magic function in selinux that i need to call!". :)
>> 
>
> Yes, that's exactly what I was looking for. But I found a exact match of
> what I needed. So I copied it. I will rewrite the function from scratch
> and send it with the policy files. But, after I am done with my
> graduation project, which is in fact a open source project. Much better
> than exams :)
>
> Harrie
>   
If i finish other things intime, or if i get bored one afternoon i may 
just do it (though i doubt it, i'm too darn lazy for my own good, I 
mean, there's so much anime out there to d/l and watch - Bleach anyone? 
;) ). Somehow though, I think this will be waiting for you when you're 
done :)
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>   


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Entrance] SELinux integration

2006-08-11 Thread Mivz
Carsten Haitzler (The Rasterman) wrote:
> On Thu, 10 Aug 2006 10:37:52 -0500 (CDT) "Ibukun Olumuyiwa"
> <[EMAIL PROTECTED]> babbled:
> 
>> *Suddenly appears out of nowhere*
>>
>> NO.
>>
>> No blatant copying of gdm code, even with permission. Study the algorithm
>> and reimplement it, but don't copy blocks of code from GDM. Everything
>> needs to be written from scratch. That's always been the design philosophy
>> from the beginning -- a lot of stuff in Entrance is taken from GDM
>> architecture/algorithm-wise, but I always took care to make sure I didn't
>> copy code explicitly to avoid licensing problems.
>>
>> Great catch btw, Raster. Thanks.
> 
> thanks ibukun - entrance is your baby after all and your word should be final 
> :)
> 
> note - that function is not very long. it would be easy to write again. just
> examine the algorithm - check what can be re-done in different logic 
> statements
> or different order (if it can) and use different variables etc.  because it is
> so short - it will still be similar to the gdm function - but you should be
> just copying the algorithm an using it as a reference for "oooh so THAT is the
> magic function in selinux that i need to call!". :)

Yes, that's exactly what I was looking for. But I found a exact match of
what I needed. So I copied it. I will rewrite the function from scratch
and send it with the policy files. But, after I am done with my
graduation project, which is in fact a open source project. Much better
than exams :)

Harrie

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Entrance] SELinux integration

2006-08-10 Thread The Rasterman
On Thu, 10 Aug 2006 10:37:52 -0500 (CDT) "Ibukun Olumuyiwa"
<[EMAIL PROTECTED]> babbled:

> *Suddenly appears out of nowhere*
> 
> NO.
> 
> No blatant copying of gdm code, even with permission. Study the algorithm
> and reimplement it, but don't copy blocks of code from GDM. Everything
> needs to be written from scratch. That's always been the design philosophy
> from the beginning -- a lot of stuff in Entrance is taken from GDM
> architecture/algorithm-wise, but I always took care to make sure I didn't
> copy code explicitly to avoid licensing problems.
> 
> Great catch btw, Raster. Thanks.

thanks ibukun - entrance is your baby after all and your word should be final :)

note - that function is not very long. it would be easy to write again. just
examine the algorithm - check what can be re-done in different logic statements
or different order (if it can) and use different variables etc.  because it is
so short - it will still be similar to the gdm function - but you should be
just copying the algorithm an using it as a reference for "oooh so THAT is the
magic function in selinux that i need to call!". :)

> Ibukun
> 
> > On 8/10/06, The Rasterman Carsten Haitzler <[EMAIL PROTECTED]> wrote:
> >> On Wed, 09 Aug 2006 17:15:26 +0200 Mivz <[EMAIL PROTECTED]>
> >> babbled:
> >>
> >> > Yes, I'll read it :)
> >> > Here is the patch. I'm still working on the policy files. I will
> >> finish
> >> > them when I'm graduated in a few weeks.
> >> > The patch contains a function I got from gdm.
> >>
> >> copied from gdm? verbatim? if so - this can't go into entrance (unless
> >> you
> >> change entrance's license - it becomes GPL then). you can copy the
> >> ALGORITHM
> >> and the IDEA - but NOT the code - well not without affecting licenses.
> >>
> >> essiene - beware of this. i recommend you don't accept the patch as-is.
> >> you
> >> rewrite the function from gdm.
> >
> > that's the first thing that came to my mind...
> >
> > you could also try to contact the author of that piece of code
> > (hopefully the copyright holder is mentioned somewhere in the file)
> > and ask him to re-license you that function under the 3-clause-bsd.
> >
> > Bye,
> >
> > Emme
> >
> >
> >>
> >> > Harrie Hoogeveen
> >> >
> >> > John Kraal wrote:
> >> > > I believe he is very busy finishing school at the moment ;)
> >> > >
> >> > > He'll read this though.
> >> > >
> >> > > Essien Ita Essien wrote:
> >> > >> John Kraal wrote:
> >> > >>> Great,
> >> > >>>
> >> > >>> The guy already made it, but he has no idea of how to make it
> >> optional
> >> > >>> (for use in Makefile.am, configure.in, etc). Nevertheless I'll let
> >> him
> >> > >>> submit.
> >> > >>>
> >> > >> awesome.
> >> > >>> If somebody could do the makefile / configure.in, please do
> >> > >>>
> >> > >> Let him mail it to me directly [EMAIL PROTECTED], I'll do the
> >> > >> autoKUNGfoo and send it back to him to test. And uhhh... why is
> >> _he_ not
> >> > >> on the mailing list directly himself? Entrance needs more love :),
> >> if he
> >> > >> could hack in SELinux support, we can  use some more hands _if_
> >> he's
> >> > >> interested in helping out more.
> >> > >>
> >> > >> Cheers,
> >> > >> Essien
> >> > >>
> >> > >>> Regards,
> >> > >>> John
> >> > >>>
> >> > >>> Essien Ita Essien wrote:
> >> > >>>
> >> >  John Kraal wrote:
> >> > 
> >> > > Hello,
> >> > >
> >> > > Are there any plans for integrating SELinux in Entrance-login as
> >> of
> >> > > yet? If not, somebody here is thinking about doing it..
> >> > >
> >> > >
> >> >  Hiya John,
> >> > 
> >> >  Its not on the current todo list.
> >> > 
> >> >  However, please go ahead and do this, much appreciated. Once then
> >> send
> >> >  the patch to the mailing list for review, I'm not the maintainer,
> >> just a
> >> >  cleaner-upper with cvs access. That said, if you send this patch
> >> in,
> >> >  also copy xcomp at [EMAIL PROTECTED] (he finds it hard to follow
> >> the
> >> >  patches on the ml, since its sooo long).
> >> > 
> >> >  One way or the other, the other, the friggin patch will go in :)
> >> > 
> >> >  *hint* Entrance need more ppl to show it more love *end hint*
> >> > 
> >> >  Cheers,
> >> >  Essien
> >> > 
> >> > > Regards,
> >> > >
> >> > > John
> >> > >
> >> > >
> >> >  -
> >> >  Take Surveys. Earn Cash. Influence the Future of IT
> >> >  Join SourceForge.net's Techsay panel and you'll get the chance to
> >> share
> >> >  your opinions on IT & business topics through brief surveys --
> >> and earn
> >> >  cash
> >> >  http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >> >  ___
> >> enlightenment-devel
> >> >  mailing list enlightenment-devel@lists.sourceforge.net
> >> >  https://lists.sourceforge.net/lists/listinf

Re: [E-devel] [Entrance] SELinux integration

2006-08-10 Thread Ibukun Olumuyiwa
*Suddenly appears out of nowhere*

NO.

No blatant copying of gdm code, even with permission. Study the algorithm
and reimplement it, but don't copy blocks of code from GDM. Everything
needs to be written from scratch. That's always been the design philosophy
from the beginning -- a lot of stuff in Entrance is taken from GDM
architecture/algorithm-wise, but I always took care to make sure I didn't
copy code explicitly to avoid licensing problems.

Great catch btw, Raster. Thanks.

Ibukun

> On 8/10/06, The Rasterman Carsten Haitzler <[EMAIL PROTECTED]> wrote:
>> On Wed, 09 Aug 2006 17:15:26 +0200 Mivz <[EMAIL PROTECTED]>
>> babbled:
>>
>> > Yes, I'll read it :)
>> > Here is the patch. I'm still working on the policy files. I will
>> finish
>> > them when I'm graduated in a few weeks.
>> > The patch contains a function I got from gdm.
>>
>> copied from gdm? verbatim? if so - this can't go into entrance (unless
>> you
>> change entrance's license - it becomes GPL then). you can copy the
>> ALGORITHM
>> and the IDEA - but NOT the code - well not without affecting licenses.
>>
>> essiene - beware of this. i recommend you don't accept the patch as-is.
>> you
>> rewrite the function from gdm.
>
> that's the first thing that came to my mind...
>
> you could also try to contact the author of that piece of code
> (hopefully the copyright holder is mentioned somewhere in the file)
> and ask him to re-license you that function under the 3-clause-bsd.
>
> Bye,
>
> Emme
>
>
>>
>> > Harrie Hoogeveen
>> >
>> > John Kraal wrote:
>> > > I believe he is very busy finishing school at the moment ;)
>> > >
>> > > He'll read this though.
>> > >
>> > > Essien Ita Essien wrote:
>> > >> John Kraal wrote:
>> > >>> Great,
>> > >>>
>> > >>> The guy already made it, but he has no idea of how to make it
>> optional
>> > >>> (for use in Makefile.am, configure.in, etc). Nevertheless I'll let
>> him
>> > >>> submit.
>> > >>>
>> > >> awesome.
>> > >>> If somebody could do the makefile / configure.in, please do
>> > >>>
>> > >> Let him mail it to me directly [EMAIL PROTECTED], I'll do the
>> > >> autoKUNGfoo and send it back to him to test. And uhhh... why is
>> _he_ not
>> > >> on the mailing list directly himself? Entrance needs more love :),
>> if he
>> > >> could hack in SELinux support, we can  use some more hands _if_
>> he's
>> > >> interested in helping out more.
>> > >>
>> > >> Cheers,
>> > >> Essien
>> > >>
>> > >>> Regards,
>> > >>> John
>> > >>>
>> > >>> Essien Ita Essien wrote:
>> > >>>
>> >  John Kraal wrote:
>> > 
>> > > Hello,
>> > >
>> > > Are there any plans for integrating SELinux in Entrance-login as
>> of
>> > > yet? If not, somebody here is thinking about doing it..
>> > >
>> > >
>> >  Hiya John,
>> > 
>> >  Its not on the current todo list.
>> > 
>> >  However, please go ahead and do this, much appreciated. Once then
>> send
>> >  the patch to the mailing list for review, I'm not the maintainer,
>> just a
>> >  cleaner-upper with cvs access. That said, if you send this patch
>> in,
>> >  also copy xcomp at [EMAIL PROTECTED] (he finds it hard to follow
>> the
>> >  patches on the ml, since its sooo long).
>> > 
>> >  One way or the other, the other, the friggin patch will go in :)
>> > 
>> >  *hint* Entrance need more ppl to show it more love *end hint*
>> > 
>> >  Cheers,
>> >  Essien
>> > 
>> > > Regards,
>> > >
>> > > John
>> > >
>> > >
>> >  -
>> >  Take Surveys. Earn Cash. Influence the Future of IT
>> >  Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> >  your opinions on IT & business topics through brief surveys --
>> and earn
>> >  cash
>> >  http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >  ___
>> enlightenment-devel
>> >  mailing list enlightenment-devel@lists.sourceforge.net
>> >  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>> > 
>> > >>>
>> > >>
>> > >> -
>> > >> Take Surveys. Earn Cash. Influence the Future of IT
>> > >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> > >> your opinions on IT & business topics through brief surveys -- and
>> earn
>> > >> cash
>> > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> > >> ___ enlightenment-devel
>> > >> mailing list enlightenment-devel@lists.sourceforge.net
>> > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>> > >>
>> > >>
>> > >
>> > > -
>> > > Take Surveys. Earn Cash. Influence the Future of IT
>> > > Join SourceForge.net's Techsay panel and y

Re: [E-devel] [Entrance] SELinux integration

2006-08-10 Thread muzzle
On 8/10/06, The Rasterman Carsten Haitzler <[EMAIL PROTECTED]> wrote:
> On Wed, 09 Aug 2006 17:15:26 +0200 Mivz <[EMAIL PROTECTED]> babbled:
>
> > Yes, I'll read it :)
> > Here is the patch. I'm still working on the policy files. I will finish
> > them when I'm graduated in a few weeks.
> > The patch contains a function I got from gdm.
>
> copied from gdm? verbatim? if so - this can't go into entrance (unless you
> change entrance's license - it becomes GPL then). you can copy the ALGORITHM
> and the IDEA - but NOT the code - well not without affecting licenses.
>
> essiene - beware of this. i recommend you don't accept the patch as-is. you
> rewrite the function from gdm.

that's the first thing that came to my mind...

you could also try to contact the author of that piece of code
(hopefully the copyright holder is mentioned somewhere in the file)
and ask him to re-license you that function under the 3-clause-bsd.

Bye,

Emme


>
> > Harrie Hoogeveen
> >
> > John Kraal wrote:
> > > I believe he is very busy finishing school at the moment ;)
> > >
> > > He'll read this though.
> > >
> > > Essien Ita Essien wrote:
> > >> John Kraal wrote:
> > >>> Great,
> > >>>
> > >>> The guy already made it, but he has no idea of how to make it optional
> > >>> (for use in Makefile.am, configure.in, etc). Nevertheless I'll let him
> > >>> submit.
> > >>>
> > >> awesome.
> > >>> If somebody could do the makefile / configure.in, please do
> > >>>
> > >> Let him mail it to me directly [EMAIL PROTECTED], I'll do the
> > >> autoKUNGfoo and send it back to him to test. And uhhh... why is _he_ not
> > >> on the mailing list directly himself? Entrance needs more love :), if he
> > >> could hack in SELinux support, we can  use some more hands _if_ he's
> > >> interested in helping out more.
> > >>
> > >> Cheers,
> > >> Essien
> > >>
> > >>> Regards,
> > >>> John
> > >>>
> > >>> Essien Ita Essien wrote:
> > >>>
> >  John Kraal wrote:
> > 
> > > Hello,
> > >
> > > Are there any plans for integrating SELinux in Entrance-login as of
> > > yet? If not, somebody here is thinking about doing it..
> > >
> > >
> >  Hiya John,
> > 
> >  Its not on the current todo list.
> > 
> >  However, please go ahead and do this, much appreciated. Once then send
> >  the patch to the mailing list for review, I'm not the maintainer, just 
> >  a
> >  cleaner-upper with cvs access. That said, if you send this patch in,
> >  also copy xcomp at [EMAIL PROTECTED] (he finds it hard to follow the
> >  patches on the ml, since its sooo long).
> > 
> >  One way or the other, the other, the friggin patch will go in :)
> > 
> >  *hint* Entrance need more ppl to show it more love *end hint*
> > 
> >  Cheers,
> >  Essien
> > 
> > > Regards,
> > >
> > > John
> > >
> > >
> >  -
> >  Take Surveys. Earn Cash. Influence the Future of IT
> >  Join SourceForge.net's Techsay panel and you'll get the chance to share
> >  your opinions on IT & business topics through brief surveys -- and earn
> >  cash
> >  http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >  ___ enlightenment-devel
> >  mailing list enlightenment-devel@lists.sourceforge.net
> >  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > 
> > >>>
> > >>
> > >> -
> > >> Take Surveys. Earn Cash. Influence the Future of IT
> > >> Join SourceForge.net's Techsay panel and you'll get the chance to share
> > >> your opinions on IT & business topics through brief surveys -- and earn
> > >> cash
> > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > >> ___ enlightenment-devel
> > >> mailing list enlightenment-devel@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >>
> > >>
> > >
> > > -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share 
> > > your
> > > opinions on IT & business topics through brief surveys -- and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > enlightenment-devel mailing list
> > > enlightenment-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >
> >
> >
>
>
> --
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
> 裸好多
> Tokyo, Japan (東京 日本)
>
> 

Re: [E-devel] [Entrance] SELinux integration

2006-08-09 Thread The Rasterman
On Wed, 09 Aug 2006 17:15:26 +0200 Mivz <[EMAIL PROTECTED]> babbled:

> Yes, I'll read it :)
> Here is the patch. I'm still working on the policy files. I will finish 
> them when I'm graduated in a few weeks.
> The patch contains a function I got from gdm.

copied from gdm? verbatim? if so - this can't go into entrance (unless you
change entrance's license - it becomes GPL then). you can copy the ALGORITHM
and the IDEA - but NOT the code - well not without affecting licenses.

essiene - beware of this. i recommend you don't accept the patch as-is. you
rewrite the function from gdm.

> Harrie Hoogeveen
> 
> John Kraal wrote:
> > I believe he is very busy finishing school at the moment ;)
> > 
> > He'll read this though.
> > 
> > Essien Ita Essien wrote:
> >> John Kraal wrote:
> >>> Great,
> >>>
> >>> The guy already made it, but he has no idea of how to make it optional 
> >>> (for use in Makefile.am, configure.in, etc). Nevertheless I'll let him 
> >>> submit.
> >>>   
> >> awesome.
> >>> If somebody could do the makefile / configure.in, please do
> >>>   
> >> Let him mail it to me directly [EMAIL PROTECTED], I'll do the 
> >> autoKUNGfoo and send it back to him to test. And uhhh... why is _he_ not 
> >> on the mailing list directly himself? Entrance needs more love :), if he 
> >> could hack in SELinux support, we can  use some more hands _if_ he's 
> >> interested in helping out more.
> >>
> >> Cheers,
> >> Essien
> >>
> >>> Regards,
> >>> John
> >>>
> >>> Essien Ita Essien wrote:
> >>>   
>  John Kraal wrote:
>  
> > Hello,
> >
> > Are there any plans for integrating SELinux in Entrance-login as of
> > yet? If not, somebody here is thinking about doing it..
> >   
> >   
>  Hiya John,
> 
>  Its not on the current todo list.
> 
>  However, please go ahead and do this, much appreciated. Once then send 
>  the patch to the mailing list for review, I'm not the maintainer, just a 
>  cleaner-upper with cvs access. That said, if you send this patch in, 
>  also copy xcomp at [EMAIL PROTECTED] (he finds it hard to follow the 
>  patches on the ml, since its sooo long).
> 
>  One way or the other, the other, the friggin patch will go in :)
> 
>  *hint* Entrance need more ppl to show it more love *end hint*
> 
>  Cheers,
>  Essien
>  
> > Regards,
> >
> > John
> >   
> >   
>  -
>  Take Surveys. Earn Cash. Influence the Future of IT
>  Join SourceForge.net's Techsay panel and you'll get the chance to share
>  your opinions on IT & business topics through brief surveys -- and earn
>  cash
>  http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>  ___ enlightenment-devel
>  mailing list enlightenment-devel@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>  
> >>>   
> >>
> >> -
> >> Take Surveys. Earn Cash. Influence the Future of IT
> >> Join SourceForge.net's Techsay panel and you'll get the chance to share
> >> your opinions on IT & business topics through brief surveys -- and earn
> >> cash
> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >> ___ enlightenment-devel
> >> mailing list enlightenment-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >>
> >>
> > 
> > -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys -- and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > 
> 
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Entrance] SELinux integration

2006-08-09 Thread Essien Ita Essien
Mivz wrote:
> Yes, I'll read it :)
;)
> Here is the patch. I'm still working on the policy files. I will 
> finish them when I'm graduated in a few weeks.
wish you all the best in them exams right there. *cough* we have a 
vacancy on our Entrance enterprise architecture and coporate solution 
provision team, do send us your CV as soon as you are able *end cough* :)
> The patch contains a function I got from gdm.
sweet. I'll add the conditional compilation boohaa to this, and send 
back to you to test properly, I don't have/use selinux so I can't test 
it well on my box. Once you're good with it, i'll apply it finally.

thnx again.

Essien
>
> Harrie Hoogeveen
>
> John Kraal wrote:
>> I believe he is very busy finishing school at the moment ;)
>>
>> He'll read this though.
>>
>> Essien Ita Essien wrote:
>>> John Kraal wrote:
 Great,

 The guy already made it, but he has no idea of how to make it 
 optional (for use in Makefile.am, configure.in, etc). Nevertheless 
 I'll let him submit.
   
>>> awesome.
 If somebody could do the makefile / configure.in, please do
   
>>> Let him mail it to me directly [EMAIL PROTECTED], I'll do the 
>>> autoKUNGfoo and send it back to him to test. And uhhh... why is _he_ 
>>> not on the mailing list directly himself? Entrance needs more love 
>>> :), if he could hack in SELinux support, we can  use some more hands 
>>> _if_ he's interested in helping out more.
>>>
>>> Cheers,
>>> Essien
>>>
 Regards,
 John

 Essien Ita Essien wrote:
  
> John Kraal wrote:
>
>> Hello,
>>
>> Are there any plans for integrating SELinux in Entrance-login as 
>> of yet? If not, somebody here is thinking about doing it..
>> 
> Hiya John,
>
> Its not on the current todo list.
>
> However, please go ahead and do this, much appreciated. Once then 
> send the patch to the mailing list for review, I'm not the 
> maintainer, just a cleaner-upper with cvs access. That said, if 
> you send this patch in, also copy xcomp at [EMAIL PROTECTED] (he 
> finds it hard to follow the patches on the ml, since its sooo long).
>
> One way or the other, the other, the friggin patch will go in :)
>
> *hint* Entrance need more ppl to show it more love *end hint*
>
> Cheers,
> Essien
>
>> Regards,
>>
>> John
>> 
> - 
>
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to 
> share your
> opinions on IT & business topics through brief surveys -- and earn 
> cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV 
>
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
   
>>>
>>> - 
>>>
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to 
>>> share your
>>> opinions on IT & business topics through brief surveys -- and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV 
>>>
>>> ___
>>> enlightenment-devel mailing list
>>> enlightenment-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>>
>>>
>>
>> - 
>>
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to 
>> share your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV 
>>
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>
> 
>
> diff -Nau 
> /usr/portage/distfiles/cvs-src/e17/apps/entrance/src/client/entrance_session.c
>  ./entrance_session.c
> --- 
> /usr/portage/distfiles/cvs-src/e17/apps/entrance/src/client/entrance_session.c
> 2006-08-02 00:02:35.0 +0200
> +++ ./entrance_session.c  2006-08-02 00:58:49.0 +0200
> @@ -11,6 +11,10 @@
>  #include "entrance_x_session.h"
>  #include "entrance_ipc.h"
>  
> +#include 
> +#include 
> +
> +
>  /**
>  @file entrance_session.c
>  @brief Variables and Data relating to an instance of the application as a 
> whole
> @@ -458,6 +462,9 @@
>  if (initgroups(pwent->pw_name, pwent->pw_gid))
> syslog(LOG_CRIT,
>   

Re: [E-devel] [Entrance] SELinux integration

2006-08-09 Thread Mivz

Yes, I'll read it :)
Here is the patch. I'm still working on the policy files. I will finish 
them when I'm graduated in a few weeks.

The patch contains a function I got from gdm.

Harrie Hoogeveen

John Kraal wrote:

I believe he is very busy finishing school at the moment ;)

He'll read this though.

Essien Ita Essien wrote:

John Kraal wrote:

Great,

The guy already made it, but he has no idea of how to make it optional 
(for use in Makefile.am, configure.in, etc). Nevertheless I'll let him 
submit.
  

awesome.

If somebody could do the makefile / configure.in, please do
  
Let him mail it to me directly [EMAIL PROTECTED], I'll do the 
autoKUNGfoo and send it back to him to test. And uhhh... why is _he_ not 
on the mailing list directly himself? Entrance needs more love :), if he 
could hack in SELinux support, we can  use some more hands _if_ he's 
interested in helping out more.


Cheers,
Essien


Regards,
John

Essien Ita Essien wrote:
  

John Kraal wrote:


Hello,

Are there any plans for integrating SELinux in Entrance-login as of yet? 
If not, somebody here is thinking about doing it..
  
  

Hiya John,

Its not on the current todo list.

However, please go ahead and do this, much appreciated. Once then send 
the patch to the mailing list for review, I'm not the maintainer, just a 
cleaner-upper with cvs access. That said, if you send this patch in, 
also copy xcomp at [EMAIL PROTECTED] (he finds it hard to follow the 
patches on the ml, since its sooo long).


One way or the other, the other, the friggin patch will go in :)

*hint* Entrance need more ppl to show it more love *end hint*

Cheers,
Essien


Regards,

John
  
  

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

  


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



diff -Nau 
/usr/portage/distfiles/cvs-src/e17/apps/entrance/src/client/entrance_session.c 
./entrance_session.c
--- 
/usr/portage/distfiles/cvs-src/e17/apps/entrance/src/client/entrance_session.c  
2006-08-02 00:02:35.0 +0200
+++ ./entrance_session.c2006-08-02 00:58:49.0 +0200
@@ -11,6 +11,10 @@
 #include "entrance_x_session.h"
 #include "entrance_ipc.h"
 
+#include 
+#include 
+
+
 /**
 @file entrance_session.c
 @brief Variables and Data relating to an instance of the application as a whole
@@ -458,6 +462,9 @@
 if (initgroups(pwent->pw_name, pwent->pw_gid))
syslog(LOG_CRIT,
   "Unable to initialize group (is entrance running as 
root?).");
+//SELinux login
+selinux_setup(pwent->pw_name); 
+
 if (setgid(pwent->pw_gid))
syslog(LOG_CRIT, "Unable to set group id.");
 if (setuid(pwent->pw_uid))
@@ -797,3 +804,39 @@
   }
}
 }
+
+//from gdm
+selinux_setup (const char *login)
+{
+security_context_t scontext;
+int ret=-1;
+char *seuser=NULL;
+char *level=NULL;
+
+/* If selinux is not enabled, then we don't do anything */
+if (is_selinux_enabled () <= 0)
+return TRUE;
+
+if (getseuserbyname(login, &seuser, &level) == 0)
+ret=get_default_context_with_level(seuser, level, 0, 
&scontext);
+
+if (ret < 0) {
+syslog(LOG_CRIT, sprintf("SELinux entrance login: unable to 
obtain default security context for  %s.", login));
+/* note that this will be run when the .xsession-errors
+   is already being logged, so we can use

Re: [E-devel] [Entrance] SELinux integration

2006-08-03 Thread John Kraal
I believe he is very busy finishing school at the moment ;)

He'll read this though.

Essien Ita Essien wrote:
> John Kraal wrote:
>> Great,
>>
>> The guy already made it, but he has no idea of how to make it optional 
>> (for use in Makefile.am, configure.in, etc). Nevertheless I'll let him 
>> submit.
>>   
> awesome.
>> If somebody could do the makefile / configure.in, please do
>>   
> Let him mail it to me directly [EMAIL PROTECTED], I'll do the 
> autoKUNGfoo and send it back to him to test. And uhhh... why is _he_ not 
> on the mailing list directly himself? Entrance needs more love :), if he 
> could hack in SELinux support, we can  use some more hands _if_ he's 
> interested in helping out more.
> 
> Cheers,
> Essien
> 
>> Regards,
>> John
>>
>> Essien Ita Essien wrote:
>>   
>>> John Kraal wrote:
>>> 
 Hello,

 Are there any plans for integrating SELinux in Entrance-login as of yet? 
 If not, somebody here is thinking about doing it..
   
   
>>> Hiya John,
>>>
>>> Its not on the current todo list.
>>>
>>> However, please go ahead and do this, much appreciated. Once then send 
>>> the patch to the mailing list for review, I'm not the maintainer, just a 
>>> cleaner-upper with cvs access. That said, if you send this patch in, 
>>> also copy xcomp at [EMAIL PROTECTED] (he finds it hard to follow the 
>>> patches on the ml, since its sooo long).
>>>
>>> One way or the other, the other, the friggin patch will go in :)
>>>
>>> *hint* Entrance need more ppl to show it more love *end hint*
>>>
>>> Cheers,
>>> Essien
>>> 
 Regards,

 John
   
   
>>> -
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>> opinions on IT & business topics through brief surveys -- and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> ___
>>> enlightenment-devel mailing list
>>> enlightenment-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>> 
>>   
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Entrance] SELinux integration

2006-08-03 Thread Essien Ita Essien
John Kraal wrote:
> Great,
>
> The guy already made it, but he has no idea of how to make it optional 
> (for use in Makefile.am, configure.in, etc). Nevertheless I'll let him 
> submit.
>   
awesome.
> If somebody could do the makefile / configure.in, please do
>   
Let him mail it to me directly [EMAIL PROTECTED], I'll do the 
autoKUNGfoo and send it back to him to test. And uhhh... why is _he_ not 
on the mailing list directly himself? Entrance needs more love :), if he 
could hack in SELinux support, we can  use some more hands _if_ he's 
interested in helping out more.

Cheers,
Essien

> Regards,
> John
>
> Essien Ita Essien wrote:
>   
>> John Kraal wrote:
>> 
>>> Hello,
>>>
>>> Are there any plans for integrating SELinux in Entrance-login as of yet? 
>>> If not, somebody here is thinking about doing it..
>>>   
>>>   
>> Hiya John,
>>
>> Its not on the current todo list.
>>
>> However, please go ahead and do this, much appreciated. Once then send 
>> the patch to the mailing list for review, I'm not the maintainer, just a 
>> cleaner-upper with cvs access. That said, if you send this patch in, 
>> also copy xcomp at [EMAIL PROTECTED] (he finds it hard to follow the 
>> patches on the ml, since its sooo long).
>>
>> One way or the other, the other, the friggin patch will go in :)
>>
>> *hint* Entrance need more ppl to show it more love *end hint*
>>
>> Cheers,
>> Essien
>> 
>>> Regards,
>>>
>>> John
>>>   
>>>   
>> -
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>> 
>
>   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Entrance] SELinux integration

2006-08-03 Thread John Kraal
Great,

The guy already made it, but he has no idea of how to make it optional 
(for use in Makefile.am, configure.in, etc). Nevertheless I'll let him 
submit.

If somebody could do the makefile / configure.in, please do

Regards,
John

Essien Ita Essien wrote:
> John Kraal wrote:
>> Hello,
>>
>> Are there any plans for integrating SELinux in Entrance-login as of yet? 
>> If not, somebody here is thinking about doing it..
>>   
> Hiya John,
> 
> Its not on the current todo list.
> 
> However, please go ahead and do this, much appreciated. Once then send 
> the patch to the mailing list for review, I'm not the maintainer, just a 
> cleaner-upper with cvs access. That said, if you send this patch in, 
> also copy xcomp at [EMAIL PROTECTED] (he finds it hard to follow the 
> patches on the ml, since its sooo long).
> 
> One way or the other, the other, the friggin patch will go in :)
> 
> *hint* Entrance need more ppl to show it more love *end hint*
> 
> Cheers,
> Essien
>> Regards,
>>
>> John
>>   
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-- 
Met vriendelijke groeten,
With kind regards,

John Kraal
Programmer

Kewill Interchain
A member of the Kewill Group of companies

(T) +31 (0)78 6 123 310
(E)  [EMAIL PROTECTED]
(W) www.interchain.nl

IMPORTANT NOTICE: This e-mail, and each of any attachments transmitted
with it, is confidential, is the property of Kewill Interchain, and is
intended solely for the information of the individual/entity to whom
this e-mail is addressed. It may also be privileged or protected by
other legal rules. If you have received it by mistake, please notify the

author immediately by replying to this e-mail and then destroy/delete
this e-mail and all attachments (if any). If you are not the intended
recipient you must not use, disclose, distribute, copy, print, or rely
on this e-mail. In accordance with Kewill Interchain's internal policy
e-mails sent and/or received may be monitored. Whilst Kewill Interchain
takes reasonable precautions (including use of anti-virus software) it
accepts no responsibility for any loss or damage should this e-mail
contain any virus, or similar destructive or mischievous code. (c)
Kewill Interchain 2006.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Entrance] SELinux integration

2006-08-03 Thread Essien Ita Essien
John Kraal wrote:
> Hello,
>
> Are there any plans for integrating SELinux in Entrance-login as of yet? 
> If not, somebody here is thinking about doing it..
>   
Hiya John,

Its not on the current todo list.

However, please go ahead and do this, much appreciated. Once then send 
the patch to the mailing list for review, I'm not the maintainer, just a 
cleaner-upper with cvs access. That said, if you send this patch in, 
also copy xcomp at [EMAIL PROTECTED] (he finds it hard to follow the 
patches on the ml, since its sooo long).

One way or the other, the other, the friggin patch will go in :)

*hint* Entrance need more ppl to show it more love *end hint*

Cheers,
Essien
> Regards,
>
> John
>   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Entrance] SELinux integration

2006-08-01 Thread John Kraal
Hello,

Are there any plans for integrating SELinux in Entrance-login as of yet? 
If not, somebody here is thinking about doing it..

Regards,

John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel