Date: Sun, 5 Jul 2009 10:08:12 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 165620 for review Message-ID: <200907051008.n65A8CV8040985@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165620 Change 165620 by trasz@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907051008.n65A8CV8040985>