From b1ea6eb82a0bb30f1bc3a1b4dd063ebb36139811 Mon Sep 17 00:00:00 2001 From: Masamichi Takagi Date: Sat, 10 Mar 2018 11:58:45 +0900 Subject: [PATCH] procfs: Show Linux /proc/self/cgroup Support the case where McKernel process retrieves its job-id when running under the Fujitsu TCS suite. --- executer/kernel/mcctrl/procfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/executer/kernel/mcctrl/procfs.c b/executer/kernel/mcctrl/procfs.c index c6d28251..0f27d9e4 100644 --- a/executer/kernel/mcctrl/procfs.c +++ b/executer/kernel/mcctrl/procfs.c @@ -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),