[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI |
Date: |
Thu, 26 Jan 2012 10:27:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
Am 26.01.2012 10:18, schrieb ronnie sahlberg:
> Kevin,
>
> Collissions are bad, but what about
>
> IF ! STRNCMP (filename, "/proc/self/fd/", 14) THEN
> fopen(filename, "r")
> ELSE
> fdopen(atoi(filename+14), "r")
> FI
>
> modulo better validation for the atio() arguments.
>
>
> Probability of anyone using "/proc/self/fd/" as a prefix for normal
> files is very small.
> Small enough it will be justifiable to say "do that and you are on your own".
> ?
Interesting idea. Maybe that could work.
Kevin
- [Qemu-devel] [PATCH] Add configuration variables for iscsi, Ronnie Sahlberg, 2012/01/21
- [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI, Ronnie Sahlberg, 2012/01/21
- Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI, Eric Blake, 2012/01/23
- Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI, ronnie sahlberg, 2012/01/25
- Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI, Eric Blake, 2012/01/25
- Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI, ronnie sahlberg, 2012/01/25
- Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI, Kevin Wolf, 2012/01/26
- Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI, ronnie sahlberg, 2012/01/26
- Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI,
Kevin Wolf <=
- Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI, ronnie sahlberg, 2012/01/26
- Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI, Michael Tokarev, 2012/01/26
- Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI, Michael Tokarev, 2012/01/26
- Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI, Daniel P. Berrange, 2012/01/26
- Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI, Michael Tokarev, 2012/01/26