PERFORCE change 182435 for review
Ilya Bakulin
kibab at FreeBSD.org
Sun Aug 15 20:30:04 UTC 2010
http://p4web.freebsd.org/@@182435?ac=10
Change 182435 by kibab at 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 <sys/param.h>
#include <sys/systm.h>
#include <sys/lock.h>
+#include <sys/sysctl.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/posix4.h>
#include <sys/resource.h>
#include <sys/sched.h>
+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 <vm/vm_page.h>
#include <vm/vm_object.h>
+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 <sys/vnode.h>
#include <machine/atomic.h>
+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 <security/mac/mac_framework.h>
+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 <machine/in_cksum.h>
+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 <sys/socketvar.h>
+#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 <security/mac/mac_framework.h>
+#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 <vm/uma.h>
+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 <ufs/ffs/ffs_extern.h>
static vop_accessx_t ufs_accessx;
More information about the p4-projects
mailing list