summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/sa1100_nanoengine.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-09-10 23:10:16 -0700
committerEric W. Biederman <ebiederm@xmission.com>2012-09-17 18:03:31 -0700
commit02276bda4a2bf094fcde89fb5db4d9e86347ebf4 (patch)
tree7f06da4dd9757c353133b9c512334daf96cfec1e /drivers/pcmcia/sa1100_nanoengine.c
parent34e36d8ecbd958bc15f8e63deade1227de337eb1 (diff)
downloadop-kernel-dev-02276bda4a2bf094fcde89fb5db4d9e86347ebf4.zip
op-kernel-dev-02276bda4a2bf094fcde89fb5db4d9e86347ebf4.tar.gz
audit: Use current instead of NETLINK_CREDS() in audit_filter
Get caller process uid and gid and pid values from the current task instead of the NETLINK_CB. This is simpler than passing NETLINK_CREDS from from audit_receive_msg to audit_filter_user_rules and avoid the chance of being hit by the occassional bugs in netlink uid/gid credential passing. This is a safe changes because all netlink requests are processed in the task of the sending process. Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Eric Paris <eparis@redhat.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'drivers/pcmcia/sa1100_nanoengine.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud