Bradley Landherr

Results 22 comments of Bradley Landherr

Ah I see what you mean. With the `tokio` feature of zbus, a new single-threaded runtime is created (but for the current thread): https://github.com/zeenix/zbus/blob/main/zbus/src/utils.rs#L50 I'm not sure what will happen...

Yeah I agree that ideally the sync/blocking interface shouldn't require a runtime.

It isn't as ideal as a pure-rust implementation, but I've started a draft PR to add a vendoring option, which will reduce the build time dependencies. https://github.com/diwic/dbus-rs/pull/408

I tried reproducing with the file above and it seems to work properly: ``` 2023-04-17T17:17:01.168Z INFO [repro] allocate base = 0x0 size = 0x219 flags = R 2023-04-17T17:17:01.168Z INFO [repro]...

@maddiethecafebabe Thanks for the explanation. I created a PR to provide a proper error instead of panicking https://github.com/gz/rust-elfloader/pull/41.

@cheako Similar to what's discussed here: https://github.com/hwchen/keyring-rs/issues/103 You can create a helper function: ```rust /// Helper to obtain the value, returning None when not /// yet set. pub fn get_optional(...

Hey @seladb sorry for the late response. I'll see if I can feature gate it and add deprecation warnings.

@seladb Finally got some time to come back to this. I've added the deprecation warning, and by default all old code using `liter()` will continue to compile and work as...

One thing to note is that the `keyutils` backend might work on Android, since it's running a Linux kernel. But I'm not sure if the seccomp profiles apps are subject...

~~Nevermind, looks like it's [explicitly blocked on Android](https://cs.android.com/android/platform/superproject/+/master:cts/hostsidetests/seccomp/app/gen_blacklist.py;l=43;drc=93bc74b258b248ac4a80085d164b64841eb49e41).~~ ~~But then they also have this [core utility](https://android.googlesource.com/platform/system/core/+/refs/heads/master/mini_keyctl/mini_keyctl.cpp). So I'm not sure. Probably worth a shot to see.~~ It might work since...