diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-02-09 11:48:21 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-05-15 17:59:28 -0400 |
commit | dcb0f22282e680ee5202ab7574ce78beb3803a9f (patch) | |
tree | dce64929607bc1cc79b08e9c207c27792988ff39 /fs/proc/root.c | |
parent | 08cefc7ab839cf3ece44b8033968a4732eac06d8 (diff) |
userns: Convert proc to use kuid/kgid where appropriate
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r-- | fs/proc/root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c index 46a15d8a29ca..df4e4561dbbf 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c | |||
@@ -67,7 +67,7 @@ static int proc_parse_options(char *options, struct pid_namespace *pid) | |||
67 | case Opt_gid: | 67 | case Opt_gid: |
68 | if (match_int(&args[0], &option)) | 68 | if (match_int(&args[0], &option)) |
69 | return 0; | 69 | return 0; |
70 | pid->pid_gid = option; | 70 | pid->pid_gid = make_kgid(current_user_ns(), option); |
71 | break; | 71 | break; |
72 | case Opt_hidepid: | 72 | case Opt_hidepid: |
73 | if (match_int(&args[0], &option)) | 73 | if (match_int(&args[0], &option)) |