summaryrefslogtreecommitdiff
path: root/goapps/gowns
Commit message (Collapse)AuthorAgeFilesLines
* Up the release version to 2.59HEADmasterAndrew G. Morgan2021-09-261-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.58Andrew G. Morgan2021-09-171-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.57Andrew G. Morgan2021-09-091-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.56Andrew G. Morgan2021-09-021-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.55Andrew G. Morgan2021-08-291-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.54Andrew G. Morgan2021-08-251-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.53v1.2.53psx/v1.2.53libcap-korg-2.53libcap-2.53cap/v1.2.53Andrew G. Morgan2021-08-151-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.52v1.2.52psx/v1.2.52libcap-korg-2.52libcap-2.52cap/v1.2.52Andrew G. Morgan2021-08-011-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Update comment in gowns sources.Andrew G. Morgan2021-06-211-1/+5
| | | | | | | I still have some things I want to explore with this example, so I don't want to give the impression this is a stable example. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.51v1.2.51psx/v1.2.51libcap-korg-2.51libcap-2.51cap/v1.2.51Andrew G. Morgan2021-06-201-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.50v1.2.50psx/v1.2.50libcap-korg-2.50libcap-2.50cap/v1.2.50Andrew G. Morgan2021-05-241-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.49v1.2.49psx/v1.2.49libcap-korg-2.49libcap-2.49cap/v1.2.49Andrew G. Morgan2021-03-131-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Upgrade cap and psx Go modules to version 1.2.48psx/v1.2.48cap/v1.2.48Andrew G. Morgan2021-02-041-1/+1
| | | | | | | | | | | Go has its own notion of major version, and this commit raises it from 0 to 1. That is, these modules should now be considered stable. The sources for the 1.2.48 and the 0.2.48 modules are otherwise identical. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.48v0.2.48psx/v0.2.48libcap-korg-2.48libcap-2.48cap/v0.2.48Andrew G. Morgan2021-02-041-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.47v0.2.47psx/v0.2.47libcap-korg-2.47libcap-2.47cap/v0.2.47Andrew G. Morgan2021-01-231-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Restructured gowns to default to uid base of getuid().Andrew G. Morgan2021-01-231-59/+69
| | | | | | | The whole uid=0 thing is so convoluted with privilege, best to just avoid it by default. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Up the release version to 2.46v0.2.46psx/v0.2.46libcap-korg-2.46libcap-2.46cap/v0.2.46Andrew G. Morgan2020-12-121-1/+1
| | | | Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Add a go.mod file for building gowns.Andrew G. Morgan2020-12-081-0/+5
| | | | | | | | | | | | | | | Since go 1.15 doesn't require the wrapping linker trick, I'm recommending that version of Go for building it. Also add a test of building the setid and gowns sources in the .../go/ directory. At this stage, I'm imagining a tutorial on how gowns works here: https://sites.google.com/site/fullycapable/getting-started-with-go but I haven't started writing that yet. I first want to confirm the state of all the features I want to use. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Clean up gowns invocation for shell etc.Andrew G. Morgan2020-12-071-28/+86
| | | | | | Also, simplify how to set a range of uids/gids from the commandline. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
* Demonstrate using libcap and namespaces in Go.Andrew G. Morgan2020-11-281-0/+181
A short program in Go that can invoke a UID namespaced application it can also be used to launch capability modified programs using IAB and mode. This is a reduced feature set over the more complete capsh program - with the exception of namespace support. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>