Re: [PATCH v2 1/1] certs: Explain the rationale to call panic()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mickaël Salaün <mic@xxxxxxxxxxx> wrote:

> The blacklist_init() function calls panic() for memory allocation
> errors.  This change documents the reason why we don't return -ENODEV.

Why, though?

This is only called whilst the kernel is booting.  If you hit ENOMEM, you
aren't likely to get much further with the boot process.

David





[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux