aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVG <vg@devys.org>2016-11-24 15:10:45 +0100
committerVG <vg@devys.org>2016-11-24 15:10:45 +0100
commit96549c263961a14966a2a514ee47bca0e9015a7e (patch)
tree6658197f0e60095118c4f6dbbf61c82eb5414e30
parent520a0889fcc8dda79c682c168cf84ff24bedf216 (diff)
downloadrunwithcaps-master.tar.gz
runwithcaps-master.tar.bz2
runwithcaps-master.zip
add licenseHEADmaster
-rw-r--r--license.txt21
-rw-r--r--readme.rst23
2 files changed, 44 insertions, 0 deletions
diff --git a/license.txt b/license.txt
new file mode 100644
index 0000000..648eeb8
--- /dev/null
+++ b/license.txt
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright © 2016 vg <vg@devys.org>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/readme.rst b/readme.rst
index f7820b7..68de56b 100644
--- a/readme.rst
+++ b/readme.rst
@@ -1,3 +1,6 @@
+Description
+===========
+
The first example drops caps except setuid/gid, then change to a user, then
regain a specific capability.
@@ -7,3 +10,23 @@ have same set of inheritable caps sets in its xattrs + effective flag. Thus
the result is the launched program has only a specific capability and nobody
can automatically gain (as opposed to effective + permited file caps) the
allowed capability. Only the runner can do it.
+
+License
+=======
+
+Unless specified otherwise, this project is licensed under the terms of the
+MIT license. You should have received a copy of the MIT License along with
+this program. If not, see <https://opensource.org/licenses/MIT>.
+
+SPDX-License-Identifier: MIT
+
+Copyright © 2016 vg <vg@devys.org>
+
+Contact
+=======
+
+developer
+ vg
+
+mail
+ vg@devys.org