diff options
author | Chen Gang <[email protected]> | 2013-04-07 16:55:23 +0800 |
---|---|---|
committer | Eric Paris <[email protected]> | 2013-04-10 13:31:12 -0400 |
commit | 2950fa9d3291b90e9b7663b6a409ea37a97a5e35 (patch) | |
tree | 59d613c0734447257a48974d81035538e8397b48 /net/lapb/lapb_in.c | |
parent | 65ada7bc02e2dcea6dea1f11876e712d5ea7e9ba (diff) |
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 <[email protected]>
[eparis: fix the return value when !CONFIG_AUDIT]
Signed-off-by: Eric Paris <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions