PERFORCE change 169365 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Sat Oct 10 21:12:14 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=169365
Change 169365 by trasz at trasz_victim on 2009/10/10 21:11:44
These should be static.
Affected files ...
.. //depot/projects/soc2009/trasz_limits/sys/kern/kern_hrl.c#63 edit
Differences ...
==== //depot/projects/soc2009/trasz_limits/sys/kern/kern_hrl.c#63 (text+ko) ====
@@ -70,7 +70,7 @@
int d_value;
};
-struct dict subjectnames[] = {
+static struct dict subjectnames[] = {
{ "process", HRL_SUBJECT_TYPE_PROCESS },
{ "user", HRL_SUBJECT_TYPE_USER },
{ "group", HRL_SUBJECT_TYPE_GROUP },
@@ -78,7 +78,7 @@
{ "jail", HRL_SUBJECT_TYPE_JAIL },
{ NULL, -1 }};
-struct dict resourcenames[] = {
+static struct dict resourcenames[] = {
{ "cputime", HRL_RESOURCE_CPUTIME },
{ "filesize", HRL_RESOURCE_FILESIZE },
{ "datasize", HRL_RESOURCE_DATASIZE },
@@ -94,7 +94,7 @@
{ "swap", HRL_RESOURCE_SWAP },
{ NULL, -1 }};
-struct dict actionnames[] = {
+static struct dict actionnames[] = {
{ "deny", HRL_ACTION_DENY },
{ "delay", HRL_ACTION_DELAY },
{ "log", HRL_ACTION_LOG },
More information about the p4-projects
mailing list