patch-2.3.25 linux/kernel/exec_domain.c
Next file: linux/kernel/exit.c
Previous file: linux/ipc/util.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Oct 29 11:04:06 1999
- Orig file:
v2.3.24/linux/kernel/exec_domain.c
- Orig date:
Tue Sep 7 12:14:07 1999
diff -u --recursive --new-file v2.3.24/linux/kernel/exec_domain.c linux/kernel/exec_domain.c
@@ -125,3 +125,15 @@
unlock_kernel();
return ret;
}
+
+int get_exec_domain_list(char * page)
+{
+ int len = 0;
+ struct exec_domain * e;
+
+ for (e=exec_domains; e && len < PAGE_SIZE - 80; e=e->next)
+ len += sprintf(page+len, "%d-%d\t%-16s\t[%s]\n",
+ e->pers_low, e->pers_high, e->name,
+ e->module ? e->module->name : "kernel");
+ return len;
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)