Ah, I already sent v2 before reading this.
On Mon 24-02-14 13:10:04, [email protected] wrote:
> > Test whether overflow event is properly generated when we don't read
> > fanotify descriptor and generate enough events.
>
> Missing runtest and .gitignore changes as well.
Fixed in v2.
> > + for (i = 0; i < MAX_EVENTS + 1; i++) {
> > + sprintf(fname, "fname_%d", i);
> > + fd = SAFE_OPEN(cleanup, fname, O_RDWR | O_CREAT, 0644);
> > + SAFE_CLOSE(cleanup, fd);
>
> SAFE_FILE_TOUCH(cleanup, fname, 0, NULL)
I was considering this but since I really want syscall to be open() I
thought using SAFE_OPEN directly is more future-proof in case someone would
like to do some tricks with SAFE_FILE_TOUCH(). And we won't really save
much with using SAFE_FILE_TOUCH()...
The rest is already fixed in v2.
Honza
--
Jan Kara <[email protected]>
SUSE Labs, CR
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list