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>
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.
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.
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.
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
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>