Date: Sat, 16 Apr 2005 18:46:29 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_socket.c uipc_syscalls.c src/sys/security/mac mac_socket.c src/sys/security/mac_stub mac_stub.c src/sys/security/mac_test mac_test.c src/sys/sys mac.h mac_policy.h Message-ID: <200504161846.j3GIkTuN088888@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2005-04-16 18:46:29 UTC FreeBSD src repository Modified files: sys/kern sys_socket.c uipc_syscalls.c sys/security/mac mac_socket.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c sys/sys mac.h mac_policy.h Log: Introduce three additional MAC Framework and MAC Policy entry points to control socket poll() (select()), fstat(), and accept() operations, required for some policies: poll() mac_check_socket_poll() fstat() mac_check_socket_stat() accept() mac_check_socket_accept() Update mac_stub and mac_test policies to be aware of these entry points. While here, add missing entry point implementations for: mac_stub.c stub_check_socket_receive() mac_stub.c stub_check_socket_send() mac_test.c mac_test_check_socket_send() mac_test.c mac_test_check_socket_visible() Obtained from: TrustedBSD Project Sponsored by: SPAWAR, SPARTA Revision Changes Path 1.69 +18 -0 src/sys/kern/sys_socket.c 1.219 +7 -0 src/sys/kern/uipc_syscalls.c 1.3 +49 -5 src/sys/security/mac/mac_socket.c 1.47 +44 -0 src/sys/security/mac_stub/mac_stub.c 1.56 +61 -1 src/sys/security/mac_test/mac_test.c 1.62 +5 -1 src/sys/sys/mac.h 1.61 +7 -1 src/sys/sys/mac_policy.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504161846.j3GIkTuN088888>