svn commit: r293543 - stable/10/sys/compat/linux
Dmitry Chagin
dchagin at FreeBSD.org
Sat Jan 9 16:33:56 UTC 2016
Author: dchagin
Date: Sat Jan 9 16:33:55 2016
New Revision: 293543
URL: https://svnweb.freebsd.org/changeset/base/293543
Log:
MFC r283439:
Implement F_DUPFD_CLOEXEC fcntl flag.
Modified:
stable/10/sys/compat/linux/linux_file.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/compat/linux/linux_file.c
==============================================================================
--- stable/10/sys/compat/linux/linux_file.c Sat Jan 9 16:32:35 2016 (r293542)
+++ stable/10/sys/compat/linux/linux_file.c Sat Jan 9 16:33:55 2016 (r293543)
@@ -1384,6 +1384,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-stable
mailing list