Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(243)

Issue 13203043: code review 13203043: os/user: Current() support on Plan 9 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by mischief
Modified:
11 years, 9 months ago
Reviewers:
bradfitz
CC:
golang-dev, bradfitz, r
Visibility:
Public.

Description

os/user: Current() support on Plan 9 Current() for Plan 9 is implemented with /dev/user for Uid/Gid/Username/Name, and $home environment variable for HomeDir. Implementing Lookup()/LookupId() is not done, which would require parsing /adm/users. It is unclear of how much benefit this would be.

Patch Set 1 #

Patch Set 2 : diff -r 7e8c9df7f6c9 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 7e8c9df7f6c9 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -2 lines) Patch
A src/pkg/os/user/lookup_plan9.go View 1 1 chunk +46 lines, -0 lines 0 comments Download
M src/pkg/os/user/lookup_stubs.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/os/user/user.go View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/pkg/os/user/user_test.go View 1 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 3
mischief
Hello golang-dev@googlegroups.com (cc: bradfitz@golang.org, r@golang.org), I'd like you to review this change to https://code.google.com/p/go/
11 years, 9 months ago (2013-08-24 01:42:07 UTC) #1
bradfitz
LGTM On Fri, Aug 23, 2013 at 8:42 PM, <mischief@offblast.org> wrote: > Reviewers: golang-dev1, > ...
11 years, 9 months ago (2013-08-24 02:03:31 UTC) #2
bradfitz
11 years, 9 months ago (2013-08-24 02:05:56 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=bc785da349e2 ***

os/user: Current support on Plan 9

Current for Plan 9 is implemented with /dev/user for
Uid/Gid/Username/Name, and $home environment variable for
HomeDir.

Implementing Lookup/LookupId is not done, which would
require parsing /adm/users. It is unclear of how much benefit
this would be.

R=golang-dev
CC=bradfitz, golang-dev, r
https://codereview.appspot.com/13203043

Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b