函数源码 |
Source File:lib\audit.c |
Create Date:2022-07-27 08:09:16 |
首页 | Copyright©Brick |
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | int audit_classify_syscall( int abi, unsigned syscall) { if (audit_is_compat(abi)) return audit_classify_compat_syscall(abi, syscall); switch (syscall) { #ifdef __NR_open case __NR_open: return 2; #endif #ifdef __NR_openat case __NR_openat: return 3; #endif #ifdef __NR_socketcall case __NR_socketcall: return 4; #endif #ifdef __NR_execveat case __NR_execveat: #endif case __NR_execve: return 5; default : return 0; } } |