summaryrefslogtreecommitdiffhomepage
path: root/mullvad-exclude/src
AgeCommit message (Collapse)AuthorFilesLines
2025-08-07Improve error message in mullvad-exclude when cgroups v1 is missingDavid Lönnhager1-3/+6
2025-07-10Run `cargo fmt`Sebastian Holmin1-1/+1
2024-08-12Remove unreachable patternMarkus Pettersson1-16/+18
Fix new rustc warning for `unreachable_patterns`
2024-02-27Fix `clippy` lint 'suspicious_open_options'Markus Pettersson1-0/+1
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-16/+15
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2024-01-02Fix clippy lintsDavid Lönnhager1-3/+3
2023-01-30Run `cargo clippy --fix` with the new Rust 1.67 preferred formatLinus Färnstrand1-4/+4
2022-07-05Fix unnecessary allocsDavid Lönnhager1-1/+3
2022-06-14Manually fix the simpler non-semantic clippy warnsJonathan1-1/+1
This commit tries to manually fix the clippy warnings that are fairly straightforward and do not have rippling effects on the codebase nor have a very high chance of causing bugs.
2020-12-18Fix 'usage' stringDavid Lönnhager1-1/+1
2020-10-21Get rid of unnecessary vector in mullvad-excludeDavid Lönnhager1-2/+1
2020-09-16Upgrade dependenciesDavid Lönnhager1-1/+2
2020-07-23Determine `net_cls` mountpoint dynamicallyEmīls1-8/+14
2020-06-05Improve mullvad-excludeEmīls1-2/+12
`mullvad-exclude` seems to fail on NixOS with a permissions error when trying to open /sys/fs/cgroup/net_cls/mullvad-exclude/cgroup.procs. I noticed that the daemon did not have such issues, so I presumed it's the options with which the procs file is opened with that are to blame. As such, I've set the changed the code to use the same options in `mullvad-exclude` as in `talpid-core`.
2020-06-02Define cgroup name in one placeDavid Lönnhager1-3/+8
2020-06-02Add launcher binary for excluded apps (mullvad-exclude)David Lönnhager1-0/+90