procfs: Show Linux /proc/self/cgroup

Support the case where McKernel process retrieves its job-id when running under
the Fujitsu TCS suite.
This commit is contained in:
Masamichi Takagi
2018-03-10 11:58:45 +09:00
parent 8c2e20c3aa
commit b1ea6eb82a

View File

@ -1019,7 +1019,8 @@ static const struct procfs_entry tid_entry_stuff[] = {
static const struct procfs_entry pid_entry_stuff[] = {
PROC_REG("auxv", S_IRUSR, NULL),
PROC_REG("cgroup", S_IXUSR, NULL),
/* Support the case where McKernel process retrieves its job-id under the Fujitsu TCS suite. */
// PROC_REG("cgroup", S_IXUSR, NULL),
// PROC_REG("clear_refs", S_IWUSR, NULL),
PROC_REG("cmdline", S_IRUGO, NULL),
// PROC_REG("comm", S_IRUGO|S_IWUSR, NULL),