PERFORCE change 165620 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Sun Jul 5 10:08:15 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=165620
Change 165620 by trasz at trasz_victim on 2009/07/05 10:07:20
Fix buildworld. There is userland code that needs to know
'struct proc' layout, and that requires 'struct hrl_usage'.
Affected files ...
.. //depot/projects/soc2009/trasz_limits/sys/sys/hrl.h#18 edit
Differences ...
==== //depot/projects/soc2009/trasz_limits/sys/sys/hrl.h#18 (text+ko) ====
@@ -44,8 +44,6 @@
#define HRL_OP_GET_USAGE_GID 4
#define HRL_OP_GET_USAGE_JAILID 5
-#ifdef _KERNEL
-
/*
* 'hrl_rule' describes a single limit configured by the system
* administrator or a temporary limit set using setrlimit(2).
@@ -113,6 +111,8 @@
int64_t hu_resources[HRL_RESOURCE_MAX + 1];
};
+#ifdef _KERNEL
+
struct proc;
int hrl_alloc(int object, uint64_t amount);
More information about the p4-projects
mailing list