]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/fcntl.h
lguest: the guest code
[karo-tx-linux.git] / include / linux / fcntl.h
index 8a7c82151de96388fd53c7f06296783bd247b14d..40b93265d4bae5240896a2c3eaac75fb2577ca76 100644 (file)
@@ -3,6 +3,10 @@
 
 #include <asm/fcntl.h>
 
+/* Cancel a blocking posix lock; internal use only until we expose an
+ * asynchronous lock api to userspace: */
+#define F_CANCELLK     (F_LINUX_SPECIFIC_BASE+5)
+
 #define F_SETLEASE     (F_LINUX_SPECIFIC_BASE+0)
 #define F_GETLEASE     (F_LINUX_SPECIFIC_BASE+1)
 
 #define DN_ATTRIB      0x00000020      /* File changed attibutes */
 #define DN_MULTISHOT   0x80000000      /* Don't remove notifier */
 
+#define AT_FDCWD               -100    /* Special value used to indicate
+                                           openat should use the current
+                                           working directory. */
+#define AT_SYMLINK_NOFOLLOW    0x100   /* Do not follow symbolic links.  */
+#define AT_REMOVEDIR           0x200   /* Remove directory instead of
+                                           unlinking file.  */
+#define AT_SYMLINK_FOLLOW      0x400   /* Follow symbolic links.  */
+
 #ifdef __KERNEL__
 
 #ifndef force_o_largefile