Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 May 2015 16:34:58 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283439 - head/sys/compat/linux
Message-ID:  <201505241634.t4OGYw3q089665@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



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