Re: How to find origin PID of a sk_buff in iptables match?
From: Markku Savela
Date: Fri Sep 05 2008 - 07:50:17 EST
Actually, my problem can be reduced to a question:
Can someone explain why core/sock.c in function sock_init_data sets
sk->sk_peercred.pid = 0;
sk->sk_peercred.uid = -1;
sk->sk_peercred.pid = -1;
instead of assigning default values from the current task context?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/