• Al Viro's avatar
    pcm: another weird API abuse · 1c65d986
    Al Viro authored
    readv() and writev() should _not_ ignore all but the first ->iov_len,
    among other things.  Really weird abuse of those syscalls - it
    expects a vector element per channel, with identical lengths (it
    actually assumes them to be identical - no checking is done).
    readv() and writev() are really bad match for that.  Unfortunately,
    userland API is userland API and we can't do anything about them.
    
    Converted to ->read_iter/->write_iter.  Please, _please_ don't do
    anything of that kind when designing new interfaces.
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    1c65d986
Name
Last commit
Last update
..
aoa Loading commit data...
arm Loading commit data...
atmel Loading commit data...
core Loading commit data...
drivers Loading commit data...
firewire Loading commit data...
i2c Loading commit data...
isa Loading commit data...
mips Loading commit data...
oss Loading commit data...
parisc Loading commit data...
pci Loading commit data...
pcmcia Loading commit data...
ppc Loading commit data...
sh Loading commit data...
soc Loading commit data...
sparc Loading commit data...
spi Loading commit data...
synth Loading commit data...
usb Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
ac97_bus.c Loading commit data...
last.c Loading commit data...
sound_core.c Loading commit data...
sound_firmware.c Loading commit data...