about summary refs log tree commit diff
path: root/src/libstd/sys
AgeCommit message (Collapse)AuthorLines
2016-11-20support creation of anonymous pipe on WinXP/2K3jsen--8/+26
2016-11-17Replace setuid, setgid with setreuid, setregidJeremy Soller-2/+2
2016-11-17Add signal support, better exec error handlingJeremy Soller-34/+80
2016-11-15Use chmod instead of fcntl to change file permsJeremy Soller-4/+1
2016-11-15Add set_permJeremy Soller-4/+7
2016-11-14Simple implementation of read2Jeremy Soller-10/+13
2016-11-14Add current_exe supportJeremy Soller-2/+12
2016-11-14Fix redox prefix handlingJeremy Soller-2/+10
2016-11-14Add fcntlJeremy Soller-5/+11
2016-11-10Merge branch 'master' into redoxJeremy Soller-9/+21
2016-11-10Use target_os = redox for cfgJeremy Soller-1/+1
2016-11-10Fix readdirJeremy Soller-7/+11
2016-11-10Fixes for stdio and processes on RedoxJeremy Soller-4/+29
2016-11-09Fix execJeremy Soller-56/+10
2016-11-10doc: fix typosTshepang Lekhonkhobe-1/+1
2016-11-04std: Track change to cprng syscall signature (Fuchsia)Raph Levien-8/+20
The mx_cprng_draw syscall has changed signature to separate the status and size return values, rather than multiplexing them into a single value with errors interpreted as a negative value. This patch tracks that change.
2016-11-03Update to new sys requirementsJeremy Soller-0/+123
2016-11-03Merge branch 'master' into redoxJeremy Soller-3966/+247
2016-11-01Document sys_common and sysBrian Anderson-0/+22
2016-11-01std: Move sys_common to libstd/sys_commonBrian Anderson-3928/+0
Make the directory structure reflect the module structure. I've always found the existing structure confusing.
2016-11-01std: Move platform-specific out of sys_common::utilBrian Anderson-27/+26
2016-11-01std: Move platform-specific code out of libstd/lib.rsBrian Anderson-3/+22
2016-11-01std: Move a plattform-specific constant to sys::stdioBrian Anderson-0/+8
2016-11-01std: Move elf TLS to sys::fast_thread_localBrian Anderson-0/+168
2016-10-31Merge branch 'master' of https://github.com/rust-lang/rust into redoxJeremy Soller-1/+53
2016-10-30Fix for thread localsJeremy Soller-15/+24
2016-10-30Implement TLS scoped keys, compiler builtinsJeremy Soller-2/+2
2016-10-30Implement threadJeremy Soller-14/+12
2016-10-29Implement rand and args, cleanup other modulesJeremy Soller-74/+29
2016-10-29Implement env, reentrant mutex, and partially implement scoped thread ↵Jeremy Soller-49/+174
locals. Better error messages for unsupported features
2016-10-28Auto merge of #37385 - raphlinus:fuchsia_random, r=alexcrichtonbors-1/+53
Add support for kernel randomness for Fuchsia Wire up cprng syscall as provider for rand::os::OsRng on Fuchsia.
2016-10-28Remove unsafe libc layerJeremy Soller-637/+183
2016-10-27Add redox systemJeremy Soller-1/+4304
2016-10-24Add support for kernel randomness for FuchsiaRaph Levien-1/+53
Wire up cprng syscall as provider for rand::os::OsRng on Fuchsia.
2016-10-22Fix tidy warningRaph Levien-1/+1
Prefer FIXME to TODO
2016-10-22Fix missing DirEntryExt::inoRaph Levien-2/+2
The DirEntryExt::ino() implementation was omitted from the first iteration of this patch, because a dependency needed to be configured. The fix is straightforward enough.
2016-10-22Add Fuchsia supportRaph Levien-5/+30
Adds support for the x86_64-unknown-fuchsia target, which covers the Fuchsia operating system.
2016-10-16impl Debug for ReadDirDavid Henningsson-0/+16
It is good practice to implement Debug for public types, and indicating what directory you're reading seems useful. Signed-off-by: David Henningsson <diwic@ubuntu.com>
2016-10-14Auto merge of #35704 - tbu-:pr_pread_pwrite, r=alexcrichtonbors-7/+250
Implement `read_offset` and `write_offset` These functions allow to read from and write to a file from multiple threads without changing the per-file cursor, avoiding the race between the seek and the read.
2016-10-14Android: Fix unused-imports warningTobias Bucher-1/+2
2016-10-14Only use Android fallback for {ftruncate,pread,pwrite} on 32 bitTobias Bucher-0/+24
2016-10-12Rollup merge of #36995 - nrc:stable, r=@nikomatsakisAlex Crichton-3/+2
stabilise ?, attributes on stmts, deprecate Reflect r? @nikomatsakis
2016-10-12Remove unnecessary `unsafe` blockTobias Bucher-20/+16
2016-10-12Deprecate `Reflect`Nick Cameron-3/+2
[tracking issue](https://github.com/rust-lang/rust/issues/27749)
2016-10-11Fix Android compilation `io::Error` -> `io::ErrorKind`Tobias Bucher-2/+2
2016-10-09use MSG_NOSIGNAL on all relevant platformsMathieu Poumeyrol-6/+18
2016-10-09Use `try_into` and move some functionsTobias Bucher-29/+37
2016-10-09Dynamically detect presence of `p{read,write}64` on AndroidTobias Bucher-23/+68
2016-10-09Implement reading and writing atomically at certain offsetsTobias Bucher-1/+170
These functions allow to read from and write to a file in one atomic action from multiple threads, avoiding the race between the seek and the read. The functions are named `{read,write}_at` on non-Windows (which don't change the file cursor), and `seek_{read,write}` on Windows (which change the file cursor).
2016-10-08Use less `size_t` casts in libstd since it's now defined as `usize`Tobias Bucher-37/+31