Curiosades en las fuentes del kernel

Curioseando el código fuente de mi Debian Etch me encuentro con algunas frases graciosas, para detectarlas nos basta con tener los sources del kernel instalados y como no grep.

Estas frases son del kernel 2.6.18 de Etch:

uname -r
 
2.6.18-5-686

Algunas son bastante curiosas:

grep -R "fuck" /usr/src/linux/*
/usr/src/linux/include/linux/netfilter/xt_limit.h:      
/* Ugly, ugly fucker. */
 
grep -R "suck" /usr/src/linux/*
/usr/src/linux/include/linux/netfilter/x_tables.h: 
* ip6t_entry and arpt_entry.  This sucks, and it is a hack.  It will be my
 
grep -R "WTF is" /usr/src/linux/*
/usr/src/linux/include/linux/hp_sdc.h:
#define HP_SDC_CFG_ROLLOVER       0x08   /* WTF is "N-key rollover"? */
 
grep -R baby /usr/src/linux/*
/usr/src/linux/include/asm-i386/voyager.h: 
* babysat anymore */
/usr/src/linux/include/asm/voyager.h: 
* babysat anymore */
/usr/src/linux/include/linux/netdevice.h:
#define NET_RX_SUCCESS         0   /* keep 'em coming, baby */
 
grep -R "ugly" /usr/src/linux/*
/usr/src/linux/arch/i386/Kconfig.debug:   
it is not recommended because it looks ugly and doesn't cooperate
/usr/src/linux/drivers/isdn/hisax/Kconfig:        
If you have trouble with some ugly exchanges or you live in
/usr/src/linux/drivers/isdn/hisax/Kconfig:        
If you have trouble with some ugly exchanges try to select this
/usr/src/linux/include/asm-generic/ipc.h: 
* See architecture code for ugly details..
/usr/src/linux/include/acpi/acmacros.h: 
* bad form, but having a separate exit macro is very ugly and difficult to maintain.
/usr/src/linux/include/asm-x86_64/uaccess.h: 
* This gets kind of ugly. We want to return _two_ values in "get_user()"
/usr/src/linux/include/asm-x86_64/uaccess.h: 
* of a performance impact. Thus we have a few rather ugly macros here,
/usr/src/linux/include/asm-x86_64/semaphore.h: 
* This is ugly, but we want the default case to fall through.
/usr/src/linux/include/asm-x86_64/statfs.h: 
* This is ugly -- we're already 64-bit clean, so just duplicate the
/usr/src/linux/include/asm-i386/uaccess.h: 
* This gets kind of ugly. We want to return _two_ values in "get_user()"
/usr/src/linux/include/asm-i386/uaccess.h: 
* of a performance impact. Thus we have a few rather ugly macros here,
/usr/src/linux/include/asm-i386/string.h: 
* This looks ugly, but the compiler can optimize it totally,
/usr/src/linux/include/asm-i386/string.h: 
* This looks horribly ugly, but the compiler can optimize it totally,
/usr/src/linux/include/asm-i386/semaphore.h: 
* This is ugly, but we want the default case to fall through.
/usr/src/linux/include/asm/uaccess.h: 
* This gets kind of ugly. We want to return _two_ values in "get_user()"
/usr/src/linux/include/asm/uaccess.h: 
* of a performance impact. Thus we have a few rather ugly macros here,
/usr/src/linux/include/asm/string.h: 
* This looks ugly, but the compiler can optimize it totally,
/usr/src/linux/include/asm/string.h: 
* This looks horribly ugly, but the compiler can optimize it totally,
/usr/src/linux/include/asm/semaphore.h: 
* This is ugly, but we want the default case to fall through.
/usr/src/linux/include/net/tcp.h: 
* to use only the low 32-bits of jiffies and hide the ugly
/usr/src/linux/include/linux/hil_mlc.h:  
* a positive return value causes the "ugly" branch to be taken.
/usr/src/linux/include/linux/hil_mlc.h: 
int                     ugly;   /* Node to jump to on timeout       */
/usr/src/linux/include/linux/netfilter/xt_limit.h:      
/* Ugly, ugly fucker. */
/usr/src/linux/include/linux/kernelcapi.h:      
/* ugly hack to allow for notification of added/removed
/usr/src/linux/include/linux/x25.h: 
*      The somewhat ugly dimension 200-sizeof() is needed to maintain
/usr/src/linux/include/linux/ktime.h: 
* representation. The macros are sometimes ugly - their actual use is
/usr/src/linux/scripts/namespace.pl:
#     code does not get too ugly.

Sí, algunos días me aburro en el trabajo. Wink

Si alguien ha encontrado otras, por favor dejad un comentario.

Comentarios

Comentarios de 2.6.19 de Debian

serdiaz@boxte:~$ uname -r
2.6.19
serdiaz@boxte:~$ grep -R -i "fuck" /usr/src/linux/

....

/usr/src/linux/arch/sparc/kernel/head.S: /* XXX Fucking Cypress... */
/usr/src/linux/arch/sparc/kernel/process.c: /* fuck me plenty */
/usr/src/linux/arch/sparc/kernel/ptrace.c:/* Fuck me gently with a chainsaw... */

.....

Lo redirigí a un archivo y este ocupa unos 4 kb