Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate github.com/opencontainers/runc/libcontainer/user #132

Closed
wants to merge 54 commits into from

Commits on Jun 9, 2014

  1. Add licensing information

    Signed-off-by: Solomon Hykes <solomon@docker.com>
    Solomon Hykes authored and crosbymichael committed Jun 9, 2014
    Configuration menu
    Copy the full SHA
    cd89770 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2015

  1. Update copyright year in NOTICE

    Spotted this one when creating moby/moby#10938
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    e0540b3 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2015

  1. Move libcontainer into subdirectory

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Jun 22, 2015
    Configuration menu
    Copy the full SHA
    bf18215 View commit details
    Browse the repository at this point in the history
  2. Initial commit of runc binary

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Jun 22, 2015
    Configuration menu
    Copy the full SHA
    7f31940 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2015

  1. Move libcontainer documenation to root of repo

    This moves much of the documentation on contributing and maintainer the
    codebase from the libcontainer sub directory to the root of the repo.
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Jun 26, 2015
    Configuration menu
    Copy the full SHA
    193105f View commit details
    Browse the repository at this point in the history
  2. Merge pull request moby#44 from crosbymichael/move-docs

    Move libcontainer documenation to root of repo
    Mrunal Patel committed Jun 26, 2015
    Configuration menu
    Copy the full SHA
    c642b1d View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2015

  1. libcontainer: user: fix GetAdditionalGroupsPath to match API

    The old GetAdditionalGroups* API didn't match the rest of
    libcontainer/user, we make functions that take io.Readers and then make
    wrappers around them. Otherwise we have to do dodgy stuff when testing
    our code.
    
    Fixes: d4ece29c0bd38 ("refactor GetAdditionalGroupsPath")
    Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
    cyphar committed Jun 28, 2015
    Configuration menu
    Copy the full SHA
    6fc9ccb View commit details
    Browse the repository at this point in the history
  2. libcontainer: user: update tests for GetAdditionalGroups

    Update the tests to use the test-friendly GetAdditionalGroups API,
    rather than making random files for no good reason.
    
    Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
    cyphar committed Jun 28, 2015
    Configuration menu
    Copy the full SHA
    2506f1f View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2015

  1. Allow numeric groups for containers without /etc/group

    /etc/groups is not needed when specifying numeric group ids. This
    change allows containers without /etc/groups to specify numeric
    supplemental groups.
    
    Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
    Sami Wagiaalla committed Oct 4, 2015
    Configuration menu
    Copy the full SHA
    ce7057e View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2016

  1. Export user and group lookup errors as variables.

    Export errors as variables when no matching entries are found in passwd or group file.
    
    Signed-off-by: Thomas LE ROUX <thomas@november-eleven.fr>
    Thomas LE ROUX committed Mar 17, 2016
    Configuration menu
    Copy the full SHA
    0741b3a View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2016

  1. libcontainer: user: always treat numeric ids numerically

    Most shadow-related tools don't treat numeric ids as potential
    usernames, so change our behaviour to match that. Previously, using an
    explicit specification like 111:222 could result in the UID and GID not
    being 111 and 222 respectively (which is confusing).
    
    Signed-off-by: Aleksa Sarai <asarai@suse.de>
    cyphar committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    8ea1421 View commit details
    Browse the repository at this point in the history
  2. libcontainer: user: add tests for numeric user specifications

    Signed-off-by: Aleksa Sarai <asarai@suse.de>
    cyphar committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    1a8bef2 View commit details
    Browse the repository at this point in the history
  3. libcontainer: user: general cleanups

    Some of the code was quite confusing inside libcontainer/user, so
    refactor and comment it so future maintainers can understand what's
    going and what edge cases we have to deal with.
    
    Signed-off-by: Aleksa Sarai <asarai@suse.de>
    cyphar committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    ac8e0fb View commit details
    Browse the repository at this point in the history
  4. Merge pull request #708 from cyphar/treat-numric-ids-properly

    libcontainer: user: always treat numeric ids numerically
    cyphar committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    d10b5db View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2016

  1. Fix TestGetAdditionalGroups on i686

    Fixes: #941
    
    Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
    hqhq committed Sep 27, 2016
    Configuration menu
    Copy the full SHA
    1fa7be4 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2017

  1. Cleanup: remove redundant code

    Signed-off-by: Lei Jitang <leijitang@huawei.com>
    coolljt0725 committed Jan 9, 2017
    Configuration menu
    Copy the full SHA
    a62fa44 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2017

  1. user: fix the parameter error

    The parameters passed to `GetExecUser` is not correct.
    Consider the following code:
    
    ```
    package main
    
    import (
    	"fmt"
    	"io"
    	"os"
    )
    
    func main() {
    	passwd, err := os.Open("/etc/passwd1")
    	if err != nil {
    		passwd = nil
    	} else {
    		defer passwd.Close()
    	}
    
    	err = GetUserPasswd(passwd)
    	if err != nil {
    		fmt.Printf("%#v\n", err)
    	}
    }
    
    func GetUserPasswd(r io.Reader) error {
    	if r == nil {
    		return fmt.Errorf("nil source for passwd-formatted
    data")
    	} else {
    		fmt.Printf("r = %#v\n", r)
    	}
    	return nil
    }
    ```
    
    If the file `/etc/passwd1` is not exist, we expect to return
    `nil source for passwd-formatted data` error, and in fact, the func
    `GetUserPasswd` return nil.
    
    The same logic exists in runc code. this patch fix it.
    
    Signed-off-by: Wang Long <long.wanglong@huawei.com>
    datawolf committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    e09540e View commit details
    Browse the repository at this point in the history

Commits on May 16, 2017

  1. libcontainer/user: add supplementary groups only for non-numeric users

    Signed-off-by: Valentin Rothberg <vrothberg@suse.com>
    vrothberg committed May 16, 2017
    Configuration menu
    Copy the full SHA
    8b332d1 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2017

  1. Move libcontainer to x/sys/unix

    Since syscall is outdated and broken for some architectures,
    use x/sys/unix instead.
    
    There are still some dependencies on the syscall package that will
    remain in syscall for the forseeable future:
    
    Errno
    Signal
    SysProcAttr
    
    Additionally:
    - os still uses syscall, so it needs to be kept for anything
    returning *os.ProcessState, such as process.Wait.
    
    Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
    clnperez committed May 22, 2017
    Configuration menu
    Copy the full SHA
    ab207d2 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2017

  1. Merge pull request #1450 from vrothberg/sgid-non-numeric

    libcontainer/user: add supplementary groups only for non-numeric users
    crosbymichael committed Jul 7, 2017
    Configuration menu
    Copy the full SHA
    f013111 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2017

  1. Move user pkg unix specific calls to unix file

    Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
    mlaventure committed Aug 3, 2017
    Configuration menu
    Copy the full SHA
    d301822 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1545 from mlaventure/user-pkg-move-unix-call

    Move user pkg unix specific calls to unix file
    dqminh committed Aug 3, 2017
    Configuration menu
    Copy the full SHA
    58203cc View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2017

  1. Revert "Merge pull request #1450 from vrothberg/sgid-non-numeric"

    This reverts commit f013111, reversing
    changes made to 51b501dab1889ca609db9c536ac976f0f53e7021.
    
    Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
    mlaventure committed Aug 4, 2017
    Configuration menu
    Copy the full SHA
    fd4f1eb View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2017

  1. remove placeholder for non-linux platforms

    runc currently only support Linux platform, and since we dont intend to expose
    the support to other platform, removing all other platforms placeholder code.
    
    `libcontainer/configs` still being used in
    https://github.com/moby/moby/blob/master/daemon/daemon_windows.go so
    keeping it for now.
    
    After this, we probably should also rename files to drop linux suffices
    if possible.
    
    Signed-off-by: Daniel Dao <dqminh89@gmail.com>
    dqminh committed Nov 24, 2017
    Configuration menu
    Copy the full SHA
    23a7aa4 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2018

  1. libcontainer/user: platform dependent calls

    This rearranges a bit of the user and group lookup, such that only a
    basic subset is exposed.
    
    Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
    vbatts committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    3ce86cc View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2018

  1. Merge pull request #1749 from vbatts/platform.1

    libcontainer/user: platform dependent calls
    crosbymichael committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    9f47d84 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2018

  1. libcontainer: add parser for /etc/sub{u,g}id and /proc/PID/{u,g}id_map

    Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
    AkihiroSuda committed May 10, 2018
    Configuration menu
    Copy the full SHA
    cb1a439 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2018

  1. libcontainer: fix compilation on GOARCH=arm GOARM=6 (32 bits)

    This fixes the following compilation error on 32bit ARM:
    ```
    $ GOARCH=arm GOARCH=6 go build ./libcontainer/system/
    libcontainer/system/linux.go:119:89: constant 4294967295 overflows int
    ```
    
    Signed-off-by: Tibor Vass <tibor@docker.com>
    Tibor Vass committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    49fa3ac View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2018

  1. libcontainer: CurrentGroupSubGIDs -> CurrentUserSubGIDs

    subgid is defined per user, not group (see subgid(5))
    
    This commit also adds support for specifying subuid owner with a numeric UID.
    
    Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
    AkihiroSuda committed Aug 28, 2018
    Configuration menu
    Copy the full SHA
    904db40 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2020

  1. Nit: fix use of bufio.Scanner.Err

    The Err() method should be called after the Scan() loop, not inside it.
    
    Found by
    
     git grep -A3 -F '.Scan()' | grep Err
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    56325ec View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2020

  1. make sure pty.Close() will be called and fix comment

    Signed-off-by: tjucoder <chinesecoder@foxmail.com>
    tjucoder committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    0a4af57 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2020

  1. use string-concatenation instead of sprintf for simple cases

    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Sep 30, 2020
    Configuration menu
    Copy the full SHA
    edaffe2 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2020

  1. Fixing some lint issues

    Signed-off-by: Amim Knabben <amim.knabben@gmail.com>
    knabben committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    b9b4951 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2021

  1. Fix int overflow in test on 32 bit system

    Signed-off-by: Shengjing Zhu <zhsj@debian.org>
    zhsj committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    5e586f7 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2021

  1. Move fuzzers upstream

    Signed-off-by: AdamKorcz <adam@adalogics.com>
    AdamKorcz committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    8f65c53 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2021

  1. libct/user: rm windows code

    Commit 3ce86cc added these two functions, but they are only used from
    Windows code. The v1 of this patch moved these functions to _windows.go
    file, but after some discussion we decided to drop windows code
    altogether, so this is what this patch now does.
    
    This fixes
    
    > libcontainer/user/user.go:64:6: func `groupFromOS` is unused (unused)
    > libcontainer/user/user.go:35:6: func `userFromOS` is unused (unused)
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin authored and thaJeztah committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    cd6c33a View commit details
    Browse the repository at this point in the history
  2. libcontainer/user: fix windows compile error

    Move the unix-specific code to a file that's not compiled on
    Windows.
    
    Some of the errors (ErrUnsupported, ErrNoPasswdEntries, ErrNoGroupEntries)
    are used in other parts of the code, so are moved to a non-platform
    specific file.
    
    Most of "user" is probably not useful on Windows, although it's possible
    that Windows code may have to parse a passwd file, so leaving that code
    for now.
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    3e00b3a View commit details
    Browse the repository at this point in the history
  3. libcontainer/user: remove outdated MAINTAINERS file

    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    9c05db5 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. Use gofumpt to format code

    gofumpt (mvdan.cc/gofumpt) is a fork of gofmt with stricter rules.
    
    Brought to you by
    
    	git ls-files \*.go | grep -v ^vendor/ | xargs gofumpt -s -w
    
    Looking at the diff, all these changes make sense.
    
    Also, replace gofmt with gofumpt in golangci.yml.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    380d796 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2021

  1. libcontainer/user: remove unused ErrUnsupported

    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    265a448 View commit details
    Browse the repository at this point in the history
  2. libcontainer/user: fix capitalization (golint)

    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    c29d7f3 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. Replace fmt.Errorf w/o %-style to errors.New

    Using fmt.Errorf for errors that do not have %-style formatting
    directives is an overkill. Switch to errors.New.
    
    Found by
    
    	git grep fmt.Errorf | grep -v ^vendor | grep -v '%'
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    bd6f546 View commit details
    Browse the repository at this point in the history
  2. *: fmt.Errorf: use %w when appropriate

    This should result in no change when the error is printed, but make the
    errors returned unwrappable, meaning errors.As and errors.Is will work.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    7a0c59a View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. merge branch 'pr-3011'

    Kir Kolyshkin (24):
      *: stop using pkg/errors
      libct/cg: stop using pkg/errors
      libct/cg/ebpf: stop using pkg/errors
      libct/cg/devices: stop using pkg/errors
      .golangci.yml: enable errorlint
      *: ignore errorlint warnings about unix.* errors
      *: use errors.As and errors.Is
      tty.go: don't use pkg/errors, use errors.Is
      libct/keys: stop using pkg/errors
      libct: fix errorlint warning about strconv.NumError
      *: fmt.Errorf: use %w when appropriate
      libct/rootfs: improve some errors
      libct: wrap unix.Mount/Unmount errors
      libct/cg/fs2: fix/unify parsing errors
      libct/cg/fs: fix/unify parsing errors
      libct/cg/fscommon: introduce and use ParseError
      libct/cg/fs[2]: simplify getting pid stats
      libct/cg/fs/stats_util_test: fix errors
      libct/StartInitialization: fix errors
      libct/cg/fs/*_test: simplify errors
      ...
    
    LGTMs: AkihiroSuda cyphar
    Closes #3011
    cyphar committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    022d523 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2021

  1. libct/user: use []byte more, avoid allocations

    Every []byte to string conversion results in a new allocation.
    Avoid some by using []byte more.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    d680357 View commit details
    Browse the repository at this point in the history
  2. libct/user: ParseGroupFilter: use TrimSpace

    Same as in other places (other parsers here, as well as golang os/user
    parser and glibc parser all tolerate extra space at BOL and EOL).
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    0f3a879 View commit details
    Browse the repository at this point in the history
  3. libct/user: fix parsing long /etc/group lines

    Lines in /etc/group longer than 64 characters breaks the current
    implementation of group parser. This is caused by bufio.Scanner
    buffer limit.
    
    Fix by re-using the fix for a similar problem in golang os/user,
    namely https://go-review.googlesource.com/c/go/+/283601.
    
    Add some tests.
    
    Co-authored-by: Andrey Bokhanko <andreybokhanko@gmail.com>
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin and andreybokhanko committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    8c5b6d8 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2021

  1. *: add go-1.17+ go:build tags

    Go 1.17 introduce this new (and better) way to specify build tags.
    For more info, see https://golang.org/design/draft-gobuild.
    
    As a way to seamlessly switch from old to new build tags, gofmt (and
    gopls) from go 1.17 adds the new tags along with the old ones.
    
    Later, when go < 1.17 is no longer supported, the old build tags
    can be removed.
    
    Now, as I started to use latest gopls (v0.7.1), it adds these tags
    while I edit. Rather than to randomly add new build tags, I guess
    it is better to do it once for all files.
    
    Mind that previous commits removed some tags that were useless,
    so this one only touches packages that can at least be built
    on non-linux.
    
    Brought to you by
    
            go1.17 fmt ./...
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    dcd10a9 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. libct: fixes for godoc 1.19

    Since Go 1.19, godoc recognizes lists, code blocks, headings etc. It
    also reformats the sources making it more apparent that these features
    are used.
    
    Fix a few places where it misinterpreted the formatting (such as
    indented vs unindented), and format the result using the gofumpt
    from HEAD, which already incorporates gofmt 1.19 changes.
    
    Some more fixes (and enhancements) might be required.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    2be1976 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. ci/gha: add space-at-eol check, fix existing issues

    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    b849d11 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2023

  1. ci: bump golangci-lint, remove fixed exception

    The exception was fixed by polyfloyd/go-errorlint#12
    which eventually made its way into golangci-lint.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin authored and lifubang committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    5fc7791 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3919 from kolyshkin/golint153

    ci: bump golangci-lint to v1.53, remove fixed exception
    lifubang committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    eae4882 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. integrate github.com/opencontainers/runc/libcontainer/user

    Integrate the github.com/opencontainers/runc/libcontainer/user package at
    commit a3a0ec48c464fe6458d2ba067f6707c027e5384e. This is the result of
    the following steps:
    
        # create a temporary clone of runc
        cd ~/Projects
        git clone https://github.com/opencontainers/runc.git libcontainer_user
        cd libcontainer_user
    
        # commit taken from
        git rev-parse --verify HEAD
        a3a0ec48c464fe6458d2ba067f6707c027e5384e
    
        # remove all code, except for 'libcontainer/user', and rename to /user
        git filter-repo \
          --path-glob 'libcontainer/user/*' \
          --path LICENSE \
          --path NOTICE \
          --path-rename libcontainer/user:user \
          --path-rename LICENSE:user/LICENSE \
          --path-rename NOTICE:user/NOTICE
    
        # go to the target github.com/moby/sys repository
        cd ~/go/src/github.com/moby/sys
    
        # create a branch to work with
        git checkout -b integrate_libcontainer_user
    
        # add the temporary repository as an upstream and make sure it's up-to-date
        git remote add libcontainer_user ~/Projects/libcontainer_user
        git fetch libcontainer_user
    
        # merge the upstream code
        git merge --allow-unrelated-histories --signoff -S libcontainer_user/main
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    6fd7f26 View commit details
    Browse the repository at this point in the history
  2. user: add go.mod and integrate in CI

    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    863b987 View commit details
    Browse the repository at this point in the history