Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2014 14:05:37 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r265189 - user/dchagin/lemul/sys/compat/linux
Message-ID:  <201405011405.s41E5b9R074518@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dchagin
Date: Thu May  1 14:05:36 2014
New Revision: 265189
URL: http://svnweb.freebsd.org/changeset/base/265189

Log:
  Implement F_DUPFD_CLOEXEC fcntl flag.

Modified:
  user/dchagin/lemul/sys/compat/linux/linux_file.c

Modified: user/dchagin/lemul/sys/compat/linux/linux_file.c
==============================================================================
--- user/dchagin/lemul/sys/compat/linux/linux_file.c	Thu May  1 14:04:33 2014	(r265188)
+++ user/dchagin/lemul/sys/compat/linux/linux_file.c	Thu May  1 14:05:36 2014	(r265189)
@@ -1409,6 +1409,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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405011405.s41E5b9R074518>