[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <OF152BAB0C.4FB2E7A9-ONC1257D1B.0031887F-C1257D1B.0031B248@transmode.se>
Date: Sun, 20 Jul 2014 11:02:48 +0200
From: Joakim Tjernlund <joakim.tjernlund@...nsmode.se>
To: Andreas Schwab <schwab@...ux-m68k.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: ls -l /proc/1/exe -> Permission denied
Andreas Schwab <schwab@...ux-m68k.org> wrote on 2014/07/19 22:21:59:
>
> Joakim Tjernlund <joakim.tjernlund@...nsmode.se> writes:
>
> > Trying to real /proc/<pid>/exe I noticed I could not read links not
> > belonging to my user such as:
> > jocke > ls -l /proc/1/exe
> > ls: cannot read symbolic link /proc/1/exe: Permission
denied
> >
> > Is this expected?
>
> Yes. This information is considered private.
I don't understand why though.
Why have exe in the fist place then?
Jocke
--
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