svn commit: r283439 - head/sys/compat/linux
Dmitry Chagin
dchagin at FreeBSD.org
Sun May 24 16:34:58 UTC 2015
Author: dchagin
Date: Sun May 24 16:34:57 2015
New Revision: 283439
URL: https://svnweb.freebsd.org/changeset/base/283439
Log:
Implement F_DUPFD_CLOEXEC fcntl flag.
Differential Revision: https://reviews.freebsd.org/D1089
Reviewed by: trasz
Modified:
head/sys/compat/linux/linux_file.c
Modified: head/sys/compat/linux/linux_file.c
==============================================================================
--- head/sys/compat/linux/linux_file.c Sun May 24 16:32:52 2015 (r283438)
+++ head/sys/compat/linux/linux_file.c Sun May 24 16:34:57 2015 (r283439)
@@ -1390,6 +1390,9 @@ fcntl_common(struct thread *td, struct l
fdrop(fp, td);
return (kern_fcntl(td, args->fd, F_SETOWN, args->arg));
+
+ case LINUX_F_DUPFD_CLOEXEC:
+ return (kern_fcntl(td, args->fd, F_DUPFD_CLOEXEC, args->arg));
}
return (EINVAL);
More information about the svn-src-head
mailing list