Re: Menu locks / password authentication

2009-03-09 Thread phcoder
Michał Radomski wrote: On Mon, Mar 09, 2009 at 11:57:40AM +0100, phcoder wrote: I would recommend using other hashes that md5 (e.g. whirlpool or sha-2) because it's been depreceated I chose md5 because it is in grub2 wiki (see command list) It is not a problem to add sha-2 or whirlpool. gr

[PATCH] Put multiboot module after the kernel

2009-03-09 Thread phcoder
Hello. Here is the patch to load the modules in the space after the kernel. This patch isn't meant to be commited right now because it breaks loading huge modules (and solaris relies on it). For clean solution I'm waiting for Vesa Jääskeläinen's new memory allocator Second reason is that command

Re: Server outage?

2009-03-09 Thread Gregg Levine
On Mon, Mar 9, 2009 at 3:22 PM, Gregg Levine wrote: > Hello! > Something odd is going on here. All of a sudden I am only seeing > messages to the Grub-Devel list for my Google Mail account. And > absolutely none for my regular ISP managed e-mail address. > > To add to the confusion, starting somet

Re: Parser

2009-03-09 Thread David Miller
From: Kevin Lacquement Date: Mon, 09 Mar 2009 12:03:14 -0700 > If we do that, though, we'll still need to create wrapper headers > for the headers that flex #includes. Also, does grub depend on gcc, > or will it work with other C compilers? I'd like to avoid adding a > dependency on a specific

Re: Menu locks / password authentication

2009-03-09 Thread Michał Radomski
On Mon, Mar 09, 2009 at 11:57:40AM +0100, phcoder wrote: > I would recommend using other hashes that md5 (e.g. whirlpool or sha-2) > because it's been depreceated I chose md5 because it is in grub2 wiki (see command list) It is not a problem to add sha-2 or whirlpool. > Do you already have a c

[PATCH] Eliminate grub_CHECK_START_SYMBOL

2009-03-09 Thread Pavel Roskin
Hello! It should be possible to compile grub for i386-pc on a pure x64_64 system with i386 support in the compiler and binutils, but without 32-bit libc or its headers. It requires several unrelated changes. This is the first step. It's a pure simplification. The grub_CHECK_START_SYMBOL define

Server outage?

2009-03-09 Thread Gregg Levine
Hello! Something odd is going on here. All of a sudden I am only seeing messages to the Grub-Devel list for my Google Mail account. And absolutely none for my regular ISP managed e-mail address. To add to the confusion, starting sometime yesterday the site who manages (did manage?) the deliver of

Re: Parser

2009-03-09 Thread Kevin Lacquement
Felix Zielcke wrote: > Am Montag, den 09.03.2009, 09:43 -0700 schrieb Kevin Lacquement: > >> Alternatively, is there a clean, portable way to make the C compiler >> think that the grub headers are actually the system headers? Or >> possibly to replace the system header calls in the generated C co

Re: Parser

2009-03-09 Thread Felix Zielcke
Am Montag, den 09.03.2009, 09:43 -0700 schrieb Kevin Lacquement: > Alternatively, is there a clean, portable way to make the C compiler > think that the grub headers are actually the system headers? Or > possibly to replace the system header calls in the generated C code? > (Using sed or somethin

[PATCH] Use hfs case ordering - another try

2009-03-09 Thread Pavel Roskin
Hello! It's a shame the discussion about hfs got nowhere. I've made another patch. I didn't look at the Linux hfs sources or at any previous patches. I took the case ordering table from hfsutils 3.2.6, which is licensed under GPL v2 or newer. Then I ran the table through a simple program to ma

Re: Parser

2009-03-09 Thread Kevin Lacquement
Marco Gerards wrote: > Kevin Lacquement writes: > >> Again looking at the script parser, I notices that it uses a >> Yacc-generated parser, but a hand-written tokenizer. Is there a reason >> that it doesn't use Lex? Is it due to external dependencies, and if so, >> is there a way to recreate the

Leak fixes

2009-03-09 Thread phcoder
Hello I discovered some memory leaks. Here is the fix The main one was is that if a hash collision occurs new cache entry overwrites the old one but the old one wasn't freed. When loading a big file it was leaking huge amounts of memory -- Regards Vladimir 'phcoder' Serbinenko Index: kern/dis

Re: Menu locks / password authentication

2009-03-09 Thread phcoder
Michał Radomski wrote: On Mon, Mar 09, 2009 at 08:16:16AM +0100, phcoder wrote: Michał Radomski wrote: On Fri, Feb 27, 2009 at 09:53:27PM +0100, Robert Millan wrote: It's funny, we're all discussing about performing security measurements in GRUB and nobody mentioned that our user interface lac

Re: Menu locks / password authentication

2009-03-09 Thread Michał Radomski
On Mon, Mar 09, 2009 at 08:16:16AM +0100, phcoder wrote: > Michał Radomski wrote: >> On Fri, Feb 27, 2009 at 09:53:27PM +0100, Robert Millan wrote: >>> It's funny, we're all discussing about performing security measurements in >>> GRUB and nobody mentioned that our user interface lacks even the mos

Re: Menu locks / password authentication

2009-03-09 Thread phcoder
Michał Radomski wrote: On Fri, Feb 27, 2009 at 09:53:27PM +0100, Robert Millan wrote: It's funny, we're all discussing about performing security measurements in GRUB and nobody mentioned that our user interface lacks even the most basic lock mechanism :-) Actualy... I'm working on password comm