]> git.neil.brown.name Git - history.git/commit
[NET]: Missing security_*() check in net/compat.c
authorMitchell Blank Jr. <mitch@sfgoth.com>
Tue, 30 Nov 2004 05:17:23 +0000 (21:17 -0800)
committerDavid S. Miller <davem@nuts.davemloft.net>
Tue, 30 Nov 2004 05:17:23 +0000 (21:17 -0800)
commitd21093c2d5b8d2663c7ae10499119b7cc2ae0308
tree1e9e6b153f80464574c551c791c69297772c6d97
parentb0158ba46ca20d6eb09ec6fa9d3edf527b7fc0cb
[NET]: Missing security_*() check in net/compat.c

While looking at the SCM passing code in net/core/scm.c I noticed that there's
a 32-bit compat implementation of scm_detach_fds()'s called
scm_detach_fds_compat() living in net/compat.c.  While these two functions
are mostly the same the latter does not include the call to the
security_file_receive() hook which is almost certainly a bug.

Signed-off-by: Mitchell Blank Jr <mitch@sfgoth.com>
Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/compat.c