summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorZhaozhong Ni <nzz@google.com>2019-01-28 15:33:09 -0800
committerShentubot <shentubot@google.com>2019-01-28 15:34:18 -0800
commitae6e37df2abe450b30aba0908c212e9a1f81b84a (patch)
treeed2286fd42596d30eaa7c2826441880537302454 /pkg
parent09cf3b40a8994a3f52dfe2a85e5198c5986b8264 (diff)
Convert TODO into FIXME.
PiperOrigin-RevId: 231301228 Change-Id: I3e18f3a12a35fb89a22a8c981188268d5887dc61
Diffstat (limited to 'pkg')
-rw-r--r--pkg/sentry/fs/proc/task.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/sentry/fs/proc/task.go b/pkg/sentry/fs/proc/task.go
index 41981a973..70578d3fa 100644
--- a/pkg/sentry/fs/proc/task.go
+++ b/pkg/sentry/fs/proc/task.go
@@ -76,9 +76,7 @@ func newTaskDir(t *kernel.Task, msrc *fs.MountSource, pidns *kernel.PIDNamespace
"fd": newFdDir(t, msrc),
"fdinfo": newFdInfoDir(t, msrc),
"gid_map": newGIDMap(t, msrc),
- // TODO: This is incorrect for /proc/[pid]/task/[tid]/io, i.e. if
- // showSubtasks is false:
- // https://elixir.bootlin.com/linux/v4.4/source/fs/proc/base.c#L3154
+ // FIXME: create the correct io file for threads.
"io": newIO(t, msrc),
"maps": newMaps(t, msrc),
"mountinfo": seqfile.NewSeqFileInode(t, &mountInfoFile{t: t}, msrc),