Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/sctp_syscalls.c
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | |||||
#include <security/audit/audit.h> | #include <security/audit/audit.h> | ||||
#include <security/mac/mac_framework.h> | #include <security/mac/mac_framework.h> | ||||
#include <netinet/sctp.h> | #include <netinet/sctp.h> | ||||
#include <netinet/sctp_peeloff.h> | #include <netinet/sctp_peeloff.h> | ||||
static struct syscall_helper_data sctp_syscalls[] = { | static struct syscall_helper_data sctp_syscalls[] = { | ||||
SYSCALL_INIT_HELPER(sctp_peeloff), | SYSCALL_INIT_HELPER_F(sctp_peeloff, SYF_CAPENABLED), | ||||
SYSCALL_INIT_HELPER(sctp_generic_sendmsg), | SYSCALL_INIT_HELPER_F(sctp_generic_sendmsg, SYF_CAPENABLED), | ||||
SYSCALL_INIT_HELPER(sctp_generic_sendmsg_iov), | SYSCALL_INIT_HELPER_F(sctp_generic_sendmsg_iov, SYF_CAPENABLED), | ||||
SYSCALL_INIT_HELPER(sctp_generic_recvmsg), | SYSCALL_INIT_HELPER_F(sctp_generic_recvmsg, SYF_CAPENABLED), | ||||
SYSCALL_INIT_LAST | SYSCALL_INIT_LAST | ||||
}; | }; | ||||
static void | static void | ||||
sctp_syscalls_init(void *unused __unused) | sctp_syscalls_init(void *unused __unused) | ||||
{ | { | ||||
int error; | int error; | ||||
▲ Show 20 Lines • Show All 483 Lines • Show Last 20 Lines |