stevenengler / socksns

A tool for running an application in an isolated network namespace, with external network access only through a SOCKS proxy.
MIT License
18 stars 0 forks source link

Bump nix from 0.20.0 to 0.21.0 #35

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps nix from 0.20.0 to 0.21.0.

Changelog

Sourced from nix's changelog.

[0.21.0] - 31 May 2021

Added

  • Added getresuid and getresgid (#1430)
  • Added TIMESTAMPNS support for linux (#1402)
  • Added sendfile64 (#1439)
  • Added MS_LAZYTIME to MsFlags (#1437)

Changed

  • Made forkpty unsafe, like fork (#1390)
  • Made Uid, Gid and Pid methods from_raw and as_raw a const fn (#1429)
  • Made Uid::is_root a const fn (#1429)
  • AioCb is now always pinned. Once a libc::aiocb gets sent to the kernel, its address in memory must not change. Nix now enforces that by using std::pin. Most users won't need to change anything, except when using aio_suspend. See that method's documentation for the new usage. (#1440)
  • LioCb is now constructed using a distinct LioCbBuilder struct. This avoids a soundness issue with the old LioCb. Usage is similar but construction now uses the builder pattern. See the documentation for details. (#1440)
  • Minimum supported Rust version is now 1.41.0. (#1440)

Fixed

  • Allow sockaddr_ll size, as reported by the Linux kernel, to be smaller then it's definition (#1395)
  • Fix spurious errors using sendmmsg with multiple cmsgs (#1414)

Removed

  • Removed sys::socket::accept4 from Android arm because libc removed it in version 0.2.87. (#1399)
  • AioCb::from_boxed_slice and AioCb::from_boxed_mut_slice have been removed. They were useful with earlier versions of Rust, but should no longer be needed now that async/await are available. AioCbs now work exclusively with borrowed buffers, not owned ones. (#1440)
Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
stevenengler commented 3 years ago

@dependabot rebase

stevenengler commented 3 years ago

@dependabot merge