Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
008ccca9
Unverified
Commit
008ccca9
authored
Feb 16, 2021
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cgroups: better document stashed file descriptors
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
d4cff352
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
cgroup.h
src/lxc/cgroups/cgroup.h
+9
-3
No files found.
src/lxc/cgroups/cgroup.h
View file @
008ccca9
...
@@ -91,11 +91,17 @@ struct hierarchy {
...
@@ -91,11 +91,17 @@ struct hierarchy {
unsigned
int
bpf_device_controller
:
1
;
unsigned
int
bpf_device_controller
:
1
;
unsigned
int
freezer_controller
:
1
;
unsigned
int
freezer_controller
:
1
;
/*
container cgroup fd
*/
/*
File descriptor for the container's cgroup @container_full_path.
*/
int
cgfd_con
;
int
cgfd_con
;
/* limiting cgroup fd (may be equal to cgfd_con if not separated) */
/*
* File descriptor for the container's limiting cgroup
* @container_limit_path.
* Will be equal to @cgfd_con if no limiting cgroup has been requested.
*/
int
cgfd_limit
;
int
cgfd_limit
;
/* monitor cgroup fd */
/* File descriptor for the monitor's cgroup @monitor_full_path. */
int
cgfd_mon
;
int
cgfd_mon
;
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment