~snappy-dev/snapd/+git/snapd-pawel:snapstate-timings

Last commit made on 2019-04-25
Get this branch:
git clone -b snapstate-timings https://git.launchpad.net/~snappy-dev/snapd/+git/snapd-pawel

Branch merges

Branch information

Name:
snapstate-timings
Repository:
lp:~snappy-dev/snapd/+git/snapd-pawel

Recent commits

52b0dcf... by Paweł Stołowski

Stop and save timings with defer .. in launchAutoRefresh.

6a9474f... by Paweł Stołowski

Merge branch 'master' into snapstate-timings

f037189... by Michael Vogt

Merge pull request #6733 from mvo5/remodel-v0-edge-with-err

state: add possible error return to TaskSet.Edge()

2b0c16d... by Paweł Stołowski

Merge pull request #6774 from jdstrand/standardize-on-osutil-isvalidusername

snap-seccomp: use username regex as defined in osutil/user.go

35e5ede... by Paweł Stołowski

Merge pull request #6777 from Lin-Buo-Ren/patch-2

cmd/snap-confine: Fix typo in README

30d5a85... by 林博仁(Buo-ren, Lin)

cmd/snap-confine: Fix typo in README

Signed-off-by: 林博仁(Buo-ren, Lin) <email address hidden>

96bf0ef... by Michael Vogt

Merge pull request #6773 from jdstrand/fix-is-valid-username

osutil: make IsValidUsername public and fix regex

4ef2d15... by Jamie Strandboge

snap-seccomp: use username regex as defined in osutil/user.go

snapd should standardize on a single username(/groupname) regex. While
today the osutil/user.go regex is used for adding users to the system,
snap-seccomp uses a more restricted regex. Since some day we plan to
support snapd adding system, shared and private users, as well as
adjusting ACLs/udev rules for device access for users (eg, such as ones
created by snapd in the first place on Ubuntu Core), it makes sense to
standardize on one regex to avoid users being created that can't be
referenced in other parts of snapd.

ba027a7... by Jamie Strandboge

osutil: make IsValidUsername public and fix regex

The old regex, `^[a-z0-9][-a-z0-9+.-_]*$`, had a bug in it where it
would accept any character within the range of '.-_' where 'a:b'
would match since '.' < ':' < '_' in the ASCII table.

Make IsValidUsername public since it makes adding tests easier and
subsequent commits will use this.

6dbb46a... by Michael Vogt

Merge pull request #6716 from pedronis/serialize-session-acquisition

store: serialize the acquisition of device sessions