Use v2 syscalls when appropriate

Submitted by Drew DeVault on March 21, 2019, 3:32 p.m.

Details

Reviewer None
Submitted March 21, 2019, 3:32 p.m.
Last Updated March 22, 2019, 2:33 a.m.
Revision 1

Cover Letter

Some architectures (notably RISC-V) don't support v1 syscalls at all.

Drew DeVault (3):
  mman/mlock: use mlock2 when appropriate
  stdio/rename: use renameat2 when appropriate
  unistd/renameat: use renameat2 when appropriate

 src/mman/mlock.c      | 4 ++++
 src/stdio/rename.c    | 6 ++++--
 src/unistd/renameat.c | 4 ++++
 3 files changed, 12 insertions(+), 2 deletions(-)
  

Revisions