-
Notifications
You must be signed in to change notification settings - Fork 107
fix(deps): update rust crate nix to 0.30.1 - autoclosed #1265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
Reviewer's GuideThis PR bumps the Class Diagram: EventFd API Changes in nix 0.30.xclassDiagram
class EventFd {
<<Rust struct>>
-- Methods removed in v0.30.0 --
defuse()
arm()
-- Methods added in v0.30.0 --
+from_owned_fd(fd: OwnedFd) EventFd
}
Class Diagram: Selected API Renames in nix 0.30.xclassDiagram
class nix.sys.socket.sockopt.IpTos {
<<sockopt, deprecated>>
}
class nix.sys.socket.sockopt.Ipv4Tos {
<<sockopt>>
}
nix.sys.socket.sockopt.IpTos ..> nix.sys.socket.sockopt.Ipv4Tos : renamed to
class EventFlag {
<<flags, deprecated>>
}
class EvFlags {
<<flags>>
}
EventFlag ..> EvFlags : renamed to
class MemFdCreateFlag {
<<flags, deprecated>>
}
class MFdFlags {
<<flags>>
}
MemFdCreateFlag ..> MFdFlags : renamed to
Class Diagram: Ownership Utilities for File Descriptors in nix 0.30.xclassDiagram
class OwnedFd {
<<Rust struct>>
}
class PtyMaster {
<<Rust struct>>
+from_owned_fd(fd: OwnedFd) PtyMaster
+into(self) OwnedFd // Represents impl Into<OwnedFd>
}
PtyMaster ..> OwnedFd : interacts with
class Fanotify {
<<Rust struct>>
+from_owned_fd(fd: OwnedFd) Fanotify
+into(self) OwnedFd // Represents impl Into<OwnedFd>
}
Fanotify ..> OwnedFd : interacts with
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: renovate[bot] The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This PR contains the following updates:
0.29.0
->0.30.1
Release Notes
nix-rust/nix (nix)
v0.30.1
Compare Source
Fixed
(#2634)
v0.30.0
Compare Source
Added
IPV6_PKTINFO
for BSDs/Linux/Android, alsoIPV6_RECVPKTINFO
for DragonFlyBSD(#2113)
fcntl
'sF_PREALLOCATE
constant for Apple targets.(#2393)
and support for DSCP (ToS / Traffic Class).
(#2425)
(nix::sys::socket::sockopt::Ipv6TClass) on Android/FreeBSD
(#2464)
SeekData
andSeekHole
toWhence
for hurd and apple targets(#2473)
From
trait implementation betweenSocketAddr
andSockaddr
,Sockaddr6
(#2474)posix_spawn
API(#2475)
(#2477)
F_RDADVISE
for Apple target(#2480)
F_RDAHEAD
for Apple target(#2482)
F_LOG2PHYS
andF_LOG2PHYS_EXT
for Apple target(#2483)
MAP_SHARED_VALIDATE
was added for all linux targets. &MAP_SYNC
was addedfor linux with the exclusion of mips architecures, and uclibc
(#2499)
getregs()
/getregset()
/setregset()
for Linux/musl/aarch64(#2502)
F_TRANSFEREXTENTS
constant for Apple targets(#2504)
MapFlags::MAP_STACK
insys::man
for netbsd(#2526)
libc::LOCAL_PEERTOKEN
ingetsockopt
.(#2529)
syslog
,openlog
,closelog
on allunix
.(#2537)
TCP_FUNCTION_BLK
sockopt, on FreeBSD.(#2539)
Into<OwnedFd>
forPtyMaster/Fanotify/Inotify/SignalFd/TimerFd
(#2548)
MremapFlags::MREMAP_DONTUNMAP
tosys::mman::mremap
for linux target.(#2555)
sockopt_impl!
to the public API. It's now possible for users todefine
their own sockopts without needing to make a PR to Nix.
(#2556)
TCP_FUNCTION_ALIAS
sockopt, on FreeBSD.(#2558)
sys::mman::MmapAdvise
MADV_PAGEOUT
,MADV_COLD
,MADV_WIPEONFORK
,MADV_KEEPONFORK
for Linux and Android targets(#2559)
Sctp
, as well asMSG_NOTIFICATION
for non-AndroidLinux targets. (#2562)
from_owned_fd
constructor toEventFd
(#2563)
sys::mman::MmapAdvise
MADV_POPULATE_READ
,MADV_POPULATE_WRITE
forLinux and Android targets
(#2565)
from_owned_fd
constructor toPtyMaster/Fanotify/Inotify/SignalFd/TimerFd
(#2566)
FcntlArg::F_READAHEAD
for FreeBSD target(#2569)
sockopt::LingerSec
for Apple targets(#2572)
sockopt::EsclBind
for solarish targets(#2573)
std::os::fd::AsRawFd
trait method fornix::sys::fanotify::Fanotify
struct(#2575)
setlogmask
on allunix
.(#2579)
ioctl
.(#2580)
sys::socket::SockProtocol::EthIp
,sys::socket::SockProtocol::EthIpv6
,sys::socket::SockProtocol::EthLoop
(#2581)
(#2599)
setsockopt
option for apple targets(#2603)
FilAttach
andFilDetach
to socket::sockopt for Illumos(#2611)
PeerPidfd
(SO_PEERPIDFD
) tosocket::sockopt
for Linux(#2620)
socket::sockopt::AttachReusePortCbpf
for Linux(#2621)
ptrace::syscall_info
for linux/glibc(#2627)
Changed
(#1936)
name
argument ofmemfd_create()
from&CStr
to<P: NixPath>(name: &P)
(#2431)fcntl.rs
anddir.rs
now use I/O-safe types.(#2434)
sys/stat
now adopts I/O safety.(#2439)
(#2440)
(#2443)
IpTos
has been renamed toIpv4Tos
, the old symbol isdeprecated since 0.30.0 (#2465)
EventFlag
toEvFlags
, andMemFdCreateFlag
toMFdFlags
(#2476)
nix::sys::socket::UnknownCmsg
public and more readable(#2520)
(#2524)
(#2582)
Fixed
(#2454)
(#2456)
ns
argument ofsys::prctl::set_timerslack()
should be of typec_ulong
(#2505)OSString
s returned bygetsockopt
.(#2557)
(#2587)
Removed
SigevNotify
is no longerPartialEq
,Eq
andHash
due to the useof
BorrowedFd
(#1936)EventFd::defuse()
is removed because it does nothing,EventFd::arm()
isalso removed for symmetry reasons.
(#2452)
Copy
trait fromPollFd
(#2631)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Summary by Sourcery
Chores: