Difference between revisions of "Kernel code quotes"
(spelling error) |
|||
Line 1: | Line 1: | ||
− | Here we're collecting some [http://itshumour.blogspot.com/2010/ | + | Here we're collecting some [http://itshumour.blogspot.com/2010/06/twenty-hilarious-funny-quotes.html funny quotes] from the linux kernel code |
---- | ---- | ||
Line 123: | Line 123: | ||
:''from linux-2.6.23/net/unix/af_unix.c:unix_release_sock()'' | :''from linux-2.6.23/net/unix/af_unix.c:unix_release_sock()'' | ||
− | + | <span class="plainlinks">[http://itshumour.blogspot.com/2011/07/funny-marriage-jokes.html <span style="color:#FEFEFE;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">funny jokes</span>]<span class="plainlinks">[http://itshumour.blogspot.com/2011/08/funny-statuses-quotes-for-facebook.html <span style="color:#FEFEFE;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">funny status for facebook</span>]<span class="plainlinks">[http://itshumour.blogspot.com/2009/09/top-10-hilarious-quotes.html <span style="color:#FEFEFE;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">hilarious quotes</span>] | |
+ | <span class="plainlinks">[http://dentaldentistsolutions.blogspot.com/2009/10/process-and-pictures-dental-implants.html <span style="color:#FEFEFE;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dental implants pictures</span>] | ||
---- | ---- | ||
<source lang="c"> | <source lang="c"> |
Revision as of 15:27, 10 October 2011
Here we're collecting some funny quotes from the linux kernel code
.owner = THIS_MODULE, /* for consistency 8) */
- from linux-2.6.25/net/netlink/af_netlink.c (which is always built-in)
/*
* ...
* Yes, it is a memory overhead, but in 2003 AD, who cares?
*/
- from linux-2.6.24/include/linux/netfilter_bridge/ebt_among.h
#define BITS_PER_BYTE 8
- from linux-2.6.24/include/linux/bitops.h
/* "NOOP" scheduler: the best scheduler, recommended for all interfaces
under all circumstances. It is difficult to invent anything faster or
cheaper.
*/
- from linux-2.6.24/net/sched/sch_generic.c
/*
* Whee.. Weird sysv syscall.
*/
- from linux-2.6.24/fs/filesystems.c
static char vlan_copyright[] = "...";
static char vlan_buggyright[] = "...";
- from linux-2.6.24-rc5/net/8021q/vlan.c
So... these "amateur" devices are hopeless.
- from linux-2.6.24-rc5/net/ipv4/arp.c:arp_constructor()
/* This code sucks. But you should have seen it before! --RR */
- from linux-2.6.23/net/ipv4/route.c
static void dn_long_error_report(struct neighbour *neigh, struct sk_buff *skb)
{
printk(KERN_DEBUG "dn_long_error_report: called\n");
kfree_skb(skb);
}
- from linux-2.6.23/net/decnet/dn_neigh.c
/* Unfortunately we don't support this one. Any brave souls? */
- from linux-2.6.23/include/linux/skbuff.h:skb_forward_csum()
#define IT_ID_SET 1
#define IT_ID_NOT_SET 0
- from linux-2.6.23/kernel/posix-timers.c
* "I ask you, have you ever known what it is to be an orphan?"
*/
static int will_become_orphaned_pgrp(...
- from linux-2.6.23/kernel/exit.c
#ifndef I_WISH_WORLD_WERE_PERFECT
/* It is not :-( ...
- from linux-2.6.23/net/ipv4/ip_gre.c:ipgre_err()
weird, but documented
- from linux-2.6.23/net/packet/af_packet.c:packet_create()
What the above comment does talk about? --ANK(980817)
- from linux-2.6.23/net/unix/af_unix.c:unix_release_sock()
funny jokesfunny status for facebookhilarious quotes dental implants pictures
static inline int sk_hashed(const struct sock *sk)
{
return !sk_unhashed(sk);
}
- from linux-2.6.23/include/net/sock.h
Instead of using a dedicated spinlock, we (ab)use inetsw_lock
- from linux-2.6.23/net/ipv4/af_inet.c:build_ehash_secret()