about summary refs log tree commit diff
path: root/src/libstd/sys
AgeCommit message (Collapse)AuthorLines
2016-12-12Fix accidental removal of importJeremy Soller-0/+1
2016-12-12Rollback prefixJeremy Soller-3/+3
2016-11-30Cleanup envJeremy Soller-4/+5
2016-11-28Commit to fix make tidyJeremy Soller-44/+157
2016-11-28Remove file path from std::fs::FileJeremy Soller-4/+2
2016-11-28Move stdout/err flush into sysJeremy Soller-3/+25
2016-11-28Switch to using Prefix::VerbatimJeremy Soller-1/+1
2016-11-28Switch to using syscall crate directly - without importJeremy Soller-188/+171
2016-11-25Fix canonicalizeJeremy Soller-3/+2
2016-11-25Use O_DIRECTORYJeremy Soller-9/+12
2016-11-23Allow setting nonblock on socketsJeremy Soller-11/+16
2016-11-23Add File set_permissionsJeremy Soller-0/+4
2016-11-23Merge branch 'master' into redoxJeremy Soller-8/+58
2016-11-22Add a method for setting permissions directly on an open file.Steven Allen-0/+32
On unix like systems, the underlying file corresponding to any given path may change at any time. This function makes it possible to set the permissions of the a file corresponding to a `File` object even if its path changes.
2016-11-21Auto merge of #37677 - jsen-:master, r=alexcrichtonbors-8/+26
libstd: support creation of anonymous pipe on WinXP/2K3 `PIPE_REJECT_REMOTE_CLIENTS` flag is not supported on Windows < VISTA, and every invocation of `anon_pipe` including attempts to pipe `std::process::Child`'s stdio fails. This PR should work around this issue by performing a runtime check of windows version and conditionally omitting this flag on "XP and friends". Getting the version should be probably moved out of the function `anon_pipe` itself (the OS version does not often change during runtime :) ), but: - I didn't find any precedent for this and assuming there's not much overhead (I hope windows does not perform any heuristics to find out it's own version, just fills couple of fields in the struct). - the code path is not especially performance sensitive anyway.
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