diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2013-08-14 17:32:45 +0200 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2014-01-14 04:26:52 +0100 |
commit | f9441639e6319f0c0e12bd63fa2f58990af0a9d2 (patch) | |
tree | 3fc0c477d498240e517c471f76efa2deee81ce5d /init | |
parent | audit: Simplify and correct audit_log_capset (diff) | |
download | linux-f9441639e6319f0c0e12bd63fa2f58990af0a9d2.tar.xz linux-f9441639e6319f0c0e12bd63fa2f58990af0a9d2.zip |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions