Skip to content

Commit 4c1b30b

Browse files
authored
Merge pull request #10 from kolyshkin/readme
Add README and CHANGELOG
2 parents 271809a + f3b1dba commit 4c1b30b

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

CHANGELOG.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Changelog
2+
This file documents all notable changes made to this project since the initial fork.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [0.1.0] - 2024-07-31
8+
9+
This is an initial release since the fork.
10+
11+
### Breaking changes
12+
13+
* The `CAP_LAST_CAP` variable is removed; users need to modify the code to
14+
use [LastCap] to get the value. (#6)
15+
* The code now requires Go >= 1.20.
16+
17+
### Added
18+
* `go.mod` and `go.sum` files. (#2)
19+
* New [LastCap] function. (#6)
20+
* Basic CI using GHA infra. (#8, #9)
21+
* README and CHANGELOG. (#10)
22+
23+
### Fixed
24+
* Fixed ambient capabilities error handling in [Apply]. (#3)
25+
* Fixed future kernel compatibility. (#1)
26+
* Fixed various linter warnings. (#4, #7)
27+
28+
### Changed
29+
* Go build tags changed from old-style (`+build`) to new Go 1.17+ style (`go:build`). (#2)
30+
31+
### Removed
32+
* Removed support for capabilities v1 and v2. (#1)
33+
* Removed init function so programs that use this package start faster. (#6)
34+
* Removed `CAP_LAST_CAP` (use [LastCap] instead). (#6)
35+
36+
[Apply]: https://pkg.go.dev/github.com/kolyshkin/capability#Capabilities.Apply
37+
[LastCap]: https://pkg.go.dev/github.com/kolyshkin/capability#LastCap
38+
39+
<!-- minor releases -->
40+
[0.1.0]: https://github.com/kolyshkin/capability/compare/42c35b4376354fd5...v0.1.0
41+

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
This is a fork of (apparently no longer maintained)
2+
https://github.com/syndtr/gocapability package. It provides basic primitives to
3+
work with [Linux capabilities][capabilities(7)].
4+
5+
[![Go Reference](https://pkg.go.dev/badge/github.com/kolyshkin/capability.svg)](https://pkg.go.dev/github.com/kolyshkin/capability)
6+
7+
## Alternatives
8+
9+
* https://pkg.go.dev/kernel.org/pub/linux/libs/security/libcap/cap
10+
11+
[capabilities(7)]: https://man7.org/linux/man-pages/man7/capabilities.7.html

0 commit comments

Comments
 (0)