Sourced from nix's changelog.
[0.29.0] - 2024-05-24
Added
- Add
getregset()/setregset()
for Linux/glibc/x86/x86_64/aarch64/riscv64 andgetregs()/setregs()
for Linux/glibc/aarch64/riscv64 (#2044)- Add socket option Ipv6Ttl for apple targets. (#2287)
- Add socket option UtunIfname. (#2325)
- make SigAction repr(transparent) & can be converted to the libc raw type (#2326)
- Add
From
trait implementation for conversions betweensockaddr_in
andSockaddrIn
,sockaddr_in6
andSockaddrIn6
(#2328)- Add socket option ReusePortLb for FreeBSD. (#2332)
- Added support for openat2 on linux. (#2339)
- Add if_indextoname function. (#2340)
- Add
mount
andunmount
API for apple targets. (#2347)- Added
_PC_MIN_HOLE_SIZE
forpathconf
andfpathconf
. (#2349)- Added
impl AsFd for pty::PtyMaster
(#2355)- Add
open
flagO_SEARCH
to AIX, Empscripten, FreeBSD, Fuchsia, solarish, WASI (#2374)- Add prctl function
prctl_set_vma_anon_name
for Linux/Android. (#2378)- Add
sync(2)
forapple_targets/solarish/haiku/aix/hurd
,syncfs(2)
forhurd
andfdatasync(2)
foraix/hurd
(#2379)- Add fdatasync support for Apple targets. (#2380)
- Add
fcntl::OFlag::O_PATH
for FreeBSD and Fuchsia (#2382)- Added
PathconfVar::MIN_HOLE_SIZE
for apple_targets. (#2388)- Add
open
flagO_SEARCH
to apple_targets (#2391)O_DSYNC
may now be used withaio_fsync
andfcntl
on FreeBSD. (#2404)- Added
Flock::relock
for upgrading and downgrading locks. (#2407)Changed
... (truncated)
1dad4d8
chore: prepare for 0.29.0f743197
fix ControlMessageOwned::UdpGroSegments UDP packets processing type. (#2406)208b80b
recvmsg: Check if CMSG buffer was too small and return an error (#2413)ecd12a9
test: remove test of inode count in test_statfs.rs (#2414)663506a
fix: only close fanotify
events with a valid fd (#2399)1604723
revert: impl From<sigaction> for SigAction (#2410)ec4beb5
docs: correct limit value of FAN_UNLIMITED_QUEUE and
FAN_UNLIMITED_MARKS[skip...84c0444
chore: bump libc to 0.2.155 (#2409)c5af4ad
Add Flock::relock (#2407)e7acaff
Enable O_DSYNC on FreeBSD with fcntl and aio_fsync (#2404)