Chen Gang 2950fa9d32 kernel: audit: beautify code, for extern function, better to check its parameters by itself
__audit_socketcall is an extern function.
  better to check its parameters by itself.

    also can return error code, when fail (find invalid parameters).
    also use macro instead of real hard code number
    also give related comments for it.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
[eparis: fix the return value when !CONFIG_AUDIT]
Signed-off-by: Eric Paris <eparis@redhat.com>
2013-04-10 13:31:12 -04:00
..
2012-07-19 10:48:00 -07:00
2013-02-10 20:39:39 -05:00
2012-12-11 14:08:47 -08:00
2013-02-08 01:49:49 -05:00
2012-05-17 18:45:20 -04:00
2013-02-12 18:51:11 -05:00
2012-09-26 21:10:25 -04:00