Revision d261154057c27f6c1d256b6198b0ad08733f1758 authored by Ian Abbott on 19 May 2010, 16:22:41 UTC, committed by Greg Kroah-Hartman on 04 June 2010, 20:38:53 UTC
For write(), any data copied to the data buffer after the previously set up streaming acquisition command has finished won't be used, but a non-empty write() does not currently return 0 (or -EPIPE on error) after the command has finished until the data buffer has been filled up. Change this behavior to return 0 (or -EPIPE) any time after the command has finished, without bothering to fill up the buffer with more useless data. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent ee4063f
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 442 bytes |
Makefile | -rw-r--r-- | 326 bytes |
netlabel_addrlist.c | -rw-r--r-- | 10.4 KB |
netlabel_addrlist.h | -rw-r--r-- | 6.3 KB |
netlabel_cipso_v4.c | -rw-r--r-- | 21.3 KB |
netlabel_cipso_v4.h | -rw-r--r-- | 4.8 KB |
netlabel_domainhash.c | -rw-r--r-- | 21.0 KB |
netlabel_domainhash.h | -rw-r--r-- | 3.4 KB |
netlabel_kapi.c | -rw-r--r-- | 28.2 KB |
netlabel_mgmt.c | -rw-r--r-- | 20.1 KB |
netlabel_mgmt.h | -rw-r--r-- | 6.3 KB |
netlabel_unlabeled.c | -rw-r--r-- | 43.3 KB |
netlabel_unlabeled.h | -rw-r--r-- | 7.0 KB |
netlabel_user.c | -rw-r--r-- | 3.1 KB |
netlabel_user.h | -rw-r--r-- | 1.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...