[<prev] [next>] [day] [month] [year] [list]
Message-ID: <873akeu80o.fsf@burp.tkv.asdf.org>
Date: Fri, 05 Sep 2008 14:49:59 +0300
From: Markku Savela <msa@...h.iki.fi>
To: linux-kernel@...r.kernel.org
Subject: Re: How to find origin PID of a sk_buff in iptables match?
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists