--- commoncap.c | 2 +- dummy.c | 8 ++++++++ selinux/hooks.c | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff -upN reference/security/commoncap.c current/security/commoncap.c --- reference/security/commoncap.c 2004-02-23 18:15:19.000000000 +0000 +++ current/security/commoncap.c 2004-03-23 15:29:41.000000000 +0000 @@ -303,7 +303,7 @@ int cap_syslog (int type) * succeed and -ENOMEM implies there is not. * * We currently support three overcommit policies, which are set via the - * vm.overcommit_memory sysctl. See Documentation/vm/overcommit-acounting + * vm.overcommit_memory sysctl. See Documentation/vm/overcommit-accounting * * Strict overcommit modes added 2002 Feb 26 by Alan Cox. * Additional code 2002 Jul 20 by Robert Love. diff -upN reference/security/dummy.c current/security/dummy.c --- reference/security/dummy.c 2004-03-11 20:47:31.000000000 +0000 +++ current/security/dummy.c 2004-03-23 15:29:41.000000000 +0000 @@ -101,6 +101,14 @@ static int dummy_syslog (int type) return 0; } +/* + * Check that a process has enough memory to allocate a new virtual + * mapping. 0 means there is enough memory for the allocation to + * succeed and -ENOMEM implies there is not. + * + * We currently support three overcommit policies, which are set via the + * vm.overcommit_memory sysctl. See Documentation/vm/overcommit-accounting + */ static int dummy_vm_enough_memory(long pages) { unsigned long free, allowed; diff -upN reference/security/selinux/hooks.c current/security/selinux/hooks.c --- reference/security/selinux/hooks.c 2004-03-11 20:47:31.000000000 +0000 +++ current/security/selinux/hooks.c 2004-03-23 15:29:41.000000000 +0000 @@ -1492,7 +1492,7 @@ static int selinux_syslog(int type) * succeed and -ENOMEM implies there is not. * * We currently support three overcommit policies, which are set via the - * vm.overcommit_memory sysctl. See Documentation/vm/overcommit-acounting + * vm.overcommit_memory sysctl. See Documentation/vm/overcommit-accounting * * Strict overcommit modes added 2002 Feb 26 by Alan Cox. * Additional code 2002 Jul 20 by Robert Love.