* Tue Mar 21 2006 Dan Walsh <dwalsh@redhat.com> 1.30.1-3
- Add IN_MOVED_TO to catch renames
This commit is contained in:
parent
d2dcf94c17
commit
bfeea6217e
@ -507,7 +507,7 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/restorecond/restorecond.
|
|||||||
+ ptr=calloc(1, sizeof(struct watchList));
|
+ ptr=calloc(1, sizeof(struct watchList));
|
||||||
+
|
+
|
||||||
+ if (!ptr) exitApp("Out of Memory");
|
+ if (!ptr) exitApp("Out of Memory");
|
||||||
+ ptr->wd=inotify_add_watch (fd, dir, IN_CREATE);
|
+ ptr->wd=inotify_add_watch (fd, dir, IN_CREATE | IN_MOVED_TO );
|
||||||
+
|
+
|
||||||
+ ptr->dir=strdup(dir);
|
+ ptr->dir=strdup(dir);
|
||||||
+ if (!ptr->dir) exitApp("Out of Memory");
|
+ if (!ptr->dir) exitApp("Out of Memory");
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
Summary: SELinux policy core utilities.
|
Summary: SELinux policy core utilities.
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 1.30.1
|
Version: 1.30.1
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
|
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
|
||||||
@ -107,6 +107,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
service restorecond condrestart
|
service restorecond condrestart
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 21 2006 Dan Walsh <dwalsh@redhat.com> 1.30.1-3
|
||||||
|
- Add IN_MOVED_TO to catch renames
|
||||||
|
|
||||||
* Tue Mar 21 2006 Dan Walsh <dwalsh@redhat.com> 1.30.1-2
|
* Tue Mar 21 2006 Dan Walsh <dwalsh@redhat.com> 1.30.1-2
|
||||||
- make restorecond only ignore non directories with lnk > 1
|
- make restorecond only ignore non directories with lnk > 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user