lkml.org 
[lkml]   [1996]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Shell-Script problems
Date

In linux.dev.kernel, article <Pine.LNX.3.95.961207163908.3415C-100000@moisil.wal.rhno.columbia.edu>,
Ion Badulescu <ionut@moisil.wal.rhno.columbia.edu> writes:
>
> The changes are trivial, but before changing anything I'd like to hear
> what other people think about this issue - whether the name of the process
> as appears in /proc/<pid>/stat should be the name of the interpreter (for
> compatibility reasons) or the name of the interpreted script.
>
The latter.

> --- linux/fs/binfmt_script.c.old Sat Dec 7 20:47:27 1996
> +++ linux/fs/binfmt_script.c Sat Dec 7 20:47:32 1996
> @@ -76,7 +76,6 @@
> /*
> * OK, now restart the process with the interpreter's inode.
> */
> - bprm->filename = interp;
> retval = open_namei(interp, 0, 0, &bprm->inode, NULL);
> if (retval)
> return retval;
>
Uh, what? This is already gone in 2.0.27.

--
Department meeting in 3 minutes.
--
Matthias Urlichs \ noris network GmbH / Xlink-POP Nürnberg
Schleiermacherstraße 12 \ Linux+Internet / EMail: urlichs@noris.de
90491 Nürnberg (Germany) \ Consulting+Programming+Networking+etc'ing
PGP: 1024/4F578875 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE
Click <A HREF="http://info.noris.de/~smurf/finger">here</A>. 42

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.049 / U:2.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site