DragonFly commits List (threaded) for 2013-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel: Add three new commands to fctnl
commit a2988f1b83fa9cb2f86aec6ae08e5df76f0bf8ec
Author: John Marino <draco@marino.st>
Date: Wed Jun 12 21:42:21 2013 +0200
kernel: Add three new commands to fctnl
This commit adds the following new commands to fcntl():
F_DUP2FD - non-portable functional equivalent of dup2(fd, arg)
F_DUPFD_CLOEXEC - A version of F_DUPFD that sets the close-on-exec
on the new file descriptor
F_DUP2FD_CLOEXEC - A version of F_DUP2FD that sets the close-on-exec
on the new file descriptor. It is non-portable
It also adds a missing break in a case statement for F_GETOWN in
sys_fnctl(), spotted by dillon.
reviewed-by: dillon
Summary of changes:
lib/libc/sys/fcntl.2 | 148 ++++++++++++++++++++++++++++++++++++++----------
sys/kern/kern_descrip.c | 49 ++++++++++++----
sys/sys/fcntl.h | 9 ++-
sys/sys/kern_syscall.h | 6 +-
4 files changed, 168 insertions(+), 44 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a2988f1b83fa9cb2f86aec6ae08e5df76f0bf8ec
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]