Lines Matching refs:Added
9 ### Added subsection
11 - Added `mkdtemp` wrapper ([#1297](https://github.com/nix-rust/nix/pull/1297))
14 - Added `EventFd` type. ([#1945](https://github.com/nix-rust/nix/pull/1945))
15 - - Added `impl From<Signal> for SigSet`.
16 - Added `impl std::ops::BitOr for SigSet`.
17 - Added `impl std::ops::BitOr for Signal`.
18 - Added `impl std::ops::BitOr<Signal> for SigSet`
21 - Added `TlsGetRecordType` control message type and corresponding enum for
23 - Added `Ipv6HopLimit` to `::nix::sys::socket::ControlMessage` for Linux,
26 - Added `Icmp` and `IcmpV6` to `SockProtocol`
28 - Added rfork support for FreeBSD in `unistd`
30 - Added `MapFlags::map_hugetlb_with_size_log2` method for Linux targets
32 - Added `mmap_anonymous` function
34 - Added `mips32r6` and `mips64r6` support for signal, ioctl and ptrace
36 - Added `F_GETPATH` FcntlFlags entry on Apple/NetBSD/DragonflyBSD for
38 - Added `F_KINFO` FcntlFlags entry on FreeBSD for `::nix::fcntl`.
40 - Added `F_GETPATH_NOFIRMLINK` and `F_BARRIERFSYNC` FcntlFlags entry
43 - Added newtype `Flock` to automatically unlock a held flock upon drop.
44 Added `Flockable` trait to represent valid types for `Flock`.
46 - Added `SetSockOpt` impls to enable Linux Kernel TLS on a TCP socket and to
48 - - Added the `::nix::sys::socket::SocketTimestamp` enum for configuring the
50 - Added FreeBSD's `ScmRealtime` and `ScmMonotonic` as new options in
54 - Added new fanotify API: wrappers for `fanotify_init` and `fanotify_mark`
56 - Added `SpecialCharacterindices` support for haiku.
58 - Added `sys::sendfile` support for solaris/illumos.
62 - Added `sendfilev` in sys::sendfile for solarish
64 - Added `fctrl::SealFlag::F_SEAL_FUTURE_WRITE`
66 - Added `Ipv6MulticastHops` as socket option to set and read.
73 - Added `IpBindAddressNoPort` sockopt to support `IP_BIND_ADDRESS_NO_PORT`
77 - Added `TcpFastOpenConnect` sockopt to support `TCP_FASTOPEN_CONNECT`
81 - Added new `MemFdCreateFlag` constants to `sys::memfd` on Linux and Android
90 - Added `sys::eventfd` support on FreeBSD
92 - Added `MmapFlags::MAP_FIXED` constant in `sys::mman` for netbsd and openbsd
94 - Added the `SO_LISTENQLIMIT` sockopt.
102 - Added the `Backlog` wrapper type for the `listen` call.
107 - Added a new API sigsuspend.
109 - - Added `errno::Errno::set` function
110 - Added `errno::Errno::set_raw` function
111 - Added `errno::Errno::last_raw` function
112 - Added `errno::Errno::from_raw` function
211 ### Added subsection
212 - Added `AT_EACCESS` to `AtFlags` on all platforms but android
216 - Added `nix::ucontext` module on `aarch64-unknown-linux-gnu`.
218 - Added `CanRaw` to `SockProtocol` and `CanBcm` as a separate `SocProtocol` constant.
220 - Added `Generic` and `NFLOG` to `SockProtocol`.
222 - Added `mq_timedreceive` to `::nix::mqueue`.
224 - Added `LocalPeerPid` to `nix::sys::socket::sockopt` for macOS. ([#1967](https://github.com/nix-ru…
225 - Added `TFD_TIMER_CANCEL_ON_SET` to `::nix::sys::time::TimerSetTimeFlags` on Linux and Android.
227 - Added `SOF_TIMESTAMPING_OPT_ID` and `SOF_TIMESTAMPING_OPT_TSONLY` to `nix::sys::socket::Timestamp…
230 - Added vsock support for macOS ([#2056](https://github.com/nix-rust/nix/pull/2056))
231 - Added `SO_SETFIB` and `SO_USER_COOKIE` to `nix::sys::socket::sockopt` for FreeBSD.
233 - Added `SO_RTABLE` for OpenBSD and `SO_ACCEPTFILTER` for FreeBSD/NetBSD to `nix::sys::socket::sock…
235 - Added `MSG_WAITFORONE` to `MsgFlags` on Android, Fuchsia, Linux, NetBSD,
238 - Added `SO_TS_CLOCK` for FreeBSD to `nix::sys::socket::sockopt`.
240 - Added support for prctl in Linux.
325 ### Added subsection
327 - Added `SockaddrStorage::{as_unix_addr, as_unix_addr_mut}`
329 - Added `MntFlags` and `unmount` on all of the BSDs.
330 - Added `any()` and `all()` to `poll::PollFd`.
334 - Added a `Statfs::flags` method.
336 - Added `NSFS_MAGIC` FsType on Linux and Android.
338 - Added `sched_getcpu` on platforms that support it.
340 - Added `sched_getaffinity` and `sched_setaffinity` on FreeBSD.
342 - Added `line_discipline` field to `Termios` on Linux, Android and Haiku
346 - Added `domainname` field of `UtsName` on Android and Linux
350 - Added `syncfs(2)` on Linux
352 - Added `faccessat(2)` on illumos
354 - Added `eaccess()` on FreeBSD, DragonFly and Linux (glibc and musl).
356 - Added `IP_TOS` `SO_PRIORITY` and `IPV6_TCLASS` sockopts for Linux
358 - Added `new_unnamed` and `is_unnamed` for `UnixAddr` on Linux and Android.
360 - Added `SockProtocol::Raw` for raw sockets
394 ### Added subsection
396 - Added `faccessat`
398 - Added `memfd` on Android.
400 - Added `ETH_P_ALL` to `SockProtocol` enum
402 - Added four non-standard Linux `SysconfVar` variants
404 - Added const constructors for `TimeSpec` and `TimeVal`
406 - Added `chflags`.
408 - Added `aio_writev` and `aio_readv`.
415 - Added support for the `x86_64-unknown-haiku` target.
417 - Added `ptrace::read_user` and `ptrace::write_user` for Linux.
419 - Added `getrusage` and helper types `UsageWho` and `Usage`
421 - Added the `DontRoute` SockOpt
423 - Added `signal::SigSet::from_sigset_t_unchecked()`.
425 - Added the `Ipv4OrigDstAddr` sockopt and control message.
427 - Added the `Ipv6OrigDstAddr` sockopt and control message.
429 - Added the `Ipv4SendSrcAddr` control message.
476 ### Added subsection
478 - Added fine-grained features flags. Most Nix functionality can now be
481 - Added statfs FS type magic constants for `target_os = "android"`
484 - Added `fexecve` on DragonFly.
488 - Added `EPOLLEXCLUSIVE` on Android.
490 - Added `fdatasync` for FreeBSD, Fuchsia, NetBSD, and OpenBSD.
492 - Added `sched_setaffinity` and `sched_getaffinity` on DragonFly.
494 - Added `posix_fallocate` on DragonFly.
496 - Added `SO_TIMESTAMPING` support
498 - Added getter methods to `MqAttr` struct
500 - Added the `TxTime` sockopt and control message.
502 - Added POSIX per-process timer support
504 - Added `sendfile` on DragonFly.
506 - Added `UMOUNT_NOFOLLOW`, `FUSE_SUPER_MAGIC` on Linux.
508 - Added `getresuid`, `setresuid`, `getresgid`, and `setresgid` on DragonFly, FreeBSD, and OpenBSD.
510 - Added `MAP_FIXED_NOREPLACE` on Linux.
512 - Added `fspacectl` on FreeBSD
514 - Added `accept4` on DragonFly, Emscripten, Fuchsia, Illumos, and NetBSD.
516 - Added `AsRawFd` implementation on `OwningIter`.
518 - Added `process_vm_readv` and `process_vm_writev` on Android.
520 - Added `nix::ucontext` module on s390x.
525 - Added `ENOTRECOVERABLE` and `EOWNERDEAD` error codes on DragonFly.
529 - Added `MSG_NOSIGNAL` for Android, Dragonfly, FreeBSD, Fuchsia, Haiku, Illumos, Linux, NetBSD, Ope…
531 - Added `waitid`.
533 - Added `Ipv6DontFrag` for android, iOS, linux and macOS.
534 - Added `IpDontFrag` for iOS, macOS.
599 ### Added subsection
601 - Added the `LocalPeerCred` sockopt.
603 - Added `TimeSpec::from_duration` and `TimeSpec::from_timespec`
605 - Added `IPV6_V6ONLY` sockopt.
607 - Added `impl From<User> for libc::passwd` trait implementation to convert a `User`
611 - Added `pthread_kill`.
613 - Added `mknodat`.
615 - Added `setrlimit` and `getrlimit`.
617 - Added `ptrace::interrupt` method for platforms that support `PTRACE_INTERRUPT`
619 - Added `IP6T_SO_ORIGINAL_DST` sockopt.
621 - Added the `PTRACE_EVENT_STOP` variant to the `sys::ptrace::Event` enum
625 - Added `TcpRepair`
629 - Added support for `TCP_MAXSEG` TCP Maximum Segment Size socket options
631 - Added `Ipv4RecvErr` and `Ipv6RecvErr` sockopts and associated control messages.
633 - Added `AsRawFd` implementation on `PollFd`.
635 - Added `Ipv4Ttl` and `Ipv6Ttl` sockopts.
637 - Added `MAP_EXCL`, `MAP_ALIGNED_SUPER`, and `MAP_CONCEAL` mmap flags, and
643 - Added read/write accessors for 'events' on `PollFd`.
681 - Added more errno definitions for better backwards compatibility with
717 - Added more errno definitions for better backwards compatibility with
731 ### Added subsection
732 - Added `if_nameindex` (#[1445](https://github.com/nix-rust/nix/pull/1445))
733 - Added `nmount` for FreeBSD.
735 - Added `IpFreebind` socket option (sockopt) on Linux, Fuchsia and Android.
737 - Added `TcpUserTimeout` socket option (sockopt) on Linux and Fuchsia.
739 - Added `renameat2` for Linux
741 - Added `RxqOvfl` support on Linux, Fuchsia and Android.
770 ### Added subsection
771 - Added `getresuid` and `getresgid`
773 - Added TIMESTAMPNS support for linux
775 - Added `sendfile64` (#[1439](https://github.com/nix-rust/nix/pull/1439))
776 - Added `MS_LAZYTIME` to `MsFlags`
807 - Added `Errno::EOPNOTSUPP` to FreeBSD, where it was missing.
838 ### Added subsection
840 - Added a `passwd` field to `Group` (#[1338](https://github.com/nix-rust/nix/pull/1338))
841 - Added `mremap` (#[1306](https://github.com/nix-rust/nix/pull/1306))
842 - Added `personality` (#[1331](https://github.com/nix-rust/nix/pull/1331))
843 - Added limited Fuchsia support (#[1285](https://github.com/nix-rust/nix/pull/1285))
844 - Added `getpeereid` (#[1342](https://github.com/nix-rust/nix/pull/1342))
881 ### Added subsection
882 - Added Netlink protocol families to the `SockProtocol` enum
884 - Added `clock_gettime`, `clock_settime`, `clock_getres`,
887 - Added wrapper functions for `PTRACE_SYSEMU` and `PTRACE_SYSEMU_SINGLESTEP`.
891 - Added `TCP_KEEPCNT` and `TCP_KEEPINTVL` TCP keepalive options.
902 ### Added subsection
903 - Added `fchown(2)` wrapper.
905 - Added support on linux systems for `MAP_HUGE_`_`SIZE`_ family of flags.
907 - Added support for `F_OFD_*` `fcntl` commands on Linux and Android.
909 - Added `env::clearenv()`: calls `libc::clearenv` on platforms
915 - Added `unistd::setfsuid` and `unistd::setfsgid` to set the user or group
919 - Added `select::FdSet::fds` method to iterate over file descriptors in a set.
921 - Added support for UDP generic segmentation offload (GSO) and generic
923 - Added support for `sendmmsg` and `recvmmsg` calls
925 - Added support for `SCM_CREDS` messages (`UnixCredentials`) on FreeBSD/DragonFly
927 - Added `BindToDevice` socket option (sockopt) on Linux
929 - Added `EventFilter` bitflags for `EV_DISPATCH` and `EV_RECEIPT` on OpenBSD.
931 - Added support for `Ipv4PacketInfo` and `Ipv6PacketInfo` to `ControlMessage`.
935 - Added `unistd::ttyname`
937 - Added support for `Ipv4PacketInfo` and `Ipv6PacketInfo` to `ControlMessage` for iOS and Android.
939 - Added support for `TimerFd`.
1009 ### Added subsection
1023 ### Added subsection
1024 - Added `ptrace::seize()`: similar to `attach()` on Linux
1028 - Added `Signal::as_str()`: returns signal name as `&'static str`
1031 - Added `posix_fallocate`.
1037 - Added `NixPath::is_empty`.
1040 - Added `mkfifoat`
1043 - Added `User::from_uid`, `User::from_name`, `User::from_gid` and
1047 - Added `linkat`
1050 - Added `sched_getaffinity`.
1053 - Added optional `Signal` argument to `ptrace::{detach, syscall}` for signal
1118 ### Added subsection
1119 - Added `MSG_WAITALL` to `MsgFlags` in `sys::socket`.
1123 - Added `copy_file_range` wrapper
1129 - Added `AF_VSOCK` to `AddressFamily`.
1150 ### Added subsection
1174 ### Added subsection
1177 - Added `inotify_init1`, `inotify_add_watch` and `inotify_rm_watch` wrappers for
1183 - Added ENOTSUP errno support for Linux and Android.
1187 - Added `from_std` and `to_std` methods for `sys::socket::IpAddr`
1189 - Added `nix::unistd:seteuid` and `nix::unistd::setegid` for those platforms that do
1192 - Added a `access` wrapper
1259 ### Added subsection
1260 - Added PKTINFO(V4) & V6PKTINFO cmsg support - Android/FreeBSD/iOS/Linux/MacOS.
1262 - Added support of CString type in `setsockopt`.
1264 - Added option `TCP_CONGESTION` in `setsockopt`.
1266 - Added `symlinkat` wrapper.
1268 - Added `ptrace::{getregs, setregs}`.
1270 - Added `nix::sys::signal::signal`.
1272 - Added an `mprotect` wrapper.
1302 ### Added subsection
1303 - Added `FromStr` and `Display` impls for `nix::sys::Signal`
1305 - Added a `sync` wrapper.
1307 - Added a `sysinfo` wrapper.
1311 - Added support for `SCM_CREDENTIALS`, allowing to send process credentials over Unix sockets.
1313 - Added a `dir` module for reading directories (wraps `fdopendir`, `readdir`, and `rewinddir`).
1315 - Added `kmod` module that allows loading and unloading kernel modules on Linux.
1317 - Added `futimens` and `utimesat` wrappers ([#944](https://github.com/nix-rust/nix/pull/944)),
1320 - Added `AF_UNSPEC` wrapper to `AddressFamily` ([#948](https://github.com/nix-rust/nix/pull/948))
1321 - Added the `mode_t` public alias within `sys::stat`.
1323 - Added a `truncate` wrapper.
1325 - Added a `fchownat` wrapper.
1327 - Added support for `ptrace` on BSD operating systems ([#949](https://github.com/nix-rust/nix/pull/…
1328 - Added `ptrace` functions for reads and writes to tracee memory and ptrace kill
1330 - Added a `acct` wrapper module for enabling and disabling process accounting
1332 - Added the `time_t` and `suseconds_t` public aliases within `sys::time`.
1334 - Added `unistd::execvpe` for Haiku, Linux and OpenBSD
1336 - Added `Error::as_errno`.
1371 ### Added subsection
1372 - Added `sendfile` on FreeBSD and Darwin.
1374 - Added `pselect`
1378 - Added `mlockall` and `munlockall`
1380 - Added `SO_MARK` on Linux.
1382 - Added safe support for nearly any buffer type in the `sys::aio` module.
1384 - Added `sys::aio::LioCb` as a wrapper for `libc::lio_listio`.
1386 - Added `unistd::getsid`
1388 - Added `alarm`. ([#830](https://github.com/nix-rust/nix/pull/830))
1389 - Added interface flags `IFF_NO_PI, IFF_TUN, IFF_TAP` on linux-like systems.
1391 - Added `statvfs` module to all MacOS and Linux architectures.
1393 - Added `EVFILT_EMPTY`, `EVFILT_PROCDESC`, and `EVFILT_SENDFILE` on FreeBSD.
1399 - Added `fchmod`, `fchmodat`.
1401 - Added `request_code_write_int!` on FreeBSD/DragonFlyBSD
1442 ### Added subsection
1443 - Added specialized wrapper: `sys::ptrace::step`
1445 - Added `AioCb::from_ptr` and `AioCb::from_mut_ptr`
1447 - Added specialized wrappers: `sys::ptrace::{traceme, syscall, cont, attach}`. Using the matching r…
1449 - Added `nix::poll` module for all platforms
1451 - Added `nix::ppoll` function for FreeBSD and DragonFly
1453 - Added protocol families in `AddressFamily` enum.
1455 - Added the `pid()` method to `WaitStatus` for extracting the PID.
1457 - Added `nix::unistd:fexecve`.
1463 - Added `nix::sys::ptrace::detach`.
1465 - Added timestamp socket control message variant:
1468 - Added socket option variant that enables the timestamp socket
1471 - Added more accessor methods for `AioCb`
1475 - Added `nix::unistd::mkfifo`.
1477 - Added `ptrace::Options::PTRACE_O_EXITKILL` on Linux and Android.
1479 - Added `nix::sys::uio::{process_vm_readv, process_vm_writev}` on Linux
1481 - Added `nix::unistd::{getgroups, setgroups, getgrouplist, initgroups}`. ([#733](https://github.com…
1482 - Added `nix::sys::socket::UnixAddr::as_abstract` on Linux and Android.
1484 - Added `nix::unistd::execveat` on Linux and Android.
1486 - Added the `from_raw()` method to `WaitStatus` for converting raw status values
1489 - Added more standard trait implementations for various types.
1491 - Added `sigprocmask` to the signal module.
1493 - Added `nix::sys::socket::LinkAddr` on Linux and all bsdlike system.
1570 ### Added subsection
1571 - Added `sysconf`, `pathconf`, and `fpathconf`
1573 - Added `sys::signal::SigAction::{ flags, mask, handler}`
1575 - Added `nix::sys::pthread::pthread_self`
1577 - Added `AioCb::from_boxed_slice`
1579 - Added `nix::unistd::{openat, fstatat, readlink, readlinkat}`
1581 - Added `nix::pty::{grantpt, posix_openpt, ptsname/ptsname_r, unlockpt}`
1583 - Added `nix::ptr::openpty`
1585 - Added `nix::ptrace::{ptrace_get_data, ptrace_getsiginfo, ptrace_setsiginfo
1588 - Added `cfmakeraw`, `cfsetspeed`, and `tcgetsid`. ([#527](https://github.com/nix-rust/nix/pull/527…
1589 - Added "bad none", "bad write_ptr", "bad write_int", and "bad readwrite" variants to the `ioctl!`
1645 - Added `nix::ptrace` on all Linux-kernel-based platforms
1663 ### Added subsection
1664 - Added `::nix::sys::termios::BaudRate` enum to provide portable baudrate
1666 - Added a new `WaitStatus::PtraceEvent` to support ptrace events on Linux
1668 - Added support for POSIX AIO
1671 - Added support for XNU system control sockets
1673 - Added support for `ioctl` calls on BSD platforms
1675 - Added struct `TimeSpec`
1678 - Added complete definitions for all kqueue-related constants on all supported
1681 - Added function `epoll_create1` and bitflags `EpollCreateFlags` in
1684 - Added `setresuid` and `setresgid` for Linux in `::nix::unistd`
1686 - Added `getpgid` in `::nix::unistd`
1688 - Added `tcgetpgrp` and `tcsetpgrp` in `::nix::unistd`
1690 - Added `CLONE_NEWCGROUP` in `::nix::sched`
1692 - Added `getpgrp` in `::nix::unistd`
1694 - Added `fchdir` in `::nix::unistd`
1696 - Added `major` and `minor` in `::nix::sys::stat` for decomposing `dev_t`
1700 - Added `ppoll` in `::nix::poll`
1702 - Added support for getting and setting pipe size with fcntl(2) on Linux
1771 ### Added subsection
1772 - Added `lseek` and `lseek64` in `::nix::unistd`
1774 - Added `mkdir` and `getcwd` in `::nix::unistd`
1776 - Added accessors `sigmask_mut` and `sigmask` to `UContext` in
1779 - Added `WUNTRACED` to `WaitPidFlag` in `::nix::sys::wait` for non-_linux_
1782 - Added new module `::nix::sys::reboot` with enumeration `RebootMode` and
1787 - Added `F_FULLFSYNC` to `FcntlArg` in `::nix::fcntl` for _apple_ targets.
1789 - Added `CpuSet::unset` in `::nix::sched`.
1791 - Added constructor method `new()` to `PollFd` in `::nix::poll`, in order to
1794 - Added method `revents()` to `PollFd` in `::nix::poll`, in order to provide
1797 - Added `MSG_CMSG_CLOEXEC` to `MsgFlags` in `::nix::sys::socket` for _linux_ only.
1842 ### Added subsection
1843 - Added `gettid` in `::nix::unistd` for _linux_ and _android_.
1847 - Added `SIGNALFD_SIGINFO_SIZE` in `::nix::sys::signalfd`.
1849 - Added new module `::nix::ucontext` with struct `UContext`. Currently for
1852 - Added `EPOLLEXCLUSIVE` to `EpollEventKind` in `::nix::sys::epoll`.
1854 - Added `pause` to `::nix::unistd`.
1856 - Added `sleep` to `::nix::unistd`.
1858 - Added `S_IFDIR`, `S_IFLNK`, `S_IFMT` to `SFlag` in `::nix::sys::stat`.
1860 - Added `clear` and `extend` functions to `SigSet`'s implementation in
1866 - Added support for `SO_ORIGINAL_DST` in `::nix::sys::socket` on _linux_.
1868 - Added `SIGINFO` in `::nix::sys::signal` for the _macos_ target as well as
1882 - Added the `signal` parameter to `clone`'s signature in `::nix::sched`.