[Toybox] [patch] cp.c to support smack feature of install, mv, cp

Hyejin Kim hj8296 at gmail.com
Wed Sep 9 19:52:11 PDT 2015


Hi.


To support smack feature, make modification like below:

1. install -Z context  : this can give new context
2. mv -Z  : this can give current context to destination file
3. cp --preserve=context


Plz, have a look for 2 patches.
First is to treat 1 and 2.
Second is for 3 and has dependency of first patch. Further follows Rob's
"--preserve" parsing logic without any improvement currently.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20150910/8f59912b/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mv-install-support-Z.patch
Type: application/octet-stream
Size: 4323 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20150910/8f59912b/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cp-support-preserve-context.patch
Type: application/octet-stream
Size: 2083 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20150910/8f59912b/attachment-0009.obj>


More information about the Toybox mailing list