Commit Graph

  • 483f3c7e59 (cargo-release) version 0.33.3 Dan Gohman 2022-02-22 13:17:38 -08:00
  • 57dc9b5f07 Use a patched qemu for running the async-io tests. Dan Gohman 2022-02-22 12:44:37 -08:00
  • e6c3a799cb Update the comparison to sc/scall in README.md. Dan Gohman 2022-02-19 12:39:33 -08:00
  • 44ae52605c Add a musl-compatible prlimit64. Dan Gohman 2022-02-18 14:30:06 -08:00
  • bda5f8d7e4 Switch the test crates to 2018 edition. Dan Gohman 2022-02-18 14:26:32 -08:00
  • f15895063d Work around glibc's translation of ENOSYS into EINVAL in mlock2. Dan Gohman 2022-02-17 13:42:07 -08:00
  • 701365890a Allow NOSYS in the mlock2 tests. Dan Gohman 2022-02-17 12:28:20 -08:00
  • b77fb94f69 Implement MLOCK_ONFAULT in the libc backend. Dan Gohman 2022-02-17 10:13:20 -08:00
  • 3478913d1d Tidy up comments in the x86 syscall code. Dan Gohman 2022-02-15 09:40:17 -08:00
  • bec18a7fee Avoid an unnecessary push/pop in the x86 indirect_syscall5 path. Dan Gohman 2022-02-15 09:39:47 -08:00
  • ccc762f4ea Minor code simplification using cfg_attr. Dan Gohman 2022-02-15 09:39:22 -08:00
  • d1b68b53aa Don't mark x86 inline asm that makes calls as "nostack". Dan Gohman 2022-02-16 11:16:44 -08:00
  • 1b51637d86 More fixes for older glibc versions. Dan Gohman 2022-02-17 11:05:35 -08:00
  • 1293342323 Use weak!/`syscall! to support symbols missing from older glibc. (#235) Dan Gohman 2022-02-17 10:23:17 -08:00
  • c50130f9fc Add impls for AsFd for &T to rustix's no-std AsFd as well. Dan Gohman 2022-02-16 16:14:24 -08:00
  • 815a9aa411 Use the new impl AsFd for &T support in io-lifetimes. Dan Gohman 2022-02-15 14:06:10 -08:00
  • 48ecd94c3c Fix detection of the use-libc cargo feature. Dan Gohman 2022-02-16 14:56:39 -08:00
  • aa0b8cb789 Test isatty with libc::isatty and ioctl_tiocgwinsz instead of is-terminal. Dan Gohman 2022-02-16 11:49:57 -08:00
  • 596e953580 mips64le and mipsel linux_raw support. Dan Gohman 2022-02-08 22:12:41 -08:00
  • 929ed6379b Fix a race condition in the rlimit test. Dan Gohman 2022-02-11 13:39:21 -08:00
  • 3f9f4d352c Add #[inline] attributes to small functions. Dan Gohman 2022-01-26 00:13:43 -08:00
  • fa6010f02a Avoid taking a reference to a packed struct field. Dan Gohman 2022-02-16 11:15:28 -08:00
  • 2e5cbf0854 A random comment fix. Dan Gohman 2022-02-09 09:23:15 -08:00
  • e29aacda55 Fix a stray backtick. Dan Gohman 2022-02-03 11:39:05 -08:00
  • cc696e3bac Delete a redundant comma. Dan Gohman 2022-01-31 11:06:30 -08:00
  • bb0b879d31 Alphabetize the targets in a #[cfg(any(...))]. Dan Gohman 2022-01-28 15:15:40 -08:00
  • c476e97387 Fix a typo in the time example. Dan Gohman 2022-01-31 11:12:30 -08:00
  • 5a1f5349af Move a TODO comment. Dan Gohman 2022-01-28 16:24:23 -08:00
  • 8ef34722fc Add code quotes to code constructs in comments. Dan Gohman 2022-01-28 16:12:34 -08:00
  • 5113c99be4 Fix code formatting. Dan Gohman 2022-01-28 16:09:34 -08:00
  • 678e77320d Delete redundant '#[cfg(...)]` attributes. Dan Gohman 2022-01-28 16:09:13 -08:00
  • ca21dfdb26 Reformat comments. Dan Gohman 2022-01-28 15:36:05 -08:00
  • 6e11197c61 Add a comment about pids not being pidfds. Dan Gohman 2022-01-24 15:57:59 -08:00
  • 6be14902f6 Remove an incorrectly copy-and-pasted comment. Dan Gohman 2022-01-28 14:54:43 -08:00
  • 4fb8abeedb Use lateout on powerpc for inline asm parameters that are not read after they are written. Dan Gohman 2022-02-08 17:16:40 -08:00
  • 771b6ece7b Remove unreachable instructions in noreturn syscalls on powerpc. Dan Gohman 2022-02-08 17:04:51 -08:00
  • d1ac9c9104 Add another possible optimization idea to the comments for powerpc64le. Dan Gohman 2022-02-08 17:04:36 -08:00
  • feee41073b Use unix instead of not(windows) for Unix-domain socket code. Dan Gohman 2022-02-11 18:26:27 -08:00
  • 872e342a02 Add tests for fcntl_get_seals. Dan Gohman 2022-02-11 14:35:16 -08:00
  • 9bf17186c2 Switch to a single feature, use-libc, for the libc backend. (#229) Dan Gohman 2022-02-16 10:49:26 -08:00
  • e39c9072f7 build.rs: Don't capture rustc errors during feature detection Colin Walters 2022-02-14 13:01:37 -05:00
  • f8eb3196a0 Elide temporary variables for .as_fd() and similar calls. Dan Gohman 2022-02-09 11:31:40 -08:00
  • 632bc5e5e3 Call wsa_startup once per test program, rather than once per test. Dan Gohman 2022-02-09 10:31:20 -08:00
  • ea1c6e8c9c Fix recvfrom to initialize the family field. Dan Gohman 2022-02-08 16:25:48 -08:00
  • fa3a8910b8 Sort cfg entries, and fix missing configuraion for dragonfly. Dan Gohman 2022-02-08 16:24:44 -08:00
  • 5c37d56cbb Handle AF_UNSPEC in the libc backend. Dan Gohman 2022-02-08 14:38:12 -08:00
  • b239b55656 Call wsa_startup/wsa_cleanup in tests. Dan Gohman 2022-02-08 13:59:33 -08:00
  • 4ec6277bf5 Add a testcase for the new connect and bind functions. Dan Gohman 2022-02-08 05:42:55 -08:00
  • 7f6153155a Fix missing SocketAddr import. Dan Gohman 2021-12-02 12:23:42 -08:00
  • 3c107ace6d Add a sendto function which operates on std::net::SocketAddr. Dan Gohman 2021-11-29 08:54:10 -08:00
  • 32e5348559 Add a bind function which operates on std::net::SocketAddr. Dan Gohman 2021-11-29 08:54:10 -08:00
  • ccf4ea77ee Add a connect function which operates on std::net::SocketAddr. Dan Gohman 2021-11-29 08:54:10 -08:00
  • 2afc8d6442 Fix several issues in the test-users script. (#213) Dan Gohman 2022-02-10 15:58:54 -08:00
  • 81d6ca34c9 (cargo-release) version 0.33.2 Dan Gohman 2022-02-08 07:30:39 -08:00
  • 4a5333dba7 Add a try_clone method to OwnedFd. (#218) Dan Gohman 2022-02-08 07:25:47 -08:00
  • 77fb672103 Powerpc64le linux_raw support. Dan Gohman 2022-02-04 08:54:11 -08:00
  • d4486d9abe (cargo-release) version 0.33.1 Dan Gohman 2022-02-03 11:54:29 -08:00
  • 1a02e4585e Add support for abstract-name sockets. Dan Gohman 2022-02-02 17:36:02 -08:00
  • d8a74efe85 Add a PollFd::clear_revents function. Dan Gohman 2022-02-02 17:38:15 -08:00
  • e5e83e4237 Poll support for Winsock2. Dan Gohman 2022-02-02 17:35:06 -08:00
  • c38613506e Add a CI script to test rustix's reverse dependencies. (#212) Dan Gohman 2022-02-03 10:40:10 -08:00
  • 66854aab7d Update to is-terminal 0.1.0. Dan Gohman 2022-02-01 09:58:30 -08:00
  • 20ebc0f5ee Add comments to dup2_to_replace_stdio. Dan Gohman 2022-02-01 07:58:44 -08:00
  • df1c27d1de Fix test_linux_hwcap to work on old libc versions. Dan Gohman 2022-01-31 09:13:41 -08:00
  • ee8edc414a Move the dup2_to_replace_stdio test into a separate child process. Dan Gohman 2022-01-31 09:13:41 -08:00
  • ff294b1f9e Fix VDSO clock_gettime detection on older Linux versions. Dan Gohman 2022-01-31 09:13:41 -08:00
  • 4b00df56d9 Detect arm64-ilp32 just enough to say that it's not supported. Dan Gohman 2022-01-31 09:13:41 -08:00
  • 0c2b700911 Disable the __ehdr_start safety checking in the vdso parsing code. Dan Gohman 2022-01-31 09:13:41 -08:00
  • d5503146d8 Handle Error::NOSYS in tests for Linux-specific syscalls. Dan Gohman 2022-01-31 09:13:41 -08:00
  • bb53716407 Don't open /proc directories with NOATIME or PATH. Dan Gohman 2022-01-31 09:13:41 -08:00
  • 9e5d1be65e Fix getrlimit/setrlimit on old Linux versions. Dan Gohman 2022-01-31 09:13:41 -08:00
  • 9cc0fc7b66 Update to linux-raw 0.0.39. (#200) Dan Gohman 2022-01-31 09:29:19 -08:00
  • eee6cc2dff Expand the comments in the outline asm wrapper code. Dan Gohman 2022-01-28 07:46:54 -08:00
  • 72c4182fdb Replace duplicated functions with function aliases. Dan Gohman 2022-01-28 07:03:36 -08:00
  • 7d22f7b879 Inline the mod reorder modules. Dan Gohman 2022-01-28 06:57:28 -08:00
  • 645e05f465 Enable CpuSet::count on Android (#204) Dan Gohman 2022-01-31 09:08:09 -08:00
  • b33bcd6498 Add a cross-check for aarch64-unknown-linux-musl in CI. Dan Gohman 2022-01-22 19:44:23 -08:00
  • b9824b5205 Refactor the code that does vDSO checks into a helper function. Dan Gohman 2022-01-17 14:06:20 -08:00
  • dedc85afc1 Optimize the build.rs program. Dan Gohman 2022-01-27 12:56:30 -08:00
  • 1665ae9140 Remove internal usage of use ...::syscalls::*. (#198) Dan Gohman 2022-01-28 06:36:14 -08:00
  • ba2094f93a Split 32-bit fallback routines into their own functions. Dan Gohman 2022-01-25 13:02:57 -08:00
  • e0b1a1817c Exclude all dotfiles from the crates.io package. Dan Gohman 2022-01-27 11:54:01 -08:00
  • ccc301b884 (cargo-release) start next development iteration 0.33.1-alpha.0 Dan Gohman 2022-01-26 14:11:50 -08:00
  • 64712d8911 (cargo-release) version 0.33.0 Dan Gohman 2022-01-26 14:11:39 -08:00
  • ab95a1c693 Fix ioctl_blk*szget types Mek101 2022-01-24 18:26:18 +01:00
  • bd476b2128 Add ioctl_blk*szget android support. Mek101 2022-01-24 16:46:34 +01:00
  • a0d12692ae Update to io-lifetimes 0.5.1. Dan Gohman 2022-01-25 12:04:00 -08:00
  • 20f1d6b95f Factor out several more type conversions in the syscalls code. Dan Gohman 2022-01-25 13:24:30 -08:00
  • 8831f35c3e Implement fcntl_add_seals etc. Dan Gohman 2022-01-24 12:34:36 -08:00
  • 42de227bbe Implement setrlimit and prlimit. (#191) Dan Gohman 2022-01-25 13:26:00 -08:00
  • e0cf781c0e Cleanup: make an implicit lifetime parameter explicit. Dan Gohman 2022-01-17 14:31:15 -08:00
  • 6303edf4d7 Add a CI check for the prebuild debug-mode libraries. Dan Gohman 2022-01-24 12:21:03 -08:00
  • 80229bc23f procfs: Add a wrapper to open a directory in /proc Colin Walters 2022-01-24 15:39:06 -05:00
  • 6e437aee3b procfs: Don't try to validate the uid/gid of /proc Colin Walters 2022-01-24 10:30:47 -05:00
  • 2ba2b72ba5 impl Debug for DecInt Colin Walters 2022-01-23 14:37:52 -05:00
  • 76601bc928 tests/statfs: Don't check f_files != 0 Colin Walters 2022-01-24 08:56:49 -05:00
  • 281b31fcff Switch from atty to is-terminal. (#183) Dan Gohman 2022-01-24 05:03:56 -08:00
  • 6a16b261f0 (cargo-release) start next development iteration 0.32.2-alpha.0 Dan Gohman 2022-01-19 17:32:16 -08:00
  • 0e665876fb (cargo-release) version 0.32.1 Dan Gohman 2022-01-19 17:32:05 -08:00
  • 14dd4c7079 Sync the libc version of PollFd with the linux_raw version. Dan Gohman 2022-01-19 16:30:17 -08:00