Re: Which process is associated with process ID 0 (swapper)

From: Mikado
Date: Thu Apr 20 2006 - 19:29:10 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jan Engelhardt wrote:
> Is your code doing it like ipt_owner does?

It seems that ipt_owner does _not_ support PID match anymore:

In /usr/src/linux/net/ipv4/netfilter/ipt_owner.c:

...
if (info->match & (IPT_OWNER_PID|IPT_OWNER_SID|IPT_OWNER_COMM)) {
printk("ipt_owner: pid, sid and command matching "
"not supported anymore\n");
return 0;
}
...

My main objective simply works on single-processor machine, I haven't
intend to do it on SMP one.

Mikado.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFESBrONWc9T2Wr2JcRAnSiAJ9oAMtw0zZ0TcmnSXciuHmWry0sXACfT6M1
o86fk6onyQo/CVz9xIwZK1E=
=e9qN
-----END PGP SIGNATURE-----
-
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/