Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds
Perry Harrington (pedward@sun4.apsoft.com)
Tue, 4 Aug 1998 13:42:56 -0700 (PDT)
- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: David S. Miller: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
- Previous message: Andi Kleen: "Re: ftp trouble 2.1.114 <> Cray-System"
- In reply to: David S. Miller: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
- Next in thread: Theodore Y. Ts'o: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
- Next in thread: David S. Miller: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
- Reply: Theodore Y. Ts'o: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
- Reply: Alan Cox: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
>
> From: Perry Harrington <pedward@sun4.apsoft.com>
> Date: Tue, 4 Aug 1998 13:32:08 -0700 (PDT)
>
> But what uses exec stacks, other than exploits?
>
> Interpreter implementations for certain languages. Compiled languages
> use the stack for trampoline code snippets. Linus mentioned this
> already.
The trampoline thing has already been discussed. The other use, interpreters,
is odd. You're telling me that people have written interpreters that place code
to actually execute on the stack? I've read a bit about stack machines, and
wrote one, the implementations I've seen would never do such a machine dependent
and unorthodox thing. Although you do have to worry about machine dependent things
such as alignment, but I could only forsee the stack being used to hold an exec list
of functions in native code to call.
>
> Later,
> David S. Miller
> davem@dm.cobaltmicro.com
>
--
Perry Harrington Linux rules all OSes. APSoft ()
email: perry@apsoft.com Think Blue. /\
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
- Next message: David S. Miller: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
- Previous message: Andi Kleen: "Re: ftp trouble 2.1.114 <> Cray-System"
- In reply to: David S. Miller: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
- Next in thread: Theodore Y. Ts'o: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
- Next in thread: David S. Miller: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
- Reply: Theodore Y. Ts'o: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
- Reply: Alan Cox: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"