Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-06 | Add sigprocmask | Thomas de Zeeuw | |
2017-12-20 | Replace boolean match with if/else | Bryant Mairs | |
2017-12-20 | Don't clone Copy types | Bryant Mairs | |
2017-12-20 | Remove redundant closure | Bryant Mairs | |
2017-12-20 | Use backticks around types/functions in docs | Bryant Mairs | |
2017-12-20 | Dereference in match head instead | Bryant Mairs | |
2017-12-04 | Stop reexporting `Errno` and its variants | Jonas Schievink | |
cc #664 (unsure if this is everything needed) | |||
2017-12-02 | Upgrade to Bitflags 1.0 | Bryant Mairs | |
The libc_bitflags! macro was replaced with a non-recursive one supporting only public structs. I could not figure out how to make the old macro work with the upgrade, so I reworked part of the bitflags! macro directly to suit our needs, much as the original recursive macro was made. There are no uses of this macro for non-public structs, so this is not a problem for internal code. | |||
2017-11-11 | Alphabetize some target_os configurations | Wolfgang Ginolas | |
2017-11-05 | Use libc_enum! where possible | Wolfgang Ginolas | |
Some enums which use different names for values than libc still set the discriminators manually. closes #254 | |||
2017-10-08 | Replace most Linux man page links with Open Group man page links | Alan Somers | |
But leave in place Linux links for non-standard functions. Also, add brief docs for some functions that were lacking them. | |||
2017-08-17 | Merge #725 | bors[bot] | |
725: Match syntax of libc_bitflags! with bitflags! r=asomers Also update a couple of constant declarations while we're at it. | |||
2017-08-16 | Match libc_bitflags! syntax to upstream bitflags! | Bryant Mairs | |
2017-08-11 | Get rid of a lot of transmutes | Jonas Schievink | |
Most could be replaced by simple raw pointer casts (or even perfectly safe coercions!). cc #373 | |||
2017-08-05 | Add OpenBSD compatibility to signals | Wesley Moore | |
2017-07-19 | Remove c_int and c_void from root | Bryant Mairs | |
These were exported for some weird reason and then left in for documentation. Also some parts of certain modules used them and others used the libc:: prefix. This was removed to improve the docs and also code consistency | |||
2017-07-08 | SIGSTKFLT doesn't exist on Linux/GNU/mips(64) | Bryant Mairs | |
2017-07-04 | Allow nix to compile on android targets | roblabla | |
2017-07-02 | Newtypes for uid_t, gid_t and pid_t. | Martin Habovštiak | |
2017-06-01 | Add SigAction getters | Henning Ottesen | |
* SigAction::flags() * SigAction::mask() * SigAction::handler() | |||
2017-02-27 | Auto merge of #506 - asomers:aio3, r=posborne | Homu | |
Improve AIO API - Turn most `aio_*` functions into `AioCb` methods - Add runtime checks to `AioCb` methods - Implement `Drop` for `AioCb` | |||
2017-02-25 | Remove EPOLLWAKEUP and SIGEV_THREAD_ID when cross-compiling to MIPS. | Johan Anderholm | |
2017-02-24 | impl Debug for AioCb and SigevNotify | Alan Somers | |
Also, fix style bug in AIO tests | |||
2017-02-23 | Auto merge of #503 - Idolf:bitflags, r=kamalmarhubi | Homu | |
Fix the style for bitflags! Prefer `libc_bitflags!` over `bitflags!`. Prefer `libc::CONSTANTS` over writing the constant manually. This makes #501 unnecessary, since upstream now contains the `O_TMPFILE` constant. | |||
2017-02-23 | Auto merge of #513 - yxd-hde:fix-musl, r=posborne | Homu | |
Fix unresolved name error when building with musl. See: https://git.musl-libc.org/cgit/musl/tree/src/time/timer_create.c#n126 | |||
2017-02-19 | Fix the style for bitflags! | Mathias Svensson | |
Prefer libc_bitflags! over bitflags!. Prefer libc::CONSTANTS over writing the constant manually. | |||
2017-02-16 | Update bitflags to 0.7 | Simon Sapin | |
2017-02-16 | Fix unresolved name error when building with musl. | YANG Xudong | |
2016-12-16 | Add POSIX AIO support | Alan Somers | |
POSIX AIO is a standard for asynchronous file I/O. Read, write, and fsync operations can all take place in the background, with completion notification delivered by a signal, by a new thread, by kqueue, or not at all. This commit supports all standard AIO functions. However, lio_listio is disabled on macos because it doesn't seem to work, even though the syscall is present. The SigEvent class, used for AIO notifications among other things, is also added. Also, impl AsRef for TimeVal and TimeSpec | |||
2016-11-15 | Auto merge of #460 - chaosagent:sys_signal, r=fiveop | Homu | |
Change SigFlags into an enum. Addresses #459. This is a breaking change. Should SigFlags be renamed to something more sensible? | |||
2016-11-14 | Make signal argument to kill optional | Philipp Matthias Schaefer | |
2016-11-08 | Rename SigFlags to SigmaskHow | David Hou | |
2016-11-06 | Add some tests for sys::signal. | David Hou | |
2016-11-06 | Change SigFlags into an enum. | David Hou | |
2016-10-31 | Remove `rustc-version` dependency and build script | Alex Crichton | |
The script checked for rustc >= 1.6.0, but the minimum supported version for this crate is now 1.7.0 | |||
2016-09-17 | Removes SIGSTKFLT when cross-compiling to MIPS. | Tim Ryan | |
2016-07-18 | Fix NetBSD build | Tobias Bucher | |
2016-06-26 | Convert signal constants to enumeration. | Philipp Matthias Schaefer | |
2016-05-06 | Add missing signals. | Philipp Matthias Schaefer | |
2016-04-22 | Add SigSet::extend and SigSet::clear. | Philipp Matthias Schaefer | |
2016-04-02 | Fix raw_pointer_derive warning | Kamal Marhubi | |
This commit adds a small build script to detect if we need to `#[allow(raw_pointer_derive)]` and makes the attribute conditional. Refs #337 | |||
2016-03-13 | Rename flags to conform to conventions. | Philipp Matthias Schaefer | |
Resolves #290. | |||
2016-03-11 | Use sigwait function from libc instead of own ffi function. | Philipp Matthias Schaefer | |
2016-03-08 | tests: Disable test_sigwait on apple platforms | Kamal Marhubi | |
After #292 was merged, this flakiness remained. I observe it only on Darwin, hence the targetted disabling until there's been more investigation. | |||
2016-02-29 | Rename HowFlags to SigFlags and SockFlags to SaFlags for consistency. | Philipp Matthias Schaefer | |
2016-02-28 | Do not import libc structs directly. | Philipp Matthias Schaefer | |
That allows us to import sigaction on older rust versions. | |||
2016-02-28 | Use libc extern function exports in sys/signal.rs. | Philipp Matthias Schaefer | |
2016-02-28 | Use libc structs in sys/signal.rs. | Philipp Matthias Schaefer | |
2016-02-28 | Use libc constants in sys/signal.rs. | Philipp Matthias Schaefer | |
2016-02-27 | Add sigwait | Zhe Wang | |