-
Notifications
You must be signed in to change notification settings - Fork 6
Comparing changes
Open a pull request
base repository: openSUSE/libpathrs
base: v0.1.3
head repository: openSUSE/libpathrs
compare: main
Commits on Oct 9, 2024
-
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 6433a63 - Browse repository at this point
Copy the full SHA 6433a63View commit details -
merge #86 into openSUSE/libpathrs:main
Aleksa Sarai (3): VERSION: back to development VERSION: release v0.1.3 CHANGELOG: update to include python changes LGTMs: cyphar
Configuration menu - View commit details
-
Copy full SHA for 27e0875 - Browse repository at this point
Copy the full SHA 27e0875View commit details -
python bindings: add Root.creat_raw and sanify Root.creat API
Users probably want to be able to do Root.creat and get a WrappedFd, so add a method for that. In addition, the argument order for Root.creat didn't match the openat(O_CREAT) argument order, which could cause some confusion so rotate the arguments to match (this means we have to give filemode a default value -- 0o644 makes the most sense as a default). Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 51670ff - Browse repository at this point
Copy the full SHA 51670ffView commit details
Commits on Oct 10, 2024
-
The nolintlint lint (heh) thinks the //nolint:exhaustive directive is extraneous and fails our CI seemingly randomly, so drop it for now. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 840a5a5 - Browse repository at this point
Copy the full SHA 840a5a5View commit details -
go bindings: fixup import "C" line
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 37bd58f - Browse repository at this point
Copy the full SHA 37bd58fView commit details -
{Root,Handle}::from_fd_unchecked -> from_fd
It seems incredibly unlikely that we will ever add verification to Handle::from_fd / Root::from_fd, so having the _unchecked suffix doesn't really make sense. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 97403ee - Browse repository at this point
Copy the full SHA 97403eeView commit details -
impl From<...Fd> for {Root,Handle}
We still need {Root,Handle}::from_fd because you can't do something like impl From<Into<OwnedFd>> for ... and being able to do Root::from_fd(<File>) is quite nice, so we need both methods. But at least now you could do <File>.into() if that's what you're into. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 8c4a906 - Browse repository at this point
Copy the full SHA 8c4a906View commit details -
merge #88 into openSUSE/libpathrs:main
Aleksa Sarai (2): impl From<...Fd> for {Root,Handle} {Root,Handle}::from_fd_unchecked -> from_fd LGTMs: cyphar
Configuration menu - View commit details
-
Copy full SHA for 34de9d3 - Browse repository at this point
Copy the full SHA 34de9d3View commit details
Commits on Oct 14, 2024
-
capi: readlink: only calculate path length once
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for a856dbb - Browse repository at this point
Copy the full SHA a856dbbView commit details -
*: migrate from lazy_static! to once_cell::sync::Lazy
Ideally we would switch to std::sync::LazyLock but that was only stabilised in Rust 1.80.0, so we have to make do with once_cell. At least once_cell has basically the same API as the merged-into-std API, so we can switch over very easily. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for aaec3d6 - Browse repository at this point
Copy the full SHA aaec3d6View commit details -
procfs: make is_subset check cheaper
Allocating file descriptors for the is_subset check is completely unnecessary. We can just do a basic faccessat(2) check -- the paths we care about are very basic and we only care if they exist at all and not their contents or what they point to. In addition, because we check /proc/1 and /proc/stat, using faccessat(2) will avoid us thinking that /proc is a subset if something has overmounted /proc/stat (technically is a subset but that's just a game of whack-a-mole we can't win). Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 13966e0 - Browse repository at this point
Copy the full SHA 13966e0View commit details -
merge #89 into openSUSE/libpathrs:main
Aleksa Sarai (1): *: migrate from lazy_static! to once_cell::sync::Lazy LGTMs: cyphar
Configuration menu - View commit details
-
Copy full SHA for 4baab3d - Browse repository at this point
Copy the full SHA 4baab3dView commit details -
merge #90 into openSUSE/libpathrs:main
Aleksa Sarai (1): procfs: make is_subset check cheaper LGTMs: cyphar
Configuration menu - View commit details
-
Copy full SHA for 14f579c - Browse repository at this point
Copy the full SHA 14f579cView commit details -
bindings: mv COPYING.APACHE-2.0 -> COPYING
It turns out that pkg.go.dev doesn't like COPYING.APACHE-2.0 as a license file name and refuses to generate docs, so just rename all of the custom COPYING.* files to just COPYING. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 3fc2b5d - Browse repository at this point
Copy the full SHA 3fc2b5dView commit details
Commits on Oct 17, 2024
-
syscalls: switch to rustix for most of our syscalls
Using libc leads to several issues when dealing with multiarch that make things quite frustrating, and rustix does provide nicer APIs (for the most part -- some are a little wonky). One major annoyance is that building for musl leads to annoying build failures because musl uses differently-sized or differently-signed types, which we don't want to care about because we just want to use the actual kernel APIs. Also, musl is missing wrappers for things like statx(2) which we need to use. We still need syscall wrappers to provide nice error information, but we can remove most of the internal-only bitflags and unsafe blocks. The only syscall wrapper we don't switch to rustix is openat2 because rustix's API is not designed to be extensible and so we can stick with libc for now. In the future we might want to consider migrating away from libc entirely (to linux_raw_sys) to reduce the code bloat of having two different syscall wrappers. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 7c055d0 - Browse repository at this point
Copy the full SHA 7c055d0View commit details -
merge #92 into openSUSE/libpathrs:main
Aleksa Sarai (1): syscalls: switch to rustix for most of our syscalls LGTMs: cyphar
Configuration menu - View commit details
-
Copy full SHA for 55226a9 - Browse repository at this point
Copy the full SHA 55226a9View commit details -
multiarch: fix build failures on 32-bit word arches
The move to rustix fixed most of these issues, but the translations to MetadataExt still needed to be adjusted. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 37fea42 - Browse repository at this point
Copy the full SHA 37fea42View commit details -
Almost everything works, thanks to the rustix migration. The only outstanding problem is that O_FSYNC is not provided by musl. We don't really care about these flags (they're only used for debug output in practice) so just skip defining it on musl. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 487c093 - Browse repository at this point
Copy the full SHA 487c093View commit details -
makefile: move CARGO_FLAGS placement
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for eb2fbcd - Browse repository at this point
Copy the full SHA eb2fbcdView commit details -
gha: test cross-compilation to other arches
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 8421d66 - Browse repository at this point
Copy the full SHA 8421d66View commit details -
merge #91 into openSUSE/libpathrs:main
Aleksa Sarai (4): gha: test cross-compilation to other arches makefile: move CARGO_FLAGS placement *: fix musl builds multiarch: fix build failures on 32-bit word arches LGTMs: cyphar
Configuration menu - View commit details
-
Copy full SHA for 8a655c8 - Browse repository at this point
Copy the full SHA 8a655c8View commit details
Commits on Oct 22, 2024
-
Rust has changed their recommendation on whether libraries should commit lockfiles. It seems the answer is now that we should err on the side of committing it unless there is a strong reason not to[1]. Given that we also package libpathrs for distros, I suspect most would prefer a lockfile to improve reproducibility a bit (even if they can track dependencies themselves). CI will no longer test the latest version of every dependency, but we have dependabot so that just means we'll see test results in the (slightly spammy) PRs provided by dependabot. [1]: https://blog.rust-lang.org/2023/08/29/committing-lockfiles.html Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 04a4209 - Browse repository at this point
Copy the full SHA 04a4209View commit details
Commits on Oct 23, 2024
-
build(deps): bump thiserror from 1.0.64 to 1.0.65
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.64 to 1.0.65. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](dtolnay/thiserror@1.0.64...1.0.65) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 0086c9f - Browse repository at this point
Copy the full SHA 0086c9fView commit details
Commits on Oct 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c08f8f8 - Browse repository at this point
Copy the full SHA c08f8f8View commit details -
build(deps): bump anyhow from 1.0.90 to 1.0.91
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.90 to 1.0.91. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](dtolnay/anyhow@1.0.90...1.0.91) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 7c57c43 - Browse repository at this point
Copy the full SHA 7c57c43View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfc5525 - Browse repository at this point
Copy the full SHA dfc5525View commit details
Commits on Oct 28, 2024
-
build(deps): bump rustix from 0.38.37 to 0.38.38
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.37 to 0.38.38. - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGELOG.md) - [Commits](bytecodealliance/rustix@v0.38.37...v0.38.38) --- updated-dependencies: - dependency-name: rustix dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for ecb41b4 - Browse repository at this point
Copy the full SHA ecb41b4View commit details
Commits on Oct 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d6801de - Browse repository at this point
Copy the full SHA d6801deView commit details
Commits on Nov 1, 2024
-
build(deps): bump thiserror from 1.0.65 to 1.0.66
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.65 to 1.0.66. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](dtolnay/thiserror@1.0.65...1.0.66) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 5c4f1a5 - Browse repository at this point
Copy the full SHA 5c4f1a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94ca24d - Browse repository at this point
Copy the full SHA 94ca24dView commit details -
build(deps): bump anyhow from 1.0.91 to 1.0.92
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.91 to 1.0.92. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](dtolnay/anyhow@1.0.91...1.0.92) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for ac71bd7 - Browse repository at this point
Copy the full SHA ac71bd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95f5f2f - Browse repository at this point
Copy the full SHA 95f5f2fView commit details
Commits on Nov 2, 2024
-
makefile: build on cargo file changes
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for e735d84 - Browse repository at this point
Copy the full SHA e735d84View commit details
Commits on Nov 5, 2024
-
build(deps): bump rustix from 0.38.38 to 0.38.39
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.38 to 0.38.39. - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGELOG.md) - [Commits](bytecodealliance/rustix@v0.38.38...v0.38.39) --- updated-dependencies: - dependency-name: rustix dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 4bded03 - Browse repository at this point
Copy the full SHA 4bded03View commit details -
Configuration menu - View commit details
-
Copy full SHA for c62c31d - Browse repository at this point
Copy the full SHA c62c31dView commit details -
build(deps): bump thiserror from 1.0.66 to 1.0.68
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.66 to 1.0.68. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](dtolnay/thiserror@1.0.66...1.0.68) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 683aa7f - Browse repository at this point
Copy the full SHA 683aa7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a08866c - Browse repository at this point
Copy the full SHA a08866cView commit details
Commits on Nov 6, 2024
-
build(deps): bump anyhow from 1.0.92 to 1.0.93
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.92 to 1.0.93. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](dtolnay/anyhow@1.0.92...1.0.93) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for f836596 - Browse repository at this point
Copy the full SHA f836596View commit details
Commits on Nov 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 479c916 - Browse repository at this point
Copy the full SHA 479c916View commit details -
build(deps): bump thiserror from 1.0.68 to 2.0.0
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.68 to 2.0.0. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](dtolnay/thiserror@1.0.68...2.0.0) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 33d7fd2 - Browse repository at this point
Copy the full SHA 33d7fd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for eff5091 - Browse repository at this point
Copy the full SHA eff5091View commit details
Commits on Nov 8, 2024
-
build(deps): bump libc from 0.2.161 to 0.2.162
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.161 to 0.2.162. - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.162/CHANGELOG.md) - [Commits](rust-lang/libc@0.2.161...0.2.162) --- updated-dependencies: - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for d0301ee - Browse repository at this point
Copy the full SHA d0301eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for acf1dc1 - Browse repository at this point
Copy the full SHA acf1dc1View commit details -
build(deps): bump tempfile from 3.13.0 to 3.14.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.13.0 to 3.14.0. - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](Stebalien/tempfile@v3.13.0...v3.14.0) --- updated-dependencies: - dependency-name: tempfile dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for a9fdb9b - Browse repository at this point
Copy the full SHA a9fdb9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 619b468 - Browse repository at this point
Copy the full SHA 619b468View commit details
Commits on Nov 11, 2024
-
build(deps): bump thiserror from 2.0.0 to 2.0.3
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 2.0.0 to 2.0.3. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](dtolnay/thiserror@2.0.0...2.0.3) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for cb90ff5 - Browse repository at this point
Copy the full SHA cb90ff5View commit details
Commits on Nov 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a5d3a66 - Browse repository at this point
Copy the full SHA a5d3a66View commit details -
build(deps): bump rustix from 0.38.39 to 0.38.40
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.39 to 0.38.40. - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGELOG.md) - [Commits](bytecodealliance/rustix@v0.38.39...v0.38.40) --- updated-dependencies: - dependency-name: rustix dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 9d21996 - Browse repository at this point
Copy the full SHA 9d21996View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0c398e - Browse repository at this point
Copy the full SHA a0c398eView commit details
Commits on Nov 18, 2024
-
build(deps): bump libc from 0.2.162 to 0.2.164
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.162 to 0.2.164. - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/main/CHANGELOG.md) - [Commits](rust-lang/libc@0.2.162...0.2.164) --- updated-dependencies: - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for b344ef5 - Browse repository at this point
Copy the full SHA b344ef5View commit details
There are no files selected for viewing