From owner-p4-projects@FreeBSD.ORG Sun Aug 15 20:30:04 2010 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E13051065679; Sun, 15 Aug 2010 20:30:03 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A293A106564A for ; Sun, 15 Aug 2010 20:30:03 +0000 (UTC) (envelope-from kibab@FreeBSD.org) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [IPv6:2001:4f8:fff6::2d]) by mx1.freebsd.org (Postfix) with ESMTP id 8F3EC8FC17 for ; Sun, 15 Aug 2010 20:30:03 +0000 (UTC) Received: from skunkworks.freebsd.org (localhost [127.0.0.1]) by skunkworks.freebsd.org (8.14.4/8.14.4) with ESMTP id o7FKU3Ee047213 for ; Sun, 15 Aug 2010 20:30:03 GMT (envelope-from kibab@FreeBSD.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.4/8.14.4/Submit) id o7FKU3nG047210 for perforce@freebsd.org; Sun, 15 Aug 2010 20:30:03 GMT (envelope-from kibab@FreeBSD.org) Date: Sun, 15 Aug 2010 20:30:03 GMT Message-Id: <201008152030.o7FKU3nG047210@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to kibab@FreeBSD.org using -f From: Ilya Bakulin To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 182435 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2010 20:30:04 -0000 http://p4web.freebsd.org/@@182435?ac=10 Change 182435 by kibab@kibab_kibab-nb on 2010/08/15 20:29:20 - Some TCP features; - Disk quotas & POSIX1003.1B stuff; - MAC and AUDIT options. Affected files ... .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/ksched.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/uipc_cow.c#3 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/uipc_mqueue.c#3 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/uipc_sem.c#3 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/netinet/ip_mroute.c#3 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/netinet/ip_options.c#3 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/netinet/tcp_syncache.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/security/audit/audit.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/security/mac/mac_syscalls.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/ufs/ufs/ufs_vnops.c#4 edit Differences ... ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/ksched.c#2 (text+ko) ==== @@ -41,12 +41,15 @@ #include #include #include +#include #include #include #include #include #include +FEATURE(_kposix_priority_scheduling, "POSIX P1003.1B realtime extensions"); + /* ksched: Real-time extension to support POSIX priority scheduling. */ ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/uipc_cow.c#3 (text+ko) ==== @@ -57,6 +57,7 @@ #include #include +FEATURE(zero_copy_sockets, "Zero copy sockets support"); struct netsend_cow_stats { int attempted; ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/uipc_mqueue.c#3 (text+ko) ==== @@ -82,6 +82,8 @@ #include #include +FEATURE(p1003_1b_mqueue, "POSIX P1003.1B message queues support"); + /* * Limits and constants */ ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/uipc_sem.c#3 (text+ko) ==== @@ -65,6 +65,7 @@ #include +FEATURE(p1003_1b_semaphores, "POSIX1003.1B semaphores support"); /* * TODO * ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/netinet/ip_mroute.c#3 (text+ko) ==== @@ -114,6 +114,8 @@ #include +FEATURE(mrouting, "Multicast routing support"); + #ifndef KTR_IPMF #define KTR_IPMF KTR_INET #endif ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/netinet/ip_options.c#3 (text+ko) ==== @@ -65,6 +65,10 @@ #include +#ifdef IPSTEALTH +FEATURE(ipstealth, "Support for stealth forwarding"); +#endif + static int ip_dosourceroute = 0; SYSCTL_INT(_net_inet_ip, IPCTL_SOURCEROUTE, sourceroute, CTLFLAG_RW, &ip_dosourceroute, 0, "Enable forwarding source routed IP packets"); ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/netinet/tcp_syncache.c#2 (text+ko) ==== @@ -97,6 +97,10 @@ #include +#ifdef TCP_SIGNATURE +FEATURE(tcp_signature, "Support for TCP signatures (RFC 2385)"); +#endif + static VNET_DEFINE(int, tcp_syncookies) = 1; #define V_tcp_syncookies VNET(tcp_syncookies) SYSCTL_VNET_INT(_net_inet_tcp, OID_AUTO, syncookies, CTLFLAG_RW, ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/security/audit/audit.c#2 (text) ==== @@ -72,6 +72,8 @@ #include +FEATURE(audit, "BSM audit support"); + static uma_zone_t audit_record_zone; static MALLOC_DEFINE(M_AUDITCRED, "audit_cred", "Audit cred storage"); MALLOC_DEFINE(M_AUDITDATA, "audit_data", "Audit data storage"); ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/security/mac/mac_syscalls.c#2 (text+ko) ==== @@ -72,6 +72,8 @@ #ifdef MAC +FEATURE(mac, "Mandatory Access Control support"); + int __mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap) { ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/ufs/ufs/ufs_vnops.c#4 (text+ko) ==== @@ -87,6 +87,15 @@ FEATURE(ufs_gjournal, "Journaling support through GEOM for UFS"); #endif +#ifdef QUOTA +FEATURE(quota, "UFS disk quotas support"); +#endif + +#ifdef SUIDDIR +FEATURE(suiddir, "Give all new files in directory the same ownership as the directory"); +#endif + + #include static vop_accessx_t ufs_accessx;