Aleksa Sarai

Results 232 issues of Aleksa Sarai

On the private repo, dependapot produces a lot of spam (so much so that there are stores in https://github.com/dependabot/dependabot-core/issues/2804 of it exhausting the billing cap of an organisation). They have...

Sometimes it's necessary to search for the first occurrence that is *not* a particular byte (the most obvious example is checking if a buffer is all NUL-bytes and returning the...

enhancement

The kernel API for `openat2` [is designed to be extensible](https://www.youtube.com/watch?v=ggD-eb3yPVs) but the API binding provided by rustix is done in a way that would result in API breakage if a...

semver bump

While `pivot_root(2)` normally refuses to pivot a mount if you are running with `/` as initramfs (because initramfs doesn't have a parent mount), you can create a bind-mount of `/`...

impact/changelog

With https://github.com/opencontainers/runc/pull/4434, our `pivot_root(2)` code now works for the primary usecase for `--no-pivot` and so `--no-pivot` is now deprecated unless we find some new usecases that were not apparent before....

[Just saw this failure.](https://github.com/cyphar/paperback/actions/runs/9698808275/job/26766242359) ``` thread 'shamir::dealer::test::limited_recover_fail' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/quickcheck-1.0.3/src/tester.rs:165:28: [quickcheck] TEST FAILED. Arguments: (8, [255], [GfElem(1797454381), GfElem(2770396913), GfElem(998084813), GfElem(463965418), GfElem(373228609), GfElem(1448295553), GfElem(424671901), GfElem(1), GfElem(1857253999), GfElem(2454037938)]) note: run with `RUST_BACKTRACE=1`...

The resolve -> reopen flow is the most straightforward usage but there is an argument that for users which actually just want to open a file the extra "scratch" file...

api/cffi
resolver/openat2
api/rust
api/root

I think `InodeType` is a little ugly from a Rust perspective. The need to pass `Permissions` in some cases and inability to use `AsRef` is kind of ugly.

api/rust

It's not clear to me how slow CGo actually is for our usecase (and this whether #87 is actually justified). We can probably also tag all of our functions `#cgo...

bindings/go

This was only stabilised in Rust 1.80.0, so this might cause issues when building on older distributions (depending on when libpathrs starts getting packaged). Signed-off-by: Aleksa Sarai

impact/msrv