aristanetworks / bst

A one-stop shop for process isolation
MIT License
99 stars 9 forks source link

Feature/cgroup resource management #63

Closed colindrewes closed 1 year ago

colindrewes commented 2 years ago

fbf02c8362526916e678be8c4451ee4dcca04eaf - Removes a path in outer.c that can never be taken. cgroupfd == -1 can never be sent from the root process to the outer process.

0d7e47e9ab71092e5452d550265901ad21d976d1 - Removes the need to specify --cgroup which now defaults to "/sys/fs/cgroup" + what is stored in /proc/self/cgroup.

Snaipe commented 1 year ago

Rebase and merged at 491f60b9ca405c016146d403df5c0e04657a7152