audit: fix netlink portid naming and types
authorRichard Guy Briggs <rgb@redhat.com>
Wed, 14 Aug 2013 15:32:45 +0000 (11:32 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 14 Jan 2014 03:26:52 +0000 (22:26 -0500)
commitb8710bd8bfea7508e0f29d98c2d03e272469e21a
tree3fc0c477d498240e517c471f76efa2deee81ce5d
parent491000b0f432a76fb622ef748cc759d0136b2213
audit: fix netlink portid naming and types

Normally, netlink ports use the PID of the userspace process as the port ID.
If the PID is already in use by a port, the kernel will allocate another port
ID to avoid conflict.  Re-name all references to netlink ports from pid to
portid to reflect this reality and avoid confusion with actual PIDs.  Ports
use the __u32 type, so re-type all portids accordingly.

(This patch is very similar to ebiederman's 5deadd69)

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
include/linux/audit.h
kernel/audit.c
kernel/audit.h
kernel/auditfilter.c