Date: Sun, 07 Nov 1999 11:11:10 +0000 From: David Malone <dwmalone@maths.tcd.ie> To: "Daniel C. Sobral" <dcs@newsguy.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Procfs' pointers to files. Message-ID: <199911071111.aa31599@salmon.maths.tcd.ie> In-Reply-To: Your message of "Sun, 07 Nov 1999 02:25:55 %2B0900." <382464A3.F8A3ADA7@newsguy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Err... I don't see the problem. The permissions of the hardlink will > be different, so the user might be able to see the "code", but won't > be able to run the suid (because the hardlink won't have the suid > bit set). Suid bit is stored in the inode, not the directory entry, so it will be set. I've tested it - try running su in one window, don't type the password, and then run /proc/pid/file and typing the password. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <199911071111.aa31599>