lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <7F5112DD-6998-47D3-B6B9-5618E14E022A@holtmann.org>
Date:	Wed, 11 Mar 2015 08:12:52 -0700
From:	Marcel Holtmann <marcel@...tmann.org>
To:	Matt Fleming <matt@...eblueprint.co.uk>
Cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	linux-efi@...r.kernel.org,
	Matthew Garrett <matthew.garrett@...ula.com>,
	Jeremy Kerr <jk@...abs.org>,
	Matt Fleming <matt.fleming@...el.com>,
	Al Viro <viro@...IV.linux.org.uk>
Subject: Re: efivarfs and writev() support

Hi Matt,

>> it seems that efivarfs only supports readv(), but when it comes to
>> writev(), I am getting an error. Is there any reason to not support
>> vectored write on this filesystem? Especially with the uint32 header
>> for each file, I think it would make perfect sense to support it.
> 
> What error are you seeing? I thought that the vfs fell back to a looped
> write if the file system doesn't support .write_iter()?

that seems to work for readv(), but not for writev().

> But yes, we definitely should support writev().

I just get an EIO error and have not traced this down any further.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ