[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200623212214.GA41702@localhost.localdomain>
Date: Wed, 24 Jun 2020 00:22:14 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Christian Kujau <lists@...dbynature.de>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Willy Tarreau <w@....eu>,
Dan Carpenter <dan.carpenter@...cle.com>,
Kees Kook <keescook@...omium.org>, linux-kernel@...r.kernel.org
Subject: Re: process '/usr/bin/rsync' started with executable stack
On Wed, Jun 24, 2020 at 12:12:18AM +0300, Alexey Dobriyan wrote:
> On Tue, Jun 23, 2020 at 10:39:26AM -0700, Christian Kujau wrote:
> > Hi,
> >
> > exactly this[0] happened today, on a 5.6.5 kernel:
> >
> > process '/usr/bin/rsync' started with executable stack
> >
> > But I can't reproduce this message,
This message is once-per-reboot.
If you run something with exec stack after the message
you shouldn't get it second time.
If you rebooted and rsync starts clean, then it is separate story.
> > and rsync (v3.2.0, not exactly
> > abandonware) runs several times a day, so to repeat Andrew's questions[0]
> > from last year:
> >
> > > What are poor users supposed to do if this message comes out?
> > > Hopefully google the message and end up at this thread. What do you
> > > want to tell them?
> >
> > Also, the PID is missing from that message.
>
> That's intentional. I for one hate pids.
>
> > I had some long running rsync
> > processes running earlier, maybe the RWE status would have been visible in
> > /proc/$PID/map, or somewhere else maybe?
>
> If you think process is still running, /proc/*/maps should have 'rwxp'
> indeed. You can do quick
>
> $ grep -e '\[stack\]' /proc/*/maps'
>
> to find it.
Run as root obviously, or you won't get full picture.
Powered by blists - more mailing lists