@@ -3,6 +3,98 @@ This project adheres to [Semantic Versioning](https://semver.org/).
3
3
4
4
# Change Log
5
5
6
+ ## [ 0.29.0] - 2024-05-24
7
+
8
+
9
+ ### Added
10
+
11
+ - Add ` getregset()/setregset() ` for Linux/glibc/x86/x86_64/aarch64/riscv64 and
12
+ ` getregs()/setregs() ` for Linux/glibc/aarch64/riscv64
13
+ ([ #2044 ] ( https://github.com/nix-rust/nix/pull/2044 ) )
14
+ - Add socket option Ipv6Ttl for apple targets.
15
+ ([ #2287 ] ( https://github.com/nix-rust/nix/pull/2287 ) )
16
+ - Add socket option UtunIfname.
17
+ ([ #2325 ] ( https://github.com/nix-rust/nix/pull/2325 ) )
18
+ - make SigAction repr(transparent) & can be converted to the libc raw type
19
+ ([ #2326 ] ( https://github.com/nix-rust/nix/pull/2326 ) )
20
+ - Add ` From ` trait implementation for conversions between ` sockaddr_in ` and
21
+ ` SockaddrIn ` , ` sockaddr_in6 ` and ` SockaddrIn6 `
22
+ ([ #2328 ] ( https://github.com/nix-rust/nix/pull/2328 ) )
23
+ - Add socket option ReusePortLb for FreeBSD.
24
+ ([ #2332 ] ( https://github.com/nix-rust/nix/pull/2332 ) )
25
+ - Added support for openat2 on linux.
26
+ ([ #2339 ] ( https://github.com/nix-rust/nix/pull/2339 ) )
27
+ - Add if_indextoname function.
28
+ ([ #2340 ] ( https://github.com/nix-rust/nix/pull/2340 ) )
29
+ - Add ` mount ` and ` unmount ` API for apple targets.
30
+ ([ #2347 ] ( https://github.com/nix-rust/nix/pull/2347 ) )
31
+ - Added ` _PC_MIN_HOLE_SIZE ` for ` pathconf ` and ` fpathconf ` .
32
+ ([ #2349 ] ( https://github.com/nix-rust/nix/pull/2349 ) )
33
+ - Added ` impl AsFd for pty::PtyMaster `
34
+ ([ #2355 ] ( https://github.com/nix-rust/nix/pull/2355 ) )
35
+ - Add ` open ` flag ` O_SEARCH ` to AIX, Empscripten, FreeBSD, Fuchsia, solarish,
36
+ WASI ([ #2374 ] ( https://github.com/nix-rust/nix/pull/2374 ) )
37
+ - Add prctl function ` prctl_set_vma_anon_name ` for Linux/Android.
38
+ ([ #2378 ] ( https://github.com/nix-rust/nix/pull/2378 ) )
39
+ - Add ` sync(2) ` for ` apple_targets/solarish/haiku/aix/hurd ` , ` syncfs(2) ` for
40
+ ` hurd ` and ` fdatasync(2) ` for ` aix/hurd `
41
+ ([ #2379 ] ( https://github.com/nix-rust/nix/pull/2379 ) )
42
+ - Add fdatasync support for Apple targets.
43
+ ([ #2380 ] ( https://github.com/nix-rust/nix/pull/2380 ) )
44
+ - Add ` fcntl::OFlag::O_PATH ` for FreeBSD and Fuchsia
45
+ ([ #2382 ] ( https://github.com/nix-rust/nix/pull/2382 ) )
46
+ - Added ` PathconfVar::MIN_HOLE_SIZE ` for apple_targets.
47
+ ([ #2388 ] ( https://github.com/nix-rust/nix/pull/2388 ) )
48
+ - Add ` open ` flag ` O_SEARCH ` to apple_targets
49
+ ([ #2391 ] ( https://github.com/nix-rust/nix/pull/2391 ) )
50
+ - ` O_DSYNC ` may now be used with ` aio_fsync ` and ` fcntl ` on FreeBSD.
51
+ ([ #2404 ] ( https://github.com/nix-rust/nix/pull/2404 ) )
52
+ - Added ` Flock::relock ` for upgrading and downgrading locks.
53
+ ([ #2407 ] ( https://github.com/nix-rust/nix/pull/2407 ) )
54
+
55
+ ### Changed
56
+
57
+ - Change the ` ForkptyResult ` type to the following repr so that the
58
+ uninitialized
59
+ ` master ` field won't be accessed in the child process:
60
+
61
+ ``` rs
62
+ pub enum ForkptyResult {
63
+ Parent {
64
+ child : Pid ,
65
+ master : OwnedFd ,
66
+ },
67
+ Child ,
68
+ }
69
+ ``` ([#2315 ](https : // github.com/nix-rust/nix/pull/2315))
70
+ - Updated `cfg_aliases ` dependency from version 0.1 to 0.2
71
+ ([#2322 ](https : // github.com/nix-rust/nix/pull/2322))
72
+ - Change the signature of `ptrace :: write ` and `ptrace :: write_user ` to make them
73
+ safe ([#2324 ](https : // github.com/nix-rust/nix/pull/2324))
74
+ - Allow use of `SignalFd ` through shared reference
75
+
76
+ Like with many other file descriptors, concurrent use of signalfds is safe.
77
+ Changing the signal mask of and reading signals from a signalfd can now be
78
+ done
79
+ with the `SignalFd ` API even if other references to it exist.
80
+ ([#2367](https: // github.com/nix-rust/nix/pull/2367))
81
+ - Changed tee, splice and vmsplice RawFd arguments to AsFd .
82
+ ([#2387](https: // github.com/nix-rust/nix/pull/2387))
83
+ - Added I / O safety to the sys/ aio module. Most functions that previously
84
+ accepted a `AsRawFd ` argument now accept an `AsFd ` instead.
85
+ ([#2401](https: // github.com/nix-rust/nix/pull/2401))
86
+ - `RecvMsg :: cmsgs()` now returns a `Result `, and checks that cmsgs were not
87
+ truncated. ([#2413](https: // github.com/nix-rust/nix/pull/2413))
88
+
89
+ ### Fixed
90
+
91
+ - No longer panics when the `fanotify` queue overflows.
92
+ ([#2399](https: // github.com/nix-rust/nix/pull/2399))
93
+ - Fixed ControlMessageOwned :: UdpGroSegments wrapped type from u16 to i32 to
94
+ reflect the used kernel's one.
95
+ ([#2406](https: // github.com/nix-rust/nix/pull/2406))
96
+
97
+
6
98
## [0. 28. 0] - 2024- 02- 24
7
99
8
100
0 commit comments