Commit Graph

  • 6421d9daf6 (cargo-release) version 0.12.0 Dan Gohman 2021-06-21 10:16:20 -07:00
  • 81723a6b56 Implement stdin, stdout, and stderr. Dan Gohman 2021-06-21 09:53:21 -07:00
  • fbaaaa2fa5 Tidy up a redundant &. Dan Gohman 2021-06-21 09:43:55 -07:00
  • 1f4fe214a6 Avoid an unneeded to_owned(). Dan Gohman 2021-06-21 09:43:53 -07:00
  • 71916d25d4 Refactor the raw-pointer code out of SocketAddr. Dan Gohman 2021-06-21 09:43:48 -07:00
  • 84262b794a Eliminate unnecessary unsafe. Dan Gohman 2021-06-21 06:51:03 -07:00
  • 3dcbcf15d6 Avoid UB with slice::from_raw_parts. Dan Gohman 2021-06-21 06:48:25 -07:00
  • 20271598d6 Refactor getsockopt code to avoid forming a slice of uninitailized memory. Dan Gohman 2021-06-21 06:37:49 -07:00
  • 718861c4c1 Simplify some imports. Dan Gohman 2021-06-21 06:23:42 -07:00
  • fec56e196b Move PollFdVec's into_iter into an IntoIterator impl. Dan Gohman 2021-06-21 06:21:31 -07:00
  • 4324d442d0 Avoid undefined behavior when copying dirents. Dan Gohman 2021-06-21 06:17:40 -07:00
  • 1ffbb1797a Tidy up a stray &. Dan Gohman 2021-06-21 05:54:58 -07:00
  • 5d872165fc Redesign the socket address types, implement sendto and recvfrom. Dan Gohman 2021-06-21 05:53:26 -07:00
  • 8f71567e0a Implement getsockname and getpeername. Dan Gohman 2021-06-21 05:49:13 -07:00
  • cad8a993fc Implement Linux sendfile. Dan Gohman 2021-06-21 05:34:09 -07:00
  • 132b67fb85 Implement dup2. Dan Gohman 2021-06-21 05:28:21 -07:00
  • 333e813daa (cargo-release) start next development iteration 0.11.1-alpha.0 Dan Gohman 2021-06-19 08:30:15 -07:00
  • b3de0f4e84 (cargo-release) version 0.11.0 Dan Gohman 2021-06-19 08:29:46 -07:00
  • 7eb9118740 Remove Entry::seek_loc, which is tricky to get right, and not important. Dan Gohman 2021-06-19 07:19:09 -07:00
  • e30301e3cd Fix 32-bit fadvise and user/group ID support. Dan Gohman 2021-06-19 06:36:19 -07:00
  • b561595aa3 Update to linux-raw-sys 0.0.7, fixing statfs. Dan Gohman 2021-06-19 06:07:23 -07:00
  • 7ea5f4ad53 (cargo-release) start next development iteration 0.10.4-alpha.0 Dan Gohman 2021-06-18 14:47:26 -07:00
  • 170e5513f1 (cargo-release) version 0.10.3 Dan Gohman 2021-06-18 14:47:03 -07:00
  • 0cd3699253 CI testing for x86. Dan Gohman 2021-06-18 13:41:15 -07:00
  • e666ae0a7c Add 32-bit x86 support. Dan Gohman 2021-06-18 13:33:27 -07:00
  • fb56eef7fe Clean up 32-bit architecture support. Dan Gohman 2021-06-18 10:34:51 -07:00
  • fbe720dc89 Use time64 APIs on 32-bit linux_raw mode. Dan Gohman 2021-06-18 09:00:13 -07:00
  • a9b533cdab Avoid dereferencing dirent as a whole. Dan Gohman 2021-06-18 07:10:13 -07:00
  • 6443970961 (cargo-release) start next development iteration 0.10.3-alpha.0 Dan Gohman 2021-06-17 20:49:40 -07:00
  • ece61557ef (cargo-release) version 0.10.2 Dan Gohman 2021-06-17 20:49:20 -07:00
  • 312313f3fd Report embedded NULs with EINVAL rather than EILSEQ. Dan Gohman 2021-06-17 20:44:18 -07:00
  • c078497560 (cargo-release) start next development iteration 0.10.2-alpha.0 Dan Gohman 2021-06-17 19:45:11 -07:00
  • 87021daa0c (cargo-release) version 0.10.1 Dan Gohman 2021-06-17 19:44:50 -07:00
  • ffa86788d0 Add an io::Error::from_io_error that verifies the errno value is in range. Dan Gohman 2021-06-17 19:40:10 -07:00
  • c3ebf12e2a (cargo-release) start next development iteration 0.10.1-alpha.0 Dan Gohman 2021-06-17 17:09:59 -07:00
  • d45ab702aa (cargo-release) version 0.10.0 Dan Gohman 2021-06-17 17:09:39 -07:00
  • d8e86f7224 Fix a few clippy lints. Dan Gohman 2021-06-17 16:50:12 -07:00
  • db8f0c192a Add some basic error tests. Dan Gohman 2021-06-17 16:45:00 -07:00
  • 30831981fb Avoid raw pointer casts where possible. Dan Gohman 2021-06-17 16:09:58 -07:00
  • c011296aa6 Reorganize socketpair. Dan Gohman 2021-06-17 15:40:37 -07:00
  • fcddab911b Don't emulate O_DSYNC on FreeBSD. Dan Gohman 2021-06-17 15:38:50 -07:00
  • de529852dc Fix a typo in a comment. Dan Gohman 2021-06-17 15:38:40 -07:00
  • 3a27f583bb Add some handy doc aliases. Dan Gohman 2021-06-17 15:09:09 -07:00
  • 308a1535b9 (cargo-release) start next development iteration 0.9.5-alpha.0 Dan Gohman 2021-06-17 14:56:30 -07:00
  • cd61e80653 (cargo-release) version 0.9.4 Dan Gohman 2021-06-17 14:56:09 -07:00
  • 0983b2012a Add a function to extra the raw error value from an Error. Dan Gohman 2021-06-17 14:55:43 -07:00
  • 2426b4f7e1 (cargo-release) start next development iteration 0.9.4-alpha.0 Dan Gohman 2021-06-17 13:57:58 -07:00
  • 92131bded7 (cargo-release) version 0.9.3 Dan Gohman 2021-06-17 13:57:39 -07:00
  • 5ccba69435 Re-export io_lifetimes, so that users can use the same version. Dan Gohman 2021-06-17 13:51:40 -07:00
  • 2825c90ecf Fix broken links in docs. Dan Gohman 2021-06-17 12:06:33 -07:00
  • 59bc0bb7c1 (cargo-release) start next development iteration 0.9.3-alpha.0 Dan Gohman 2021-06-17 12:04:00 -07:00
  • 2c6e353a8b (cargo-release) version 0.9.2 Dan Gohman 2021-06-17 12:03:40 -07:00
  • 6f16941c5a Document that linux_raw mode requires Rust nightly. Dan Gohman 2021-06-17 11:53:04 -07:00
  • d700a7ded7 More documentation updates. Dan Gohman 2021-06-17 11:51:05 -07:00
  • 31b6c01205 More documentation tidying. Dan Gohman 2021-06-17 11:38:10 -07:00
  • 8bac1a4a02 Tidy up the README.md. Dan Gohman 2021-06-17 11:26:35 -07:00
  • 1e6d8366c6 Update the README.md to mention aarch64. Dan Gohman 2021-06-17 11:22:14 -07:00
  • 433994222d Add a test for some basic file operations. Dan Gohman 2021-06-17 11:11:12 -07:00
  • a22e681bbb Add CI testing for aarch64. Dan Gohman 2021-06-17 10:56:17 -07:00
  • 15ffa6d2eb Implement Arg for Cow<CStr>, and add some tests. Dan Gohman 2021-06-17 10:46:40 -07:00
  • 46140a61e6 Reorganize the crate-level doc comment. Dan Gohman 2021-06-17 10:08:05 -07:00
  • 013b6b1f9f Simplify the linux_raw isatty implementation. Dan Gohman 2021-06-17 09:00:40 -07:00
  • 31190dfbee Add a comment. Dan Gohman 2021-06-17 08:58:51 -07:00
  • 0e13a8d0e6 (cargo-release) start next development iteration 0.9.1-alpha.0 Dan Gohman 2021-06-17 08:34:56 -07:00
  • dd7c96690b (cargo-release) version 0.9.0 Dan Gohman 2021-06-17 08:34:34 -07:00
  • 375e332143 Add a comment. Dan Gohman 2021-06-17 08:18:26 -07:00
  • 4ff6d374be Implement pipe/pipe2. Dan Gohman 2021-06-17 07:57:53 -07:00
  • 0b23782b98 Implement accept/accept4. Dan Gohman 2021-06-17 07:57:51 -07:00
  • 76593095cb Implement connect*. Dan Gohman 2021-06-17 07:57:50 -07:00
  • 3fddc8d189 Implement bind*. Dan Gohman 2021-06-17 07:57:48 -07:00
  • cbaf214ffd Implement shutdown and listen. Dan Gohman 2021-06-17 07:57:37 -07:00
  • eb704ad173 Implement socket. Dan Gohman 2021-06-17 07:57:35 -07:00
  • 2c215ff7a9 Implement ftruncate. Dan Gohman 2021-06-17 07:57:34 -07:00
  • 24d163218f Implement fstat. Dan Gohman 2021-06-17 07:57:32 -07:00
  • b4cda072dd Implement fcntl_dupfd_cloexec. Dan Gohman 2021-06-17 07:57:30 -07:00
  • c04ecaec2b Fix a stray comma. Dan Gohman 2021-06-17 07:57:29 -07:00
  • 8b808f3f6a Use __NR_fcntl64 on 32-bit Linux. Dan Gohman 2021-06-17 07:57:27 -07:00
  • 2c99882fe5 Implement fsync and fdatasync. Dan Gohman 2021-06-17 07:57:25 -07:00
  • 9ac7399af9 Rename linux_raw::lseek to linux_raw::seek, for consistency. Dan Gohman 2021-06-17 07:57:23 -07:00
  • 6bbfe3936c Implement ioctl_tiocgwinsz. Dan Gohman 2021-06-17 07:57:20 -07:00
  • f9c184fc2e Comment tidying. Dan Gohman 2021-06-17 07:57:11 -07:00
  • 9c239a5440 Implement getppid, geteuid, getegid. Dan Gohman 2021-06-16 21:54:50 -07:00
  • f70ab4d58d Mark the Linux userfaultfd implementation unsafe. Dan Gohman 2021-06-16 21:46:42 -07:00
  • e8e59bd961 Fix an unused import warning. Dan Gohman 2021-06-16 21:44:36 -07:00
  • 51b8886278 Fix a typo in a comment. Dan Gohman 2021-06-16 21:44:11 -07:00
  • 755abbff95 Add some doc comments. Dan Gohman 2021-06-16 21:07:42 -07:00
  • c4f381e3a7 Use BorrowedFd<'static> instead of ManuallyDrop in cwd. Dan Gohman 2021-06-16 18:18:40 -07:00
  • f0f11d23b1 Rename Errno to Error and use that as the error type. Dan Gohman 2021-06-16 17:05:26 -07:00
  • ec9fe2b923 Add a comment. Dan Gohman 2021-06-16 15:43:50 -07:00
  • 0c244417a6 Use Errno to avoid platform-specific code. Dan Gohman 2021-06-16 15:16:36 -07:00
  • 81829ee897 Add an Arg impl for Cow<str>. Dan Gohman 2021-06-16 15:05:50 -07:00
  • c1c0e39a75 Optimize path handling to eliminate some temporary allocations. Dan Gohman 2021-06-16 15:05:20 -07:00
  • 36e98ee849 Implement userfaultfd. Dan Gohman 2021-06-16 13:26:32 -07:00
  • 136a0101a7 Expose POLLRDHUP. Dan Gohman 2021-06-16 11:22:29 -07:00
  • d8343f37e4 Implement getrandom for Linux. Dan Gohman 2021-06-16 10:06:34 -07:00
  • 8fa96be576 Don't use try_into() for conditions which can never occur. Dan Gohman 2021-06-16 10:03:48 -07:00
  • ed92091ba8 (cargo-release) start next development iteration 0.8.5-alpha.0 Dan Gohman 2021-06-16 08:31:27 -07:00
  • 58f9f4bf14 (cargo-release) version 0.8.4 Dan Gohman 2021-06-16 08:31:05 -07:00
  • e5e93965c1 Tidy up formatting. Dan Gohman 2021-06-15 21:07:52 -07:00
  • f46115d821 Support preadv2/pwritev2, read/write, readv/writev, and send/recv. Dan Gohman 2021-06-15 21:05:09 -07:00