I am seeing missing inotify IN_ATTRIB events in the following situation:
1. touch foo
2. Make inotify watch foo
3. ln foo bar
-- Link count changed so I should have gotten an IN_ATTRIB.
4. rm foo
-- Link count changed so I should have gotten an IN_ATTRIB. (Or
IN_DELETE_SELF;
I don't
Wanna try the patch below?
With this patch I am seeing a endless stream of IN_IGNORED events
for a removed watch. I don't see a reason that user space should
ever see any IN_IGNORED, but an endless steam is not good.
Utterly unrelated, inotify does not work in /proc/. The list archives
This looks bad, though:
include/linux/fsnotify.h:121: warning: passing argument 2 of
'audit_inode_child' from incompatible pointer type
Missing -d_inode?
M.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info
inotify can't handle a given virtual
file.
I'm not sure signed-off-by if appropriate for me, but at least...
Acked-by: Morten Welinder [EMAIL PROTECTED]
Morten
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info
While we're at it, below is somewhat ugly sparse patch for detecting
0x typos.
Excellent idea, and there is something to be said about a low-footprint patch
like that. However, if you really want to capture this kind of bugs, you would
need to have some kind not a boolean or bitfield
I am seeing missing inotify IN_ATTRIB events in the following situation:
1. "touch foo"
2. Make inotify watch "foo"
3. "ln foo bar"
--> Link count changed so I should have gotten an IN_ATTRIB.
4. "rm foo"
--> Link count changed so I should have gotten an IN_ATTRIB. (Or
IN_DELETE_SELF;
> Wanna try the patch below?
With this patch I am seeing a endless stream of IN_IGNORED events
for a removed watch. I don't see a reason that user space should
ever see any IN_IGNORED, but an endless steam is not good.
Utterly unrelated, inotify does not work in /proc/. The list archives
> While we're at it, below is somewhat ugly sparse patch for detecting
> "&& 0x" typos.
Excellent idea, and there is something to be said about a low-footprint patch
like that. However, if you really want to capture this kind of bugs, you would
need to have some kind "not a boolean" or
This looks bad, though:
include/linux/fsnotify.h:121: warning: passing argument 2 of
'audit_inode_child' from incompatible pointer type
Missing "->d_inode"?
M.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo
S when inotify can't handle a given virtual
file.
I'm not sure "signed-off-by" if appropriate for me, but at least...
Acked-by: Morten Welinder <[EMAIL PROTECTED]>
Morten
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a m
10 matches
Mail list logo