Date: Sat, 9 Jan 2016 16:33:55 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r293543 - stable/10/sys/compat/linux Message-ID: <201601091633.u09GXtZp041590@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601091633.u09GXtZp041590>