Editing Kernel code quotes
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Here we're collecting some funny quotes from the linux kernel code | Here we're collecting some funny quotes from the linux kernel code | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
---- | ---- | ||
<pre> | <pre> | ||
− | + | /* Unfortunately we don't support this one. Any brave souls? */ | |
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
:''from linux-2.6.23/include/linux/skbuff.h:skb_forward_csum()'' | :''from linux-2.6.23/include/linux/skbuff.h:skb_forward_csum()'' | ||
---- | ---- | ||
− | < | + | <pre> |
#define IT_ID_SET 1 | #define IT_ID_SET 1 | ||
#define IT_ID_NOT_SET 0 | #define IT_ID_NOT_SET 0 | ||
− | </ | + | </pre> |
:''from linux-2.6.23/kernel/posix-timers.c'' | :''from linux-2.6.23/kernel/posix-timers.c'' | ||
---- | ---- | ||
− | < | + | <pre> |
− | * "I ask you, have you ever known what it is to be an orphan?" | + | * "I ask you, have you ever known what it is to be an orphan?" |
− | */ | + | */ |
static int will_become_orphaned_pgrp(... | static int will_become_orphaned_pgrp(... | ||
− | </ | + | </pre> |
:''from linux-2.6.23/kernel/exit.c'' | :''from linux-2.6.23/kernel/exit.c'' | ||
---- | ---- | ||
− | < | + | <pre> |
#ifndef I_WISH_WORLD_WERE_PERFECT | #ifndef I_WISH_WORLD_WERE_PERFECT | ||
/* It is not :-( ... | /* It is not :-( ... | ||
− | </ | + | </pre> |
:''from linux-2.6.23/net/ipv4/ip_gre.c:ipgre_err()'' | :''from linux-2.6.23/net/ipv4/ip_gre.c:ipgre_err()'' | ||
Line 125: | Line 49: | ||
---- | ---- | ||
− | < | + | <pre> |
static inline int sk_hashed(const struct sock *sk) | static inline int sk_hashed(const struct sock *sk) | ||
{ | { | ||
return !sk_unhashed(sk); | return !sk_unhashed(sk); | ||
} | } | ||
− | </ | + | </pre> |
:''from linux-2.6.23/include/net/sock.h'' | :''from linux-2.6.23/include/net/sock.h'' |