Coder Social home page Coder Social logo

Introduce namespaces to cells about aurae HOT 5 CLOSED

krisnova avatar krisnova commented on August 16, 2024
Introduce namespaces to cells

from aurae.

Comments (5)

dmah42 avatar dmah42 commented on August 16, 2024

yes we should isolate at the namespace level for each Cell.

  • pid: this makes complete sense for a Cell to isolate. it means the first executable spawned will be "pid 1" in the namespace.
  • net: i think this also makes sense for a Cell, but it might mean having some API to open up ports between Cells. it gives us some nice effects like assumption of eth0 in the Cell bridged to a virtual device in the Auraed space.
  • mnt: unless we think Cells might want to share mount points, this makes complete sense to me.
  • uts: i don't think we want this.. we want Cells to share the hosts hostname i believe. it makes it easy to reason about things from the Cell's POV.
  • ipc: /shrug :)
  • user: some security benefit to using this (can make user 0 unprivileged, and map UIDs to the host

from aurae.

krisnova avatar krisnova commented on August 16, 2024

Started this work in #178

from aurae.

krisnova avatar krisnova commented on August 16, 2024

We need to do some research on how cgroup namespaces and the other namespaces correlate to each other.

My PR #178 does the initial plumbing and new we need to start testing and validating our assumptions. I was not able to get the ps aux command to return the expected results for running in a new pid namespace.

We can (and should) look at a test harness of sorts for this!

from aurae.

krisnova avatar krisnova commented on August 16, 2024

#183 also related

from aurae.

krisnova avatar krisnova commented on August 16, 2024

I believe closed with #194

from aurae.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.