On Fri, Oct 31, 2008 at 9:14 PM, Jeff Dike <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 25, 2008 at 02:08:31AM +0300, Roman Yepishev wrote:
>> Temporary solution is to fix file declaration to be 108 or less bytes
>> but checks should be introduced when socket path is constructed.
>
> I don't really understand what you mean by checks being introduced,
> but how do you like the patch below?
>
>                        Jeff
>
> --
> Work email - jdike at linux dot intel dot com
>
[patch skipped]

Looks great, checked on i386 system - successfully builds and runs
with _FORTIFY_SOURCE.

By "checks" i meant the case when uml_dir  and/or  umid is too long to be used.
Currently the execution continues with a humble message

 NET: Registered protocol family 1
>umid_file_name : buffer too short
 Checking host MADV_REMOVE support...OK
 Host TLS support detected

I guess this case should be documented somehow as well.

-- 
Regards,
Roman Yepishev

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to