All of lore.kernel.org
 help / color / mirror / Atom feed
* selinux testsuite
@ 2010-06-29 19:52 Serge E. Hallyn
  2010-06-30 12:13   ` Subrata Modak
  0 siblings, 1 reply; 18+ messages in thread
From: Serge E. Hallyn @ 2010-06-29 19:52 UTC (permalink / raw)
  To: SELinux; +Cc: Stephen Smalley, James Morris, kaigai

Just a little note to announce that the selinux testsuite is now up as a
git tree at kernel.org.  You can fetch it using

	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite

The README shows how to run.

Many thanks to Stephen for keeping it running so nicely and allowing me
to post it.  I intend to test against Fedora regularly-ish, and to start
seeing how best to nudge it to work against Debian and Ubuntu in the next
month or so.

-serge

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [LTP] selinux testsuite
  2010-06-29 19:52 selinux testsuite Serge E. Hallyn
@ 2010-06-30 12:13   ` Subrata Modak
  0 siblings, 0 replies; 18+ messages in thread
From: Subrata Modak @ 2010-06-30 12:13 UTC (permalink / raw)
  To: Serge E. Hallyn; +Cc: James Morris, ltp-list, Stephen Smalley, SELinux, kaigai

Hi Serge,

On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> Just a little note to announce that the selinux testsuite is now up as a
> git tree at kernel.org.  You can fetch it using
> 
> 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite

Great. So, how far does it differ from that we have in LTP ?
http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD

As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
main contributors to the SELinux test(s) in LTP, i guess the next/future
development for SELinux tests will be happening in the new tree.

So, i would rather keep pulling to LTP from your tree. Now, could you
please let me know:

     1. Whether the new tree contains all scenarios which is present in
        LTP. In such a case a complete pruning of LTP SELinux tests can
        be done and replaced with your tree contents,
     2. If some of the LTP tests are not there, then i would like to
        retain them in LTP side-by-side your tree contents,

Regards--
Subrata

> 
> The README shows how to run.
> 
> Many thanks to Stephen for keeping it running so nicely and allowing me
> to post it.  I intend to test against Fedora regularly-ish, and to start
> seeing how best to nudge it to work against Debian and Ubuntu in the next
> month or so.
> 
> -serge
> 
> --
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
> the words "unsubscribe selinux" without quotes as the message.


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: selinux testsuite
@ 2010-06-30 12:13   ` Subrata Modak
  0 siblings, 0 replies; 18+ messages in thread
From: Subrata Modak @ 2010-06-30 12:13 UTC (permalink / raw)
  To: Serge E. Hallyn; +Cc: SELinux, Stephen Smalley, James Morris, kaigai, ltp-list

Hi Serge,

On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> Just a little note to announce that the selinux testsuite is now up as a
> git tree at kernel.org.  You can fetch it using
> 
> 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite

Great. So, how far does it differ from that we have in LTP ?
http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD

As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
main contributors to the SELinux test(s) in LTP, i guess the next/future
development for SELinux tests will be happening in the new tree.

So, i would rather keep pulling to LTP from your tree. Now, could you
please let me know:

     1. Whether the new tree contains all scenarios which is present in
        LTP. In such a case a complete pruning of LTP SELinux tests can
        be done and replaced with your tree contents,
     2. If some of the LTP tests are not there, then i would like to
        retain them in LTP side-by-side your tree contents,

Regards--
Subrata

> 
> The README shows how to run.
> 
> Many thanks to Stephen for keeping it running so nicely and allowing me
> to post it.  I intend to test against Fedora regularly-ish, and to start
> seeing how best to nudge it to work against Debian and Ubuntu in the next
> month or so.
> 
> -serge
> 
> --
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
> the words "unsubscribe selinux" without quotes as the message.


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [LTP] selinux testsuite
  2010-06-30 12:13   ` Subrata Modak
@ 2010-06-30 14:52     ` Stephen Smalley
  -1 siblings, 0 replies; 18+ messages in thread
From: Stephen Smalley @ 2010-06-30 14:52 UTC (permalink / raw)
  To: subrata; +Cc: ltp-list, James Morris, kaigai, SELinux, Serge E. Hallyn

On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> Hi Serge,
> 
> On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > Just a little note to announce that the selinux testsuite is now up as a
> > git tree at kernel.org.  You can fetch it using
> > 
> > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> 
> Great. So, how far does it differ from that we have in LTP ?
> http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> 
> As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> main contributors to the SELinux test(s) in LTP, i guess the next/future
> development for SELinux tests will be happening in the new tree.
> 
> So, i would rather keep pulling to LTP from your tree. Now, could you
> please let me know:
> 
>      1. Whether the new tree contains all scenarios which is present in
>         LTP. In such a case a complete pruning of LTP SELinux tests can
>         be done and replaced with your tree contents,
>      2. If some of the LTP tests are not there, then i would like to
>         retain them in LTP side-by-side your tree contents,

The new tree contains all of the selinux tests present in the LTP.  You
cannot however simply replace the ltp version of the tests with this
tree, as this tree is a standalone testsuite and will not run within the
ltp test harness. This testsuite is based on the original standalone
selinux testsuite that was contributed by us to IBM to port to the LTP.
We have internally maintained this testsuite in parallel to the ltp
version as we have found it easier to set up, use, debug, and maintain.

-- 
Stephen Smalley
National Security Agency


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: selinux testsuite
@ 2010-06-30 14:52     ` Stephen Smalley
  0 siblings, 0 replies; 18+ messages in thread
From: Stephen Smalley @ 2010-06-30 14:52 UTC (permalink / raw)
  To: subrata; +Cc: Serge E. Hallyn, SELinux, James Morris, kaigai, ltp-list

On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> Hi Serge,
> 
> On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > Just a little note to announce that the selinux testsuite is now up as a
> > git tree at kernel.org.  You can fetch it using
> > 
> > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> 
> Great. So, how far does it differ from that we have in LTP ?
> http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> 
> As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> main contributors to the SELinux test(s) in LTP, i guess the next/future
> development for SELinux tests will be happening in the new tree.
> 
> So, i would rather keep pulling to LTP from your tree. Now, could you
> please let me know:
> 
>      1. Whether the new tree contains all scenarios which is present in
>         LTP. In such a case a complete pruning of LTP SELinux tests can
>         be done and replaced with your tree contents,
>      2. If some of the LTP tests are not there, then i would like to
>         retain them in LTP side-by-side your tree contents,

The new tree contains all of the selinux tests present in the LTP.  You
cannot however simply replace the ltp version of the tests with this
tree, as this tree is a standalone testsuite and will not run within the
ltp test harness. This testsuite is based on the original standalone
selinux testsuite that was contributed by us to IBM to port to the LTP.
We have internally maintained this testsuite in parallel to the ltp
version as we have found it easier to set up, use, debug, and maintain.

-- 
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [LTP] selinux testsuite
  2010-06-30 14:52     ` Stephen Smalley
@ 2010-07-01 17:06       ` Subrata Modak
  -1 siblings, 0 replies; 18+ messages in thread
From: Subrata Modak @ 2010-07-01 17:06 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: ltp-list, James Morris, kaigai, SELinux, Serge E. Hallyn

On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote: 
> On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> > Hi Serge,
> > 
> > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > > Just a little note to announce that the selinux testsuite is now up as a
> > > git tree at kernel.org.  You can fetch it using
> > > 
> > > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> > 
> > Great. So, how far does it differ from that we have in LTP ?
> > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> > 
> > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> > main contributors to the SELinux test(s) in LTP, i guess the next/future
> > development for SELinux tests will be happening in the new tree.
> > 
> > So, i would rather keep pulling to LTP from your tree. Now, could you
> > please let me know:
> > 
> >      1. Whether the new tree contains all scenarios which is present in
> >         LTP. In such a case a complete pruning of LTP SELinux tests can
> >         be done and replaced with your tree contents,
> >      2. If some of the LTP tests are not there, then i would like to
> >         retain them in LTP side-by-side your tree contents,
> 
> The new tree contains all of the selinux tests present in the LTP.  You
> cannot however simply replace the ltp version of the tests with this
> tree, as this tree is a standalone testsuite and will not run within the
> ltp test harness. This testsuite is based on the original standalone
> selinux testsuite that was contributed by us to IBM to port to the LTP.
> We have internally maintained this testsuite in parallel to the ltp
> version as we have found it easier to set up, use, debug, and maintain.

Thanks Stephen. Since you have maintained the Original-One Internally
and have simultaneously contributed changes to the LTP-version of
SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
keep sending patches to LTP to update the LTP-version at regular
intervals (off-course at your convenience ;-))

Regards--
Subrata

> 


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: selinux testsuite
@ 2010-07-01 17:06       ` Subrata Modak
  0 siblings, 0 replies; 18+ messages in thread
From: Subrata Modak @ 2010-07-01 17:06 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: Serge E. Hallyn, SELinux, James Morris, kaigai, ltp-list

On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote: 
> On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> > Hi Serge,
> > 
> > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > > Just a little note to announce that the selinux testsuite is now up as a
> > > git tree at kernel.org.  You can fetch it using
> > > 
> > > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> > 
> > Great. So, how far does it differ from that we have in LTP ?
> > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> > 
> > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> > main contributors to the SELinux test(s) in LTP, i guess the next/future
> > development for SELinux tests will be happening in the new tree.
> > 
> > So, i would rather keep pulling to LTP from your tree. Now, could you
> > please let me know:
> > 
> >      1. Whether the new tree contains all scenarios which is present in
> >         LTP. In such a case a complete pruning of LTP SELinux tests can
> >         be done and replaced with your tree contents,
> >      2. If some of the LTP tests are not there, then i would like to
> >         retain them in LTP side-by-side your tree contents,
> 
> The new tree contains all of the selinux tests present in the LTP.  You
> cannot however simply replace the ltp version of the tests with this
> tree, as this tree is a standalone testsuite and will not run within the
> ltp test harness. This testsuite is based on the original standalone
> selinux testsuite that was contributed by us to IBM to port to the LTP.
> We have internally maintained this testsuite in parallel to the ltp
> version as we have found it easier to set up, use, debug, and maintain.

Thanks Stephen. Since you have maintained the Original-One Internally
and have simultaneously contributed changes to the LTP-version of
SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
keep sending patches to LTP to update the LTP-version at regular
intervals (off-course at your convenience ;-))

Regards--
Subrata

> 


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [LTP] selinux testsuite
  2010-07-01 17:06       ` Subrata Modak
@ 2010-07-01 18:24         ` Stephen Smalley
  -1 siblings, 0 replies; 18+ messages in thread
From: Stephen Smalley @ 2010-07-01 18:24 UTC (permalink / raw)
  To: subrata; +Cc: ltp-list, James Morris, kaigai, SELinux, Serge E. Hallyn

On Thu, 2010-07-01 at 22:36 +0530, Subrata Modak wrote:
> On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote: 
> > On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> > > Hi Serge,
> > > 
> > > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > > > Just a little note to announce that the selinux testsuite is now up as a
> > > > git tree at kernel.org.  You can fetch it using
> > > > 
> > > > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> > > 
> > > Great. So, how far does it differ from that we have in LTP ?
> > > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> > > 
> > > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> > > main contributors to the SELinux test(s) in LTP, i guess the next/future
> > > development for SELinux tests will be happening in the new tree.
> > > 
> > > So, i would rather keep pulling to LTP from your tree. Now, could you
> > > please let me know:
> > > 
> > >      1. Whether the new tree contains all scenarios which is present in
> > >         LTP. In such a case a complete pruning of LTP SELinux tests can
> > >         be done and replaced with your tree contents,
> > >      2. If some of the LTP tests are not there, then i would like to
> > >         retain them in LTP side-by-side your tree contents,
> > 
> > The new tree contains all of the selinux tests present in the LTP.  You
> > cannot however simply replace the ltp version of the tests with this
> > tree, as this tree is a standalone testsuite and will not run within the
> > ltp test harness. This testsuite is based on the original standalone
> > selinux testsuite that was contributed by us to IBM to port to the LTP.
> > We have internally maintained this testsuite in parallel to the ltp
> > version as we have found it easier to set up, use, debug, and maintain.
> 
> Thanks Stephen. Since you have maintained the Original-One Internally
> and have simultaneously contributed changes to the LTP-version of
> SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
> keep sending patches to LTP to update the LTP-version at regular
> intervals (off-course at your convenience ;-))

I think that will depend on whether there is some benefit to maintaining
the ltp version.  We might derive some benefit if the ltp selinux
testsuite were better integrated (e.g. tests run by default if SELinux
is enabled on the host) and if the tests got some regular attention from
the ltp maintainers.  Otherwise, it may be better to just remove the
tests from the ltp and point people to the standalone version.

-- 
Stephen Smalley
National Security Agency


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: selinux testsuite
@ 2010-07-01 18:24         ` Stephen Smalley
  0 siblings, 0 replies; 18+ messages in thread
From: Stephen Smalley @ 2010-07-01 18:24 UTC (permalink / raw)
  To: subrata; +Cc: Serge E. Hallyn, SELinux, James Morris, kaigai, ltp-list

On Thu, 2010-07-01 at 22:36 +0530, Subrata Modak wrote:
> On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote: 
> > On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> > > Hi Serge,
> > > 
> > > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > > > Just a little note to announce that the selinux testsuite is now up as a
> > > > git tree at kernel.org.  You can fetch it using
> > > > 
> > > > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> > > 
> > > Great. So, how far does it differ from that we have in LTP ?
> > > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> > > 
> > > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> > > main contributors to the SELinux test(s) in LTP, i guess the next/future
> > > development for SELinux tests will be happening in the new tree.
> > > 
> > > So, i would rather keep pulling to LTP from your tree. Now, could you
> > > please let me know:
> > > 
> > >      1. Whether the new tree contains all scenarios which is present in
> > >         LTP. In such a case a complete pruning of LTP SELinux tests can
> > >         be done and replaced with your tree contents,
> > >      2. If some of the LTP tests are not there, then i would like to
> > >         retain them in LTP side-by-side your tree contents,
> > 
> > The new tree contains all of the selinux tests present in the LTP.  You
> > cannot however simply replace the ltp version of the tests with this
> > tree, as this tree is a standalone testsuite and will not run within the
> > ltp test harness. This testsuite is based on the original standalone
> > selinux testsuite that was contributed by us to IBM to port to the LTP.
> > We have internally maintained this testsuite in parallel to the ltp
> > version as we have found it easier to set up, use, debug, and maintain.
> 
> Thanks Stephen. Since you have maintained the Original-One Internally
> and have simultaneously contributed changes to the LTP-version of
> SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
> keep sending patches to LTP to update the LTP-version at regular
> intervals (off-course at your convenience ;-))

I think that will depend on whether there is some benefit to maintaining
the ltp version.  We might derive some benefit if the ltp selinux
testsuite were better integrated (e.g. tests run by default if SELinux
is enabled on the host) and if the tests got some regular attention from
the ltp maintainers.  Otherwise, it may be better to just remove the
tests from the ltp and point people to the standalone version.

-- 
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [LTP] selinux testsuite
  2010-07-01 18:24         ` Stephen Smalley
@ 2010-07-01 19:53           ` Serge E. Hallyn
  -1 siblings, 0 replies; 18+ messages in thread
From: Serge E. Hallyn @ 2010-07-01 19:53 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: James Morris, ltp-list, SELinux, kaigai

Quoting Stephen Smalley (sds@tycho.nsa.gov):
> On Thu, 2010-07-01 at 22:36 +0530, Subrata Modak wrote:
> > On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote: 
> > > On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> > > > Hi Serge,
> > > > 
> > > > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > > > > Just a little note to announce that the selinux testsuite is now up as a
> > > > > git tree at kernel.org.  You can fetch it using
> > > > > 
> > > > > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> > > > 
> > > > Great. So, how far does it differ from that we have in LTP ?
> > > > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> > > > 
> > > > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> > > > main contributors to the SELinux test(s) in LTP, i guess the next/future
> > > > development for SELinux tests will be happening in the new tree.
> > > > 
> > > > So, i would rather keep pulling to LTP from your tree. Now, could you
> > > > please let me know:
> > > > 
> > > >      1. Whether the new tree contains all scenarios which is present in
> > > >         LTP. In such a case a complete pruning of LTP SELinux tests can
> > > >         be done and replaced with your tree contents,
> > > >      2. If some of the LTP tests are not there, then i would like to
> > > >         retain them in LTP side-by-side your tree contents,
> > > 
> > > The new tree contains all of the selinux tests present in the LTP.  You
> > > cannot however simply replace the ltp version of the tests with this
> > > tree, as this tree is a standalone testsuite and will not run within the
> > > ltp test harness. This testsuite is based on the original standalone
> > > selinux testsuite that was contributed by us to IBM to port to the LTP.
> > > We have internally maintained this testsuite in parallel to the ltp
> > > version as we have found it easier to set up, use, debug, and maintain.
> > 
> > Thanks Stephen. Since you have maintained the Original-One Internally
> > and have simultaneously contributed changes to the LTP-version of
> > SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
> > keep sending patches to LTP to update the LTP-version at regular
> > intervals (off-course at your convenience ;-))
> 
> I think that will depend on whether there is some benefit to maintaining
> the ltp version.  We might derive some benefit if the ltp selinux
> testsuite were better integrated (e.g. tests run by default if SELinux
> is enabled on the host) and if the tests got some regular attention from
> the ltp maintainers.  Otherwise, it may be better to just remove the
> tests from the ltp and point people to the standalone version.

I don't object to the tests being maintained in LTP.  But so far, AFAICS,
the cost of maintaining in LTP far outweighs the benefits.

So I'd like to know, does anyone (IBM?) *use* the version in LTP for
automated testing?

If not, heck we could replace ltp/testcases/kernel/security/selinux/*
with a script that git clones the testsuite and runs it.

Mind you it's not the selinux tests per se - it's the random bulk LTP
updates which then break selinux tests, or worse, the autoconf cruft
to try to detect whether the user wants selinux tests - which constitute
the real maintenance cost.

If someone who uses the LTP selinux tests could step up and offer
to periodically run the tests and work with (me and) the community
to push fixes, I'll be happy to help out.

-serge

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: selinux testsuite
@ 2010-07-01 19:53           ` Serge E. Hallyn
  0 siblings, 0 replies; 18+ messages in thread
From: Serge E. Hallyn @ 2010-07-01 19:53 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: subrata, SELinux, James Morris, kaigai, ltp-list

Quoting Stephen Smalley (sds@tycho.nsa.gov):
> On Thu, 2010-07-01 at 22:36 +0530, Subrata Modak wrote:
> > On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote: 
> > > On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> > > > Hi Serge,
> > > > 
> > > > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > > > > Just a little note to announce that the selinux testsuite is now up as a
> > > > > git tree at kernel.org.  You can fetch it using
> > > > > 
> > > > > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> > > > 
> > > > Great. So, how far does it differ from that we have in LTP ?
> > > > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> > > > 
> > > > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> > > > main contributors to the SELinux test(s) in LTP, i guess the next/future
> > > > development for SELinux tests will be happening in the new tree.
> > > > 
> > > > So, i would rather keep pulling to LTP from your tree. Now, could you
> > > > please let me know:
> > > > 
> > > >      1. Whether the new tree contains all scenarios which is present in
> > > >         LTP. In such a case a complete pruning of LTP SELinux tests can
> > > >         be done and replaced with your tree contents,
> > > >      2. If some of the LTP tests are not there, then i would like to
> > > >         retain them in LTP side-by-side your tree contents,
> > > 
> > > The new tree contains all of the selinux tests present in the LTP.  You
> > > cannot however simply replace the ltp version of the tests with this
> > > tree, as this tree is a standalone testsuite and will not run within the
> > > ltp test harness. This testsuite is based on the original standalone
> > > selinux testsuite that was contributed by us to IBM to port to the LTP.
> > > We have internally maintained this testsuite in parallel to the ltp
> > > version as we have found it easier to set up, use, debug, and maintain.
> > 
> > Thanks Stephen. Since you have maintained the Original-One Internally
> > and have simultaneously contributed changes to the LTP-version of
> > SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
> > keep sending patches to LTP to update the LTP-version at regular
> > intervals (off-course at your convenience ;-))
> 
> I think that will depend on whether there is some benefit to maintaining
> the ltp version.  We might derive some benefit if the ltp selinux
> testsuite were better integrated (e.g. tests run by default if SELinux
> is enabled on the host) and if the tests got some regular attention from
> the ltp maintainers.  Otherwise, it may be better to just remove the
> tests from the ltp and point people to the standalone version.

I don't object to the tests being maintained in LTP.  But so far, AFAICS,
the cost of maintaining in LTP far outweighs the benefits.

So I'd like to know, does anyone (IBM?) *use* the version in LTP for
automated testing?

If not, heck we could replace ltp/testcases/kernel/security/selinux/*
with a script that git clones the testsuite and runs it.

Mind you it's not the selinux tests per se - it's the random bulk LTP
updates which then break selinux tests, or worse, the autoconf cruft
to try to detect whether the user wants selinux tests - which constitute
the real maintenance cost.

If someone who uses the LTP selinux tests could step up and offer
to periodically run the tests and work with (me and) the community
to push fixes, I'll be happy to help out.

-serge

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [LTP] selinux testsuite
  2010-07-01 19:53           ` Serge E. Hallyn
@ 2010-07-02 14:50             ` Stephen Smalley
  -1 siblings, 0 replies; 18+ messages in thread
From: Stephen Smalley @ 2010-07-02 14:50 UTC (permalink / raw)
  To: Serge E. Hallyn; +Cc: James Morris, ltp-list, kaigai, SELinux, Jeff Burke

On Thu, 2010-07-01 at 14:53 -0500, Serge E. Hallyn wrote:
> Quoting Stephen Smalley (sds@tycho.nsa.gov):
> > On Thu, 2010-07-01 at 22:36 +0530, Subrata Modak wrote:
> > > On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote: 
> > > > On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> > > > > Hi Serge,
> > > > > 
> > > > > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > > > > > Just a little note to announce that the selinux testsuite is now up as a
> > > > > > git tree at kernel.org.  You can fetch it using
> > > > > > 
> > > > > > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> > > > > 
> > > > > Great. So, how far does it differ from that we have in LTP ?
> > > > > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> > > > > 
> > > > > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> > > > > main contributors to the SELinux test(s) in LTP, i guess the next/future
> > > > > development for SELinux tests will be happening in the new tree.
> > > > > 
> > > > > So, i would rather keep pulling to LTP from your tree. Now, could you
> > > > > please let me know:
> > > > > 
> > > > >      1. Whether the new tree contains all scenarios which is present in
> > > > >         LTP. In such a case a complete pruning of LTP SELinux tests can
> > > > >         be done and replaced with your tree contents,
> > > > >      2. If some of the LTP tests are not there, then i would like to
> > > > >         retain them in LTP side-by-side your tree contents,
> > > > 
> > > > The new tree contains all of the selinux tests present in the LTP.  You
> > > > cannot however simply replace the ltp version of the tests with this
> > > > tree, as this tree is a standalone testsuite and will not run within the
> > > > ltp test harness. This testsuite is based on the original standalone
> > > > selinux testsuite that was contributed by us to IBM to port to the LTP.
> > > > We have internally maintained this testsuite in parallel to the ltp
> > > > version as we have found it easier to set up, use, debug, and maintain.
> > > 
> > > Thanks Stephen. Since you have maintained the Original-One Internally
> > > and have simultaneously contributed changes to the LTP-version of
> > > SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
> > > keep sending patches to LTP to update the LTP-version at regular
> > > intervals (off-course at your convenience ;-))
> > 
> > I think that will depend on whether there is some benefit to maintaining
> > the ltp version.  We might derive some benefit if the ltp selinux
> > testsuite were better integrated (e.g. tests run by default if SELinux
> > is enabled on the host) and if the tests got some regular attention from
> > the ltp maintainers.  Otherwise, it may be better to just remove the
> > tests from the ltp and point people to the standalone version.
> 
> I don't object to the tests being maintained in LTP.  But so far, AFAICS,
> the cost of maintaining in LTP far outweighs the benefits.
> 
> So I'd like to know, does anyone (IBM?) *use* the version in LTP for
> automated testing?
> 
> If not, heck we could replace ltp/testcases/kernel/security/selinux/*
> with a script that git clones the testsuite and runs it.
> 
> Mind you it's not the selinux tests per se - it's the random bulk LTP
> updates which then break selinux tests, or worse, the autoconf cruft
> to try to detect whether the user wants selinux tests - which constitute
> the real maintenance cost.
> 
> If someone who uses the LTP selinux tests could step up and offer
> to periodically run the tests and work with (me and) the community
> to push fixes, I'll be happy to help out.

(cc'd Jeff Burke as I know he has run the ltp selinux tests in the past
on RHEL and has contributed patches in the past)

Jeff - see above for context.  Do you still run the ltp selinux tests on
a regular basis?  Are you interested in helping to maintain them and
ideally to better integrate them into the LTP so that they will be run
by default (if SELinux is enabled) and exercised by the regular ltp
maintainers?  Or are you just as happy to clone the separate standalone
selinux testsuite and run that as part of QA, separate from ltp testing?

-- 
Stephen Smalley
National Security Agency


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: selinux testsuite
@ 2010-07-02 14:50             ` Stephen Smalley
  0 siblings, 0 replies; 18+ messages in thread
From: Stephen Smalley @ 2010-07-02 14:50 UTC (permalink / raw)
  To: Serge E. Hallyn
  Cc: subrata, SELinux, James Morris, kaigai, ltp-list, Jeff Burke

On Thu, 2010-07-01 at 14:53 -0500, Serge E. Hallyn wrote:
> Quoting Stephen Smalley (sds@tycho.nsa.gov):
> > On Thu, 2010-07-01 at 22:36 +0530, Subrata Modak wrote:
> > > On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote: 
> > > > On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> > > > > Hi Serge,
> > > > > 
> > > > > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > > > > > Just a little note to announce that the selinux testsuite is now up as a
> > > > > > git tree at kernel.org.  You can fetch it using
> > > > > > 
> > > > > > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> > > > > 
> > > > > Great. So, how far does it differ from that we have in LTP ?
> > > > > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> > > > > 
> > > > > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> > > > > main contributors to the SELinux test(s) in LTP, i guess the next/future
> > > > > development for SELinux tests will be happening in the new tree.
> > > > > 
> > > > > So, i would rather keep pulling to LTP from your tree. Now, could you
> > > > > please let me know:
> > > > > 
> > > > >      1. Whether the new tree contains all scenarios which is present in
> > > > >         LTP. In such a case a complete pruning of LTP SELinux tests can
> > > > >         be done and replaced with your tree contents,
> > > > >      2. If some of the LTP tests are not there, then i would like to
> > > > >         retain them in LTP side-by-side your tree contents,
> > > > 
> > > > The new tree contains all of the selinux tests present in the LTP.  You
> > > > cannot however simply replace the ltp version of the tests with this
> > > > tree, as this tree is a standalone testsuite and will not run within the
> > > > ltp test harness. This testsuite is based on the original standalone
> > > > selinux testsuite that was contributed by us to IBM to port to the LTP.
> > > > We have internally maintained this testsuite in parallel to the ltp
> > > > version as we have found it easier to set up, use, debug, and maintain.
> > > 
> > > Thanks Stephen. Since you have maintained the Original-One Internally
> > > and have simultaneously contributed changes to the LTP-version of
> > > SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
> > > keep sending patches to LTP to update the LTP-version at regular
> > > intervals (off-course at your convenience ;-))
> > 
> > I think that will depend on whether there is some benefit to maintaining
> > the ltp version.  We might derive some benefit if the ltp selinux
> > testsuite were better integrated (e.g. tests run by default if SELinux
> > is enabled on the host) and if the tests got some regular attention from
> > the ltp maintainers.  Otherwise, it may be better to just remove the
> > tests from the ltp and point people to the standalone version.
> 
> I don't object to the tests being maintained in LTP.  But so far, AFAICS,
> the cost of maintaining in LTP far outweighs the benefits.
> 
> So I'd like to know, does anyone (IBM?) *use* the version in LTP for
> automated testing?
> 
> If not, heck we could replace ltp/testcases/kernel/security/selinux/*
> with a script that git clones the testsuite and runs it.
> 
> Mind you it's not the selinux tests per se - it's the random bulk LTP
> updates which then break selinux tests, or worse, the autoconf cruft
> to try to detect whether the user wants selinux tests - which constitute
> the real maintenance cost.
> 
> If someone who uses the LTP selinux tests could step up and offer
> to periodically run the tests and work with (me and) the community
> to push fixes, I'll be happy to help out.

(cc'd Jeff Burke as I know he has run the ltp selinux tests in the past
on RHEL and has contributed patches in the past)

Jeff - see above for context.  Do you still run the ltp selinux tests on
a regular basis?  Are you interested in helping to maintain them and
ideally to better integrate them into the LTP so that they will be run
by default (if SELinux is enabled) and exercised by the regular ltp
maintainers?  Or are you just as happy to clone the separate standalone
selinux testsuite and run that as part of QA, separate from ltp testing?

-- 
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [LTP] selinux testsuite
  2010-07-02 14:50             ` Stephen Smalley
  (?)
@ 2010-07-02 15:02             ` Garrett Cooper
  -1 siblings, 0 replies; 18+ messages in thread
From: Garrett Cooper @ 2010-07-02 15:02 UTC (permalink / raw)
  To: Stephen Smalley
  Cc: James Morris, ltp-list, kaigai, SELinux, Jeff Burke,
	Serge E. Hallyn

On Fri, Jul 2, 2010 at 7:50 AM, Stephen Smalley <sds@tycho.nsa.gov> wrote:
> On Thu, 2010-07-01 at 14:53 -0500, Serge E. Hallyn wrote:
>> Quoting Stephen Smalley (sds@tycho.nsa.gov):
>> > On Thu, 2010-07-01 at 22:36 +0530, Subrata Modak wrote:
>> > > On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote:
>> > > > On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
>> > > > > Hi Serge,
>> > > > >
>> > > > > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
>> > > > > > Just a little note to announce that the selinux testsuite is now up as a
>> > > > > > git tree at kernel.org.  You can fetch it using
>> > > > > >
>> > > > > >     git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
>> > > > >
>> > > > > Great. So, how far does it differ from that we have in LTP ?
>> > > > > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
>> > > > >
>> > > > > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
>> > > > > main contributors to the SELinux test(s) in LTP, i guess the next/future
>> > > > > development for SELinux tests will be happening in the new tree.
>> > > > >
>> > > > > So, i would rather keep pulling to LTP from your tree. Now, could you
>> > > > > please let me know:
>> > > > >
>> > > > >      1. Whether the new tree contains all scenarios which is present in
>> > > > >         LTP. In such a case a complete pruning of LTP SELinux tests can
>> > > > >         be done and replaced with your tree contents,
>> > > > >      2. If some of the LTP tests are not there, then i would like to
>> > > > >         retain them in LTP side-by-side your tree contents,
>> > > >
>> > > > The new tree contains all of the selinux tests present in the LTP.  You
>> > > > cannot however simply replace the ltp version of the tests with this
>> > > > tree, as this tree is a standalone testsuite and will not run within the
>> > > > ltp test harness. This testsuite is based on the original standalone
>> > > > selinux testsuite that was contributed by us to IBM to port to the LTP.
>> > > > We have internally maintained this testsuite in parallel to the ltp
>> > > > version as we have found it easier to set up, use, debug, and maintain.
>> > >
>> > > Thanks Stephen. Since you have maintained the Original-One Internally
>> > > and have simultaneously contributed changes to the LTP-version of
>> > > SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
>> > > keep sending patches to LTP to update the LTP-version at regular
>> > > intervals (off-course at your convenience ;-))
>> >
>> > I think that will depend on whether there is some benefit to maintaining
>> > the ltp version.  We might derive some benefit if the ltp selinux
>> > testsuite were better integrated (e.g. tests run by default if SELinux
>> > is enabled on the host) and if the tests got some regular attention from
>> > the ltp maintainers.  Otherwise, it may be better to just remove the
>> > tests from the ltp and point people to the standalone version.
>>
>> I don't object to the tests being maintained in LTP.  But so far, AFAICS,
>> the cost of maintaining in LTP far outweighs the benefits.
>>
>> So I'd like to know, does anyone (IBM?) *use* the version in LTP for
>> automated testing?
>>
>> If not, heck we could replace ltp/testcases/kernel/security/selinux/*
>> with a script that git clones the testsuite and runs it.
>>
>> Mind you it's not the selinux tests per se - it's the random bulk LTP
>> updates which then break selinux tests, or worse, the autoconf cruft
>> to try to detect whether the user wants selinux tests - which constitute
>> the real maintenance cost.
>>
>> If someone who uses the LTP selinux tests could step up and offer
>> to periodically run the tests and work with (me and) the community
>> to push fixes, I'll be happy to help out.
>
> (cc'd Jeff Burke as I know he has run the ltp selinux tests in the past
> on RHEL and has contributed patches in the past)
>
> Jeff - see above for context.  Do you still run the ltp selinux tests on
> a regular basis?  Are you interested in helping to maintain them and
> ideally to better integrate them into the LTP so that they will be run
> by default (if SELinux is enabled) and exercised by the regular ltp
> maintainers?  Or are you just as happy to clone the separate standalone
> selinux testsuite and run that as part of QA, separate from ltp testing?

    I'll do my best to assist as a resource too for you guys in the
integration effort.
Thanks,
-Garrett

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [LTP] selinux testsuite
  2010-07-01 19:53           ` Serge E. Hallyn
@ 2010-07-03 17:57             ` Subrata Modak
  -1 siblings, 0 replies; 18+ messages in thread
From: Subrata Modak @ 2010-07-03 17:57 UTC (permalink / raw)
  To: Serge E. Hallyn; +Cc: James Morris, ltp-list, Stephen Smalley, SELinux, kaigai

On Thu, 2010-07-01 at 14:53 -0500, Serge E. Hallyn wrote:
> Quoting Stephen Smalley (sds@tycho.nsa.gov):
> > On Thu, 2010-07-01 at 22:36 +0530, Subrata Modak wrote:
> > > On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote: 
> > > > On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> > > > > Hi Serge,
> > > > > 
> > > > > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > > > > > Just a little note to announce that the selinux testsuite is now up as a
> > > > > > git tree at kernel.org.  You can fetch it using
> > > > > > 
> > > > > > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> > > > > 
> > > > > Great. So, how far does it differ from that we have in LTP ?
> > > > > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> > > > > 
> > > > > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> > > > > main contributors to the SELinux test(s) in LTP, i guess the next/future
> > > > > development for SELinux tests will be happening in the new tree.
> > > > > 
> > > > > So, i would rather keep pulling to LTP from your tree. Now, could you
> > > > > please let me know:
> > > > > 
> > > > >      1. Whether the new tree contains all scenarios which is present in
> > > > >         LTP. In such a case a complete pruning of LTP SELinux tests can
> > > > >         be done and replaced with your tree contents,
> > > > >      2. If some of the LTP tests are not there, then i would like to
> > > > >         retain them in LTP side-by-side your tree contents,
> > > > 
> > > > The new tree contains all of the selinux tests present in the LTP.  You
> > > > cannot however simply replace the ltp version of the tests with this
> > > > tree, as this tree is a standalone testsuite and will not run within the
> > > > ltp test harness. This testsuite is based on the original standalone
> > > > selinux testsuite that was contributed by us to IBM to port to the LTP.
> > > > We have internally maintained this testsuite in parallel to the ltp
> > > > version as we have found it easier to set up, use, debug, and maintain.
> > > 
> > > Thanks Stephen. Since you have maintained the Original-One Internally
> > > and have simultaneously contributed changes to the LTP-version of
> > > SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
> > > keep sending patches to LTP to update the LTP-version at regular
> > > intervals (off-course at your convenience ;-))
> > 
> > I think that will depend on whether there is some benefit to maintaining
> > the ltp version.  We might derive some benefit if the ltp selinux
> > testsuite were better integrated (e.g. tests run by default if SELinux
> > is enabled on the host) and if the tests got some regular attention from
> > the ltp maintainers.  Otherwise, it may be better to just remove the
> > tests from the ltp and point people to the standalone version.
> 
> I don't object to the tests being maintained in LTP.  But so far, AFAICS,
> the cost of maintaining in LTP far outweighs the benefits.
> 
> So I'd like to know, does anyone (IBM?) *use* the version in LTP for
> automated testing?

Yes, there are teams which still use LTP SELinux on Enterprise Distro
testing.

Regards--
Subrata

> 
> If not, heck we could replace ltp/testcases/kernel/security/selinux/*
> with a script that git clones the testsuite and runs it.
> 
> Mind you it's not the selinux tests per se - it's the random bulk LTP
> updates which then break selinux tests, or worse, the autoconf cruft
> to try to detect whether the user wants selinux tests - which constitute
> the real maintenance cost.
> 
> If someone who uses the LTP selinux tests could step up and offer
> to periodically run the tests and work with (me and) the community
> to push fixes, I'll be happy to help out.
> 
> -serge
> 
> --
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
> the words "unsubscribe selinux" without quotes as the message.


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: selinux testsuite
@ 2010-07-03 17:57             ` Subrata Modak
  0 siblings, 0 replies; 18+ messages in thread
From: Subrata Modak @ 2010-07-03 17:57 UTC (permalink / raw)
  To: Serge E. Hallyn; +Cc: Stephen Smalley, SELinux, James Morris, kaigai, ltp-list

On Thu, 2010-07-01 at 14:53 -0500, Serge E. Hallyn wrote:
> Quoting Stephen Smalley (sds@tycho.nsa.gov):
> > On Thu, 2010-07-01 at 22:36 +0530, Subrata Modak wrote:
> > > On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote: 
> > > > On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> > > > > Hi Serge,
> > > > > 
> > > > > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > > > > > Just a little note to announce that the selinux testsuite is now up as a
> > > > > > git tree at kernel.org.  You can fetch it using
> > > > > > 
> > > > > > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> > > > > 
> > > > > Great. So, how far does it differ from that we have in LTP ?
> > > > > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> > > > > 
> > > > > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> > > > > main contributors to the SELinux test(s) in LTP, i guess the next/future
> > > > > development for SELinux tests will be happening in the new tree.
> > > > > 
> > > > > So, i would rather keep pulling to LTP from your tree. Now, could you
> > > > > please let me know:
> > > > > 
> > > > >      1. Whether the new tree contains all scenarios which is present in
> > > > >         LTP. In such a case a complete pruning of LTP SELinux tests can
> > > > >         be done and replaced with your tree contents,
> > > > >      2. If some of the LTP tests are not there, then i would like to
> > > > >         retain them in LTP side-by-side your tree contents,
> > > > 
> > > > The new tree contains all of the selinux tests present in the LTP.  You
> > > > cannot however simply replace the ltp version of the tests with this
> > > > tree, as this tree is a standalone testsuite and will not run within the
> > > > ltp test harness. This testsuite is based on the original standalone
> > > > selinux testsuite that was contributed by us to IBM to port to the LTP.
> > > > We have internally maintained this testsuite in parallel to the ltp
> > > > version as we have found it easier to set up, use, debug, and maintain.
> > > 
> > > Thanks Stephen. Since you have maintained the Original-One Internally
> > > and have simultaneously contributed changes to the LTP-version of
> > > SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
> > > keep sending patches to LTP to update the LTP-version at regular
> > > intervals (off-course at your convenience ;-))
> > 
> > I think that will depend on whether there is some benefit to maintaining
> > the ltp version.  We might derive some benefit if the ltp selinux
> > testsuite were better integrated (e.g. tests run by default if SELinux
> > is enabled on the host) and if the tests got some regular attention from
> > the ltp maintainers.  Otherwise, it may be better to just remove the
> > tests from the ltp and point people to the standalone version.
> 
> I don't object to the tests being maintained in LTP.  But so far, AFAICS,
> the cost of maintaining in LTP far outweighs the benefits.
> 
> So I'd like to know, does anyone (IBM?) *use* the version in LTP for
> automated testing?

Yes, there are teams which still use LTP SELinux on Enterprise Distro
testing.

Regards--
Subrata

> 
> If not, heck we could replace ltp/testcases/kernel/security/selinux/*
> with a script that git clones the testsuite and runs it.
> 
> Mind you it's not the selinux tests per se - it's the random bulk LTP
> updates which then break selinux tests, or worse, the autoconf cruft
> to try to detect whether the user wants selinux tests - which constitute
> the real maintenance cost.
> 
> If someone who uses the LTP selinux tests could step up and offer
> to periodically run the tests and work with (me and) the community
> to push fixes, I'll be happy to help out.
> 
> -serge
> 
> --
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
> the words "unsubscribe selinux" without quotes as the message.


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [LTP] selinux testsuite
  2010-07-02 14:50             ` Stephen Smalley
@ 2010-07-03 17:59               ` Subrata Modak
  -1 siblings, 0 replies; 18+ messages in thread
From: Subrata Modak @ 2010-07-03 17:59 UTC (permalink / raw)
  To: Stephen Smalley
  Cc: ltp-list, James Morris, kaigai, SELinux, Jeff Burke,
	Serge E. Hallyn

On Fri, 2010-07-02 at 10:50 -0400, Stephen Smalley wrote:
> On Thu, 2010-07-01 at 14:53 -0500, Serge E. Hallyn wrote:
> > Quoting Stephen Smalley (sds@tycho.nsa.gov):
> > > On Thu, 2010-07-01 at 22:36 +0530, Subrata Modak wrote:
> > > > On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote: 
> > > > > On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> > > > > > Hi Serge,
> > > > > > 
> > > > > > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > > > > > > Just a little note to announce that the selinux testsuite is now up as a
> > > > > > > git tree at kernel.org.  You can fetch it using
> > > > > > > 
> > > > > > > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> > > > > > 
> > > > > > Great. So, how far does it differ from that we have in LTP ?
> > > > > > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> > > > > > 
> > > > > > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> > > > > > main contributors to the SELinux test(s) in LTP, i guess the next/future
> > > > > > development for SELinux tests will be happening in the new tree.
> > > > > > 
> > > > > > So, i would rather keep pulling to LTP from your tree. Now, could you
> > > > > > please let me know:
> > > > > > 
> > > > > >      1. Whether the new tree contains all scenarios which is present in
> > > > > >         LTP. In such a case a complete pruning of LTP SELinux tests can
> > > > > >         be done and replaced with your tree contents,
> > > > > >      2. If some of the LTP tests are not there, then i would like to
> > > > > >         retain them in LTP side-by-side your tree contents,
> > > > > 
> > > > > The new tree contains all of the selinux tests present in the LTP.  You
> > > > > cannot however simply replace the ltp version of the tests with this
> > > > > tree, as this tree is a standalone testsuite and will not run within the
> > > > > ltp test harness. This testsuite is based on the original standalone
> > > > > selinux testsuite that was contributed by us to IBM to port to the LTP.
> > > > > We have internally maintained this testsuite in parallel to the ltp
> > > > > version as we have found it easier to set up, use, debug, and maintain.
> > > > 
> > > > Thanks Stephen. Since you have maintained the Original-One Internally
> > > > and have simultaneously contributed changes to the LTP-version of
> > > > SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
> > > > keep sending patches to LTP to update the LTP-version at regular
> > > > intervals (off-course at your convenience ;-))
> > > 
> > > I think that will depend on whether there is some benefit to maintaining
> > > the ltp version.  We might derive some benefit if the ltp selinux
> > > testsuite were better integrated (e.g. tests run by default if SELinux
> > > is enabled on the host) and if the tests got some regular attention from
> > > the ltp maintainers.  Otherwise, it may be better to just remove the
> > > tests from the ltp and point people to the standalone version.
> > 
> > I don't object to the tests being maintained in LTP.  But so far, AFAICS,
> > the cost of maintaining in LTP far outweighs the benefits.
> > 
> > So I'd like to know, does anyone (IBM?) *use* the version in LTP for
> > automated testing?
> > 
> > If not, heck we could replace ltp/testcases/kernel/security/selinux/*
> > with a script that git clones the testsuite and runs it.
> > 
> > Mind you it's not the selinux tests per se - it's the random bulk LTP
> > updates which then break selinux tests, or worse, the autoconf cruft
> > to try to detect whether the user wants selinux tests - which constitute
> > the real maintenance cost.
> > 
> > If someone who uses the LTP selinux tests could step up and offer
> > to periodically run the tests and work with (me and) the community
> > to push fixes, I'll be happy to help out.
> 
> (cc'd Jeff Burke as I know he has run the ltp selinux tests in the past
> on RHEL and has contributed patches in the past)
> 
> Jeff - see above for context.  Do you still run the ltp selinux tests on
> a regular basis?  Are you interested in helping to maintain them and
> ideally to better integrate them into the LTP so that they will be run
> by default (if SELinux is enabled) and exercised by the regular ltp

I would prefer integrating it in the default LTP run. And then run it if
SELinux is enabled. That way everybody would probably execute SELinux in
their regular test cycle and report issues, helping us in addressing and
keeping these tests alive.

Regards--
Subrata

> maintainers?  Or are you just as happy to clone the separate standalone
> selinux testsuite and run that as part of QA, separate from ltp testing?
> 


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: selinux testsuite
@ 2010-07-03 17:59               ` Subrata Modak
  0 siblings, 0 replies; 18+ messages in thread
From: Subrata Modak @ 2010-07-03 17:59 UTC (permalink / raw)
  To: Stephen Smalley
  Cc: Serge E. Hallyn, SELinux, James Morris, kaigai, ltp-list,
	Jeff Burke

On Fri, 2010-07-02 at 10:50 -0400, Stephen Smalley wrote:
> On Thu, 2010-07-01 at 14:53 -0500, Serge E. Hallyn wrote:
> > Quoting Stephen Smalley (sds@tycho.nsa.gov):
> > > On Thu, 2010-07-01 at 22:36 +0530, Subrata Modak wrote:
> > > > On Wed, 2010-06-30 at 10:52 -0400, Stephen Smalley wrote: 
> > > > > On Wed, 2010-06-30 at 17:43 +0530, Subrata Modak wrote:
> > > > > > Hi Serge,
> > > > > > 
> > > > > > On Tue, 2010-06-29 at 14:52 -0500, Serge E. Hallyn wrote:
> > > > > > > Just a little note to announce that the selinux testsuite is now up as a
> > > > > > > git tree at kernel.org.  You can fetch it using
> > > > > > > 
> > > > > > > 	git clone git://git.kernel.org/pub/scm/tests/selinux-testsuite
> > > > > > 
> > > > > > Great. So, how far does it differ from that we have in LTP ?
> > > > > > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=tree;f=testcases/kernel/security/selinux-testsuite;h=066df4cdf2f8a80a0045e338b4bb2bf0f5d37091;hb=HEAD
> > > > > > 
> > > > > > As you, Stephen and others in SELinux <selinux@tycho.nsa.gov> were the
> > > > > > main contributors to the SELinux test(s) in LTP, i guess the next/future
> > > > > > development for SELinux tests will be happening in the new tree.
> > > > > > 
> > > > > > So, i would rather keep pulling to LTP from your tree. Now, could you
> > > > > > please let me know:
> > > > > > 
> > > > > >      1. Whether the new tree contains all scenarios which is present in
> > > > > >         LTP. In such a case a complete pruning of LTP SELinux tests can
> > > > > >         be done and replaced with your tree contents,
> > > > > >      2. If some of the LTP tests are not there, then i would like to
> > > > > >         retain them in LTP side-by-side your tree contents,
> > > > > 
> > > > > The new tree contains all of the selinux tests present in the LTP.  You
> > > > > cannot however simply replace the ltp version of the tests with this
> > > > > tree, as this tree is a standalone testsuite and will not run within the
> > > > > ltp test harness. This testsuite is based on the original standalone
> > > > > selinux testsuite that was contributed by us to IBM to port to the LTP.
> > > > > We have internally maintained this testsuite in parallel to the ltp
> > > > > version as we have found it easier to set up, use, debug, and maintain.
> > > > 
> > > > Thanks Stephen. Since you have maintained the Original-One Internally
> > > > and have simultaneously contributed changes to the LTP-version of
> > > > SELinux, i am depending on you/Serge/SELinux-Mailing-List-members to
> > > > keep sending patches to LTP to update the LTP-version at regular
> > > > intervals (off-course at your convenience ;-))
> > > 
> > > I think that will depend on whether there is some benefit to maintaining
> > > the ltp version.  We might derive some benefit if the ltp selinux
> > > testsuite were better integrated (e.g. tests run by default if SELinux
> > > is enabled on the host) and if the tests got some regular attention from
> > > the ltp maintainers.  Otherwise, it may be better to just remove the
> > > tests from the ltp and point people to the standalone version.
> > 
> > I don't object to the tests being maintained in LTP.  But so far, AFAICS,
> > the cost of maintaining in LTP far outweighs the benefits.
> > 
> > So I'd like to know, does anyone (IBM?) *use* the version in LTP for
> > automated testing?
> > 
> > If not, heck we could replace ltp/testcases/kernel/security/selinux/*
> > with a script that git clones the testsuite and runs it.
> > 
> > Mind you it's not the selinux tests per se - it's the random bulk LTP
> > updates which then break selinux tests, or worse, the autoconf cruft
> > to try to detect whether the user wants selinux tests - which constitute
> > the real maintenance cost.
> > 
> > If someone who uses the LTP selinux tests could step up and offer
> > to periodically run the tests and work with (me and) the community
> > to push fixes, I'll be happy to help out.
> 
> (cc'd Jeff Burke as I know he has run the ltp selinux tests in the past
> on RHEL and has contributed patches in the past)
> 
> Jeff - see above for context.  Do you still run the ltp selinux tests on
> a regular basis?  Are you interested in helping to maintain them and
> ideally to better integrate them into the LTP so that they will be run
> by default (if SELinux is enabled) and exercised by the regular ltp

I would prefer integrating it in the default LTP run. And then run it if
SELinux is enabled. That way everybody would probably execute SELinux in
their regular test cycle and report issues, helping us in addressing and
keeping these tests alive.

Regards--
Subrata

> maintainers?  Or are you just as happy to clone the separate standalone
> selinux testsuite and run that as part of QA, separate from ltp testing?
> 


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2010-07-03 18:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 19:52 selinux testsuite Serge E. Hallyn
2010-06-30 12:13 ` [LTP] " Subrata Modak
2010-06-30 12:13   ` Subrata Modak
2010-06-30 14:52   ` [LTP] " Stephen Smalley
2010-06-30 14:52     ` Stephen Smalley
2010-07-01 17:06     ` [LTP] " Subrata Modak
2010-07-01 17:06       ` Subrata Modak
2010-07-01 18:24       ` [LTP] " Stephen Smalley
2010-07-01 18:24         ` Stephen Smalley
2010-07-01 19:53         ` [LTP] " Serge E. Hallyn
2010-07-01 19:53           ` Serge E. Hallyn
2010-07-02 14:50           ` [LTP] " Stephen Smalley
2010-07-02 14:50             ` Stephen Smalley
2010-07-02 15:02             ` [LTP] " Garrett Cooper
2010-07-03 17:59             ` Subrata Modak
2010-07-03 17:59               ` Subrata Modak
2010-07-03 17:57           ` [LTP] " Subrata Modak
2010-07-03 17:57             ` Subrata Modak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.