Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel!munnari.oz.au!uunet!mcsun!sun4nl!eur.nl!pk From: pk@cs.few.eur.nl (Paul Kranenburg) Subject: Re: Some questions, some fixes, some suggestions Message-ID: <1992Jul27.101018.9902@cs.few.eur.nl> Sender: news@cs.few.eur.nl Reply-To: pk@cs.eur.nl Organization: Erasmus University Rotterdam References: <1992Jul25.182354.14203@cognos.com> Date: Mon, 27 Jul 1992 10:10:18 GMT Lines: 21 In <1992Jul25.182354.14203@cognos.com> dealwisb@cognos.com (Brian de Alwis) writes: > [...] > The new-and-improved execve() no longer accepts '#!' magic >codes... This is best demonstrated by which(1), a csh command, when >running /bin/sh. I haven't even tried doing anything with this (yet). > The samples for named(8), the bind server, are unfortunately no >longer part of the distribution. I believe the should be placed back >in (unless they're included in the etc01). For those interested, a version of kern_execve.c based on v0.1 with the `#!' magic enabled is available via anon-FTP at ftp.cs.few.eur.nl in directory ~ftp/386BSD/unofficial. [Note that I have made no attempt to prevent execution of setuid/setgid shell scripts, just dont't set those bits] -pk