lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <386072610805142333vfc07709xe7a78b2a68cff2dd@mail.gmail.com>
Date:	Thu, 15 May 2008 14:33:26 +0800
From:	"Bryan Wu" <cooloney@...nel.org>
To:	linux-kernel@...r.kernel.org, linux-mm@...ck.org,
	dwmw2@...radead.org
Cc:	"Mike Frysinger" <vapier.adi@...il.com>,
	"Bryan Wu" <cooloney@...nel.org>
Subject: Re: [PATCH 2/4] [NOMMU]: include the problematic mapping in the munmap warning

IMO, this is useful for nommu stuff.
Is there any chance to merge this?

-Bryan

On Mon, May 12, 2008 at 6:32 PM, Bryan Wu <cooloney@...nel.org> wrote:
> From: Mike Frysinger <vapier.adi@...il.com>
>
> Signed-off-by: Mike Frysinger <vapier.adi@...il.com>
> Signed-off-by: Bryan Wu <cooloney@...nel.org>
> ---
>  mm/nommu.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/mm/nommu.c b/mm/nommu.c
> index ef8c62c..c11e5cc 100644
> --- a/mm/nommu.c
> +++ b/mm/nommu.c
> @@ -1117,8 +1117,9 @@ int do_munmap(struct mm_struct *mm, unsigned long addr, size_t len)
>                        goto found;
>        }
>
> -       printk("munmap of non-mmaped memory by process %d (%s): %p\n",
> -              current->pid, current->comm, (void *) addr);
> +       printk(KERN_NOTICE "munmap of non-mmaped memory [%p-%p] by process %d (%s)\n",
> +              (void *)addr, (void *)addr+len, current->pid, current->comm);
> +
>        return -EINVAL;
>
>  found:
> --
> 1.5.5
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ