diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-08-11 12:46:03 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-08-11 12:46:03 -0700 |
commit | 754f7da38b0904b4b989d3500cc8dd5be625cf6a (patch) | |
tree | 7fbeb551ab0f5f277037bec504b5e1d68e83b88c | |
parent | 10b3bedcb03386cc280113f552479793e4bac35f (diff) | |
download | glibc-754f7da38b0904b4b989d3500cc8dd5be625cf6a.zip glibc-754f7da38b0904b4b989d3500cc8dd5be625cf6a.tar.gz glibc-754f7da38b0904b4b989d3500cc8dd5be625cf6a.tar.bz2 |
Define IN_EXCL_UNLINK
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sys/inotify.h | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2010-08-11 Ulrich Drepper <drepper@redhat.com> + * 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 8b3a852..aee999a 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. */ |