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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to