Releases: rust-lang/libc
Releases · rust-lang/libc
0.2.177
Added
- Apple: Add TIOCGETA,TIOCSETA,TIOCSETAW,TIOCSETAFconstants (#4736)
- Apple: Add pthread_cond_timedwait_relative_np(#4719)
- BSDs: Add _CS_PATHconstant (#4738)
- Linux-like: Add SIGEMTfor mips* and sparc* architectures (#4730)
- OpenBSD: Add elf_aux_info(#4729)
- Redox: Add more sysconf constants (#4728)
- Windows: Add wcsnlen(#4721)
Changed
- WASIP2: Invert conditional to include p2 APIs (#4733)
0.2.176
Support
- The default FreeBSD version has been raised from 11 to 12. This matches rustcsince 1.78. (#2406)
- Debugis now always implemented, rather than being gated behind the- extra_traitsfeature. (#4624)
Added
- AIX: Restore some non-POSIX functions guarded by the _KERNELmacro. (#4607)
- FreeBSD 14: Add st_filereftostruct stat(#4642)
- Haiku: Add the accept4POSIX call (#4586)
- Introduce a wrapper for representing padding (#4632)
- Linux: Add EM_RISCV(#4659)
- Linux: Add MS_NOSYMFOLLOW(#4389)
- Linux: Add backtrace_symbols(_fd)(#4668)
- Linux: Add missing SOL_PACKEToptnames (#4669)
- Musl s390x: Add SYS_mseal(#4549)
- NuttX: Add __errno(#4687)
- Redox: Add dirfd,VDISABLE, and resource consts (#4660)
- Redox: Add more resource.h,fcntl.hconstants (#4666)
- Redox: Enable strftimeandmkostemp[s](#4629)
- Unix, Windows: Add qsort_r(Unix), andqsort(_s)(Windows) (#4677)
- Unix: Add dlvsymfor Linux-gnu, FreeBSD, and NetBSD (#4671)
- Unix: Add sigqueue(#4620)
Changed
- FreeBSD 15: Mark kinfo_procas non-exhaustive (#4553)
- FreeBSD: Set the ELF symbol version for readdir_r(#4694)
- Linux: Correct the config for whether or not epoll_eventis packed (#4639)
- Tests: Replace the old ctestwith the much more reliable new implementation (#4655 and many related PRs)
Fixed
- AIX: Fix the type of the 4th arguement of getgrnam_r([#4656](#4656
- FreeBSD: Limit P_IDLEPROCto FreeBSD 15 (#4640)
- FreeBSD: Limit mcontext_t::mc_tlsbaseto FreeBSD 15 (#4640)
- FreeBSD: Update gating of mcontext_t.mc_tlsbase(#4703)
- Musl s390x: Correct the definition of statfs[64](#4549)
- Musl s390x: Make fpreg_ta union (#4549)
- Redox: Fix the types of gid_tanduid_t(#4689)
- Redox: Fix the value of MAP_FIXED(#4684)
Deprecated
- Apple: Correct the deprecatedattribute foriconv(a97a0b53)
- FreeBSD: Deprecate TIOCMGDTRWAITandTIOCMSDTRWAIT(#4685)
Removed
- FreeBSD: Remove JAIL_{GET,SET}_MASK,_MC_FLAG_MASK(#4691)
ctest-0.5.0-beta.0
- Clean up some ctestinternals
- Increase the recursion limit to fix building on docs.rs
0.2.175
Added
- AIX: Add getpeereid(#4524)
- AIX: Add struct ld_infoand friends (#4578)
- AIX: Retore struct winsize(#4577)
- Android: Add UDP socket option constants (#4619)
- Android: Add CLONE_CLEAR_SIGHANDandCLONE_INTO_CGROUP(#4502)
- Android: Add more prctlconstants (#4531)
- FreeBSD Add further TCP stack-related constants (#4196)
- FreeBSD x86-64: Add mcontext_t.mc_tlsbase(#4503)
- FreeBSD15: Add kinfo_proc.ki_uerrmsg(#4552)
- FreeBSD: Add in_conninfo(#4482)
- FreeBSD: Add xinpgenand related types (#4482)
- FreeBSD: Add xktls_session(#4482)
- Haiku: Add functionality from libbsd(#4221)
- Linux: Add SECBIT_*(#4480)
- NetBSD, OpenBSD: Export ioctlrequest generator macros (#4460)
- NetBSD: Add ptsname_r(#4608)
- RISCV32: Add time-related syscalls (#4612)
- Solarish: Add strftime*(#4453)
- linux: Add EXEC_RESTRICT_*andEXEC_DENY_*(#4545)
Changed
- AIX: Add constto signatures to be consistent with other platforms (#4563)
Fixed
- AIX: Fix the type of struct statvfs.f_fsid(#4576)
- AIX: Fix the type of constants for the ioctlrequestargument (#4582)
- AIX: Fix the types of stat{,64}.st_*tim(#4597)
- AIX: Use unique errnovalues (#4507)
- Build: Fix an incorrect target_os->target_archcheck (#4550)
- FreeBSD: Fix the type of xktls_session_onedir.ifnet(#4552)
- Mips64 musl: Fix the type of nlink_t(#4509)
- Mips64 musl: Use a special MIPS definition of stack_t(#4528)
- Mips64: Fix SI_TIMER,SI_MESGQandSI_ASYNCIOdefinitions (#4529)
- Musl Mips64: Swap the order of si_errnoandsi_codeinsiginfo_t(#4530)
- Musl Mips64: Use a special MIPS definition of statfs(#4527)
- Musl: Fix the definition of fanotify_event_metadata(#4510)
- NetBSD: Correct enum fae_actionto be#[repr(C)](#60a8cfd5)
- PSP: Correct char->c_char(eaab4fc3)
- PowerPC musl: Fix termiosdefinitions (#4518)
- PowerPC musl: Fix the definition of EDEADLK(#4517)
- PowerPC musl: Fix the definition of NCCS(#4513)
- PowerPC musl: Fix the definitions of MAP_LOCKEDandMAP_NORESERVE(#4516)
- PowerPC64 musl: Fix the definition of shmid_ds(#4519)
Deprecated
- Linux: MAP_32BITis only defined on x86 on non-x86 architectures (#4511)
Removed
0.2.174
0.2.173
Added
- AIX: Add an AIX triple to Cargo.toml for doc (#4475)
- FreeBSD: Add the SO_SPLICEsocket option support for FreeBSD >= 14.2 (#4451)
- Linux GNU: Prepare for supporting _TIME_BITS=64(#4433)
- Linux: Add constant PACKET_IGNORE_OUTGOING (#4319)
- Linux: Add constants and types for nsfsioctls (#4436)
- Linux: Add constants for Memory-Deny-Write-Execute prctls(#4400)
- Linux: Add constants from linux/cn_proc.handlinux/connector.h(#4434)
- Linux: Add new flags for pwritev2andpreadv2(#4452)
- Linux: Add pid_type enum values (#4403)
- Linux: Update pidfd constants and types (Linux 6.9-6.15) (#4402)
- Loongarch64 musl: Define the MADV_SOFT_OFFLINEconstant (#4448)
- Musl: Add new fields since 1.2.0/1.2.2 to struct tcp_info(#4443)
- Musl: Prepare for supporting v1.2.3 (#4443)
- NuttX: Add arc4randomandarc4random_buf(#4464)
- RISC-V Musl: Add MADV_SOFT_OFFLINEdefinition (#4447)
- Redox: Define SCM_RIGHTS (#4440)
- VxWorks: Add missing UTIME defines and TASK_RENAME_LENGTH (#4407)
- Windows: Add more time.hfunctions (#4427)
Changed
- Redox: Update SA_constants. (#4426)
- Redox: make CMSG_ALIGN,CMSG_LEN, andCMSG_SPACEconst functions (#4441)
Fixed
0.2.172
Added
- Android: Add getauxvalfor 32-bit targets (#4338)
- Android: Add if_tun.hioctls (#4379)
- Android: Define SO_BINDTOIFINDEX(#4391)
- Cygwin: Add posix_spawn_file_actions_add[f]chdir[_np](#4387)
- Cygwin: Add new socket options (#4350)
- Cygwin: Add statfs & fcntl (#4321)
- FreeBSD: Add filedescandfdescenttbl(#4327)
- Glibc: Add unstable support for _FILE_OFFSET_BITS=64 (#4345)
- Hermit: Add AF_UNSPEC(#4344)
- Hermit: Add AF_VSOCK(#4344)
- Illumos, NetBSD: Add timerfdAPIs (#4333)
- Linux: Add _IO,_IOW,_IOR,_IOWRto the exported API (#4325)
- Linux: Add tcp_infoto uClibc bindings (#4347)
- Linux: Add further BPF program flags (#4356)
- Linux: Add missing INPUT_PROP_XXX flags from input-event-codes.h(#4326)
- Linux: Add missing TLS bindings (#4296)
- Linux: Add more constants from seccomp.h(#4330)
- Linux: Add more glibc ptrace_sud_configand relatedPTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG. (#4386)
- Linux: Add new netlink flags (#4288)
- Linux: Define ioctl codes on more architectures (#4382)
- Linux: Add missing pthread_attr_setstack(#4349)
- Musl: Add missing utmpxAPI (#4332)
- Musl: Enable getrandomon all platforms (#4346)
- NuttX: Add more signal constants (#4353)
- QNX: Add QNX 7.1-iosock and 8.0 to list of additional cfgs (#4169)
- QNX: Add support for alternative Neutrino network stack io-sock(#4169)
- Redox: Add more sys/socket.handsys/uio.hdefinitions (#4388)
- Solaris: Temporarily define O_DIRECTandSIGINFO(#4348)
- Solarish: Add secure_getenv(#4342)
- VxWorks: Add missing d_typemember todirent(#4352)
- VxWorks: Add missing signal-related constsants (#4352)
- VxWorks: Add more error codes (#4337)
Deprecated
- FreeBSD: Deprecate TCP_PCAP_OUTandTCP_PCAP_IN(#4381)
Fixed
- Cygwin: Fix member types of statfs(#4324)
- Cygwin: Fix tests (#4357)
- Hermit: Make AF_INET = 3(#4344)
- Musl: Fix the syscall table on RISC-V-32 (#4335)
- Musl: Fix the value of SA_ONSTACKon RISC-V-32 (#4335)
- VxWorks: Fix a typo in the waitpidparameter name (#4334)
Removed
- Musl: Remove O_FSYNCon RISC-V-32 (useO_SYNCinstead) (#4335)
- Musl: Remove RTLD_DEEPBINDon RISC-V-32 (#4335)
Other
- CI: Add matrix env variables to the environment (#4345)
- CI: Always deny warnings (#4363)
- CI: Always upload successfully created artifacts (#4345)
- CI: Install musl from source for loongarch64 (#4320)
- CI: Revert "Also skip MFD_EXECandMFD_NOEXEC_SEALon sparc64" (#)
- CI: Use $PWDinstead of$(pwd)in run-docker (#4345)
- Solarish: Restrict openptyandforkptypolyfills to Illumos, replace Solaris implementation with bindings (#4329)
- Testing: Ensure the makedev test does not emit unused errors (#4363)
ctest-0.4.11
- Clean up some ctestinternals
- Increase the recursion limit to fix building on docs.rs
0.2.171
Added
- Android: Add if_nameindex/if_freenameindexsupport (#4247)
- Apple: Add missing proc types and constants (#4310)
- BSD: Add devname(#4285)
- Cygwin: Add PTY and group API (#4309)
- Cygwin: Add support (#4279)
- FreeBSD: Make spawn.hinterfaces available on all FreeBSD-like systems (#4294)
- Linux: Add AF_XDPstructs for all Linux environments (#4163)
- Linux: Add SysV semaphore constants (#4286)
- Linux: Add F_SEAL_EXEC(#4316)
- Linux: Add SO_PREFER_BUSY_POLLandSO_BUSY_POLL_BUDGET(#3917)
- Linux: Add devmemstructs (#4299)
- Linux: Add socket constants up to SO_DEVMEM_DONTNEED(#4299)
- NetBSD, OpenBSD, DragonflyBSD: Add closefrom(#4290)
- NuttX: Add pw_passwdfield topasswd(#4222)
- Solarish: define IP_BOUND_IFandIPV6_BOUND_IF(#4287)
- Wali: Add bindings for wasm32-wali-linux-musltarget (#4244)
Changed
- AIX: Use sa_sigactioninstead of a union (#4250)
- Make msqid_ds.__msg_cbytespublic (#4301)
- Unix: Make all major,minor,makedevintoconst fn(#4208)
Deprecated
- Linux: Deprecate obsolete packet filter interfaces (#4267)
Fixed
- Cygwin: Fix strerror_r (#4308)
- Cygwin: Fix usage of f! (#4308)
- Hermit: Make stat::st_sizesigned (#4298)
- Linux: Correct values for SI_TIMER,SI_MESGQ,SI_ASYNCIO(#4292)
- NuttX: Update tm_zoneandd_namefields to usec_chartype (#4222)
- Xous: Include the prelude to define c_int(#4304)
Other
- Add labels to FIXMEs (#4231, #4232, #4234, #4235, #4236)
- CI: Fix "cannot find libc" error on Sparc64 (#4317)
- CI: Fix "cannot find libc" error on s390x (#4317)
- CI: Pass --no-self-updatetorustup update(#4306)
- CI: Remove tests for the i586-pc-windows-msvctarget (#4311)
- CI: Remove the check_cfgjob (#4322)
- Change the range syntax that is giving ctestproblems (#4311)
- Linux: Split out the stat struct for gnu/b32/mips (#4276)
Removed
- NuttX: Remove pthread_set_name_np(#4251)
0.2.170
Added
- Android: Declare setdomainnameandgetdomainname#4212
- FreeBSD: Add evdevstructures #3756
- FreeBSD: Add the new st_filerevfield tostat32(#4254)
- Linux: Add SI_*`` andTRAP_*`` signal codes #4225
- Linux: Add experimental configuration to enable 64-bit time in kernel APIs, set by RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64. #4148
- Linux: Add recent socket timestamping flags #4273
- Linux: Added new CANFD_FDF flag for the flags field of canfd_frame #4223
- Musl: add CLONE_NEWTIME #4226
- Solarish: add the posix_spawn family of functions #4259
Deprecated
- Linux: deprecate kernel modules syscalls #4228
Changed
- Emscripten: Assume version is at least 3.1.42 #4243
Fixed
- BSD: Correct the definition of WEXITSTATUS#4213
- Hurd: Fix CMSG_DATA on 64bit systems (#4240)
- NetBSD: fix getmntinfo(#4265
- VxWorks: Fix the size of time_t#426