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

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

Log:
  Add several fcntl flags.

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

Modified: user/dchagin/lemul/sys/compat/linux/linux_file.h
==============================================================================
--- user/dchagin/lemul/sys/compat/linux/linux_file.h	Thu May  1 14:02:47 2014	(r265187)
+++ user/dchagin/lemul/sys/compat/linux/linux_file.h	Thu May  1 14:04:33 2014	(r265188)
@@ -87,6 +87,30 @@
 #define	LINUX_F_SETLKW		7
 #define	LINUX_F_SETOWN		8
 #define	LINUX_F_GETOWN		9
+#define	LINUX_F_SETSIG		10
+#define	LINUX_F_GETSIG		11
+
+#define	LINUX_F_SETOWN_EX	15
+#define	LINUX_F_GETOWN_EX	16
+#define	LINUX_F_GETOWNER_UIDS	17
+
+#define	LINUX_F_SPECIFIC_BASE	1024
+
+#define	LINUX_F_SETLEASE	(LINUX_F_SPECIFIC_BASE + 0)
+#define	LINUX_F_GETLEASE	(LINUX_F_SPECIFIC_BASE + 1)
+#define	LINUX_F_CANCELLK	(LINUX_F_SPECIFIC_BASE + 5)
+#define	LINUX_F_DUPFD_CLOEXEC	(LINUX_F_SPECIFIC_BASE + 6)
+#define	LINUX_F_NOTIFY		(LINUX_F_SPECIFIC_BASE + 2)
+#define	LINUX_F_SETPIPE_SZ	(LINUX_F_SPECIFIC_BASE + 7)
+#define	LINUX_F_GETPIPE_SZ	(LINUX_F_SPECIFIC_BASE + 8)
+
+#define	LINUX_F_GETLKP		36
+#define	LINUX_F_SETLKP		37
+#define	LINUX_F_SETLKPW		38
+
+#define	LINUX_F_OWNER_TID	0
+#define	LINUX_F_OWNER_PID	1
+#define	LINUX_F_OWNER_PGRP	2
 
 #define	LINUX_F_RDLCK		0
 #define	LINUX_F_WRLCK		1



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