All of lore.kernel.org
 help / color / mirror / Atom feed
* is any use of runcon by arbitrary users valid when enforcing?
@ 2007-10-07  7:01 Jim Meyering
  2007-10-07 12:09 ` Daniel J Walsh
  2007-10-09 13:17 ` Stephen Smalley
  0 siblings, 2 replies; 4+ messages in thread
From: Jim Meyering @ 2007-10-07  7:01 UTC (permalink / raw)
  To: selinux

In a simple test of runcon for coreutils test suite, I used the following,
but see that it's failing in an enforcing F8t3 environment:
[from coreutils/tests/misc/runcon]

    ...
    cat <<\EOF > exp || framework_failure
    runcon: runcon may be used only on a SELinux kernel
    EOF

    fail=0

    # This test works even on systems without SELinux.
    # On such a system it fails with the above diagnostic, which is fine.
    # Before the no-reorder change, it would have failed with a diagnostic
    # about -j being an invalid option.
    runcon -t unconfined_t true -j 2> out && : > exp

    compare out exp || fail=1

    (exit $fail); exit $fail

Is there any similar use of runcon that can be expected to succeed?

--
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] 4+ messages in thread

end of thread, other threads:[~2009-09-28 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-07  7:01 is any use of runcon by arbitrary users valid when enforcing? Jim Meyering
2007-10-07 12:09 ` Daniel J Walsh
2007-10-09 13:17 ` Stephen Smalley
2007-10-09 16:01   ` Jim Meyering

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.