git: add unlinkat(2) system call

Nicolas Thery nth at crater.dragonflybsd.org
Tue Aug 18 13:27:06 PDT 2009


commit 3a6d8629056d17a471930c8e729995714d62cf80
Author: Nicolas Thery <nthery at gmail.com>
Date:   Tue Aug 18 21:27:32 2009 +0200

    add unlinkat(2) system call
    
    Also add libc_r wrapper and man page.

Summary of changes:
 include/unistd.h                      |    1 +
 lib/libc/sys/Makefile.inc             |    3 +-
 lib/libc/sys/rmdir.2                  |    5 +-
 lib/libc/sys/unlink.2                 |    5 +-
 lib/libc/sys/unlinkat.2               |  113 +++++++++++++++++++++++++++++++++
 lib/libc_r/uthread/Makefile.inc       |    1 +
 lib/libc_r/uthread/uthread_unlinkat.c |   51 +++++++++++++++
 sys/kern/init_sysent.c                |    1 +
 sys/kern/syscalls.c                   |    1 +
 sys/kern/syscalls.master              |    1 +
 sys/kern/vfs_syscalls.c               |   27 ++++++++
 sys/sys/fcntl.h                       |    1 +
 sys/sys/syscall-hide.h                |    1 +
 sys/sys/syscall.h                     |    3 +-
 sys/sys/syscall.mk                    |    3 +-
 sys/sys/sysproto.h                    |    9 +++
 sys/sys/sysunion.h                    |    1 +
 17 files changed, 220 insertions(+), 7 deletions(-)
 create mode 100644 lib/libc/sys/unlinkat.2
 create mode 100644 lib/libc_r/uthread/uthread_unlinkat.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3a6d8629056d17a471930c8e729995714d62cf80


-- 
DragonFly BSD source repository





More information about the Commits mailing list