coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Make coretutils work better with SELinux.


From: Daniel J Walsh
Subject: Make coretutils work better with SELinux.
Date: Tue, 30 Oct 2012 10:43:59 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For some reason I could not get git to take more then a one line comment.
This is the comment I was trying to add.


        build: Change -Z opt w/out arg label target with default label

        The -Z without argument will ask SELinux what the default label of the i
        dest object should be and then attempt to change it.

        The -Z with an optional context will create all targets with the
        optional label. This is still supported for backwards compatability.

        The mv command does not support the optional argument.


BTW, it looks like coreutils has removed -ZCONTEXT from cp, if I had my
druthers, I would make all commands just use -Z and not allow the optional
arg.  Then -Z would just set the default label.  I would bet that no one in
history has executed a command like:

mkdir -Zunconfined_u:object_r:httpd_user_content_t:s0 ~/myweb


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCP568ACgkQrlYvE4MpobOSDgCfZE0KRKJobvMW4Fb8i7j6Hfd9
fHIAoID4PBCyoqc0omlu07kst5ouAjJp
=Hc8s
-----END PGP SIGNATURE-----

Attachment: 0001-build-Change-Z-opt-w-out-arg-label-target-with-defau.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]