aboutsummaryrefslogtreecommitdiff
path: root/community/gsoc/project_ideas/secure_chroot.mdwn
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2016-03-18 15:26:35 +0100
committerThomas Schwinge <thomas@codesourcery.com>2016-03-18 15:26:35 +0100
commita1697dd527c6c7784c1aa9521a6e36e2d77b23f7 (patch)
tree9a84652b897279cdc40b88f0e48c60e4a0d43b9b /community/gsoc/project_ideas/secure_chroot.mdwn
parent82cd105a8249c39bbfc63483e2d5606d77d8e68e (diff)
parent74cea5526f697635a3b7a702c733c27a6258eb8e (diff)
downloadweb-a1697dd527c6c7784c1aa9521a6e36e2d77b23f7.tar.gz
web-a1697dd527c6c7784c1aa9521a6e36e2d77b23f7.tar.bz2
web-a1697dd527c6c7784c1aa9521a6e36e2d77b23f7.zip
Merge commit '74cea5526f697635a3b7a702c733c27a6258eb8e'
Diffstat (limited to 'community/gsoc/project_ideas/secure_chroot.mdwn')
-rw-r--r--community/gsoc/project_ideas/secure_chroot.mdwn16
1 files changed, 14 insertions, 2 deletions
diff --git a/community/gsoc/project_ideas/secure_chroot.mdwn b/community/gsoc/project_ideas/secure_chroot.mdwn
index bfaf330b..caaef129 100644
--- a/community/gsoc/project_ideas/secure_chroot.mdwn
+++ b/community/gsoc/project_ideas/secure_chroot.mdwn
@@ -1,4 +1,4 @@
-[[!meta copyright="Copyright © 2008, 2009, 2010 Free Software Foundation,
+[[!meta copyright="Copyright © 2008, 2009, 2010, 2016 Free Software Foundation,
Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
@@ -39,10 +39,22 @@ new mechanisms. (Translators.) More important than the actual code is the
documentation of what he did: he must be able to defend why he chose a certain
approach, and explain why he believes this approach really secure.
-Possible mentors: Carl Fredrik Hammar (cfhammar)
+Possible mentors: Justus Winter (teythoon)
Exercise: It's hard to come up with a relevant exercise, as there are so many
possible solutions... Probably best to make an improvement to one of the
existing translators -- if possible, something touching name resolution or and
such, e.g. implementing file_reparent() in a translator that doesn't support it
yet.
+
+---
+
+
+# 2016-02-14, Justus Winter
+
+I have factored out the proxying-bits from fakeroot so that it can be shared.
+The most simple chrooting translator is the identity translator, which proxies
+RPCs without really modifying them. Combining the identity translator with
+`settrans --chroot` gives us `chroot(8)`. With a little more work, I believe
+that can be used to implement `chroot(2)`. Whether or not that is secure
+remains to be seen, maybe that is even an ill-conceived goal.