Age | Commit message (Collapse) | Author |
|
Update CHANGELOD.md to include CLONE_NEWCGROUP
Add note about CLONE_NEWCGROUP from pull request #457 to CHANGELOG.md.
Signed-off-by: Dylan Reid <dgreid@chromium.org>
|
|
Add note about CLONE_NEWCGROUP from pull request #457 to CHANGELOG.md.
Signed-off-by: Dylan Reid <dgreid@chromium.org>
|
|
Added tcgetpgrp and tcsetpgrp
I added the tcgetpgrp and tcsetpgrp functions. I'm not sure if I did everything right so please tell me if I need to change anything.
|
|
|
|
|
|
|
|
|
|
Add CLONE_NEWCGROUP
This is a new option to clone added earlier this year. It was already added to rust/libc.
|
|
|
|
Additional documentation additions
This is a second round of doc additions. There are also some funcitonal changes to APIs for getting/setting hostname that need to be reviewed.
r? @nix-rust/nix-maintainers
|
|
These make the language consistent in the 3rd person, fix a few
minor mistakes, and remove some superflous prose.
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Bump minimum supported version of Rust
Many crates are coalescing around 1.9.0 with the stabilization of `std::panic`,
and it helps remove the build script w/ rustc version parsing for now as well.
|
|
|
|
The script checked for rustc >= 1.6.0, but the minimum supported version for
this crate is now 1.7.0
|
|
Asomers kevent
This is a rebase of @asomers work on master to resolve a merge conflict so we can get things merged up.
|
|
|
|
|
|
The previous one was entirely too generic.
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Documentation improvements
This series of commits starts to fill in documentation that was not previously present for various calls, mostly in unistd for this pass.
r? @kamalmarhubi
|
|
|
|
add getpgid call
Add a `getpgid` function to nix.
Argument is required, either pass in `None` or `Some(pid_t)`. It should have the same behavior
as the `libc` one.
|
|
|
|
|
|
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
This is a logical companion to setpgid, so adding an implementation.
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <paul.osborne@smartthings.com>
|
|
Add setresuid and setresgid
These were both recently added to libc, add wrappers.
Signed-off-by: Dylan Reid <dgreid@chromium.org>
|
|
These were both recently added to libc, add wrappers.
Signed-off-by: Dylan Reid <dgreid@chromium.org>
---
Changes since v2:
Updated function comments and CHANGELOG
Changes since v1:
Add function comments, update CHANGELOG
|
|
mount: Run test_mount_bind in CI
Looks like Travis allows bind mounts in their container infra now.
|
|
Looks like Travis allows bind mounts in their container infra now.
|
|
use tempfile in test_pwrite
Use tempfile in test_pwrite so as not to pollute the source directory.
|
|
ci: drop official support for rustc < 1.7.0
Supporting older versions of rust is causing CI to fail and is
a somewhat constant support burden with questionable value. 1.7.0
is the oldest I have seen that people have had a requirement on
supporting in recent history.
It may make sense to work toward a more official policy on
what version of rust we will support in the future. Users of
older version of rust are, of course, welcome to use older versions
of nix and everything else in the ecosystem.
r? @kamalmarhubi @fiveop
|
|
Also, changed author from Carl to being more broad (as we have
many contributors and maintainers now). This matches what is
used for crates in the rust-lang org.
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Supporting older verisons of rust is causing CI to fail and is
a somewhat constant support burden with questionable value. 1.7.0
is the oldest I have seen that people have had a requirement on
supporting in recent history.
It may make sense to work toward a more official policy on
what version of rust we will support in the future. Users of
older version of rust are, of course, welcome to use older versions
of nix and everything else in the ecosystem.
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
|
|
|
|
Move kqueue-related definitions from nix to libc
|
|
|
|
|
|
|
|
Don't use it for FilterFlag, because it triggers recursion limit reached error
|