From: Ulrich Drepper Date: Wed, 11 Aug 2010 19:46:03 +0000 (-0700) Subject: Define IN_EXCL_UNLINK X-Git-Tag: glibc-2.13~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=754f7da38b0904b4b989d3500cc8dd5be625cf6a;p=thirdparty%2Fglibc.git Define IN_EXCL_UNLINK --- diff --git a/ChangeLog b/ChangeLog index f5a1a622c99..1d12009935f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2010-08-11 Ulrich Drepper + * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define. + * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add sys/fanotify.h. * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and diff --git a/sysdeps/unix/sysv/linux/sys/inotify.h b/sysdeps/unix/sysv/linux/sys/inotify.h index 8b3a85280f5..aee999afa8a 100644 --- a/sysdeps/unix/sysv/linux/sys/inotify.h +++ b/sysdeps/unix/sysv/linux/sys/inotify.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2005, 2006, 2008, 2009 Free Software Foundation, Inc. +/* Copyright (C) 2005, 2006, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -72,6 +72,8 @@ struct inotify_event #define IN_ONLYDIR 0x01000000 /* Only watch the path if it is a directory. */ #define IN_DONT_FOLLOW 0x02000000 /* Do not follow a sym link. */ +#define IN_EXCL_UNLINK 0x04000000 /* Exclude events on unlinked + objects. */ #define IN_MASK_ADD 0x20000000 /* Add to the mask of an already existing watch. */ #define IN_ISDIR 0x40000000 /* Event occurred against dir. */