lkml.org 
[lkml]   [1996]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Java in OS?
    From
    Date
    >>>>> "Matthias" == Matthias Urlichs <smurf@smurf.noris.de> writes:

    Matthias> Hi,
    Matthias> Jon Hamilton wrote:
    >>> /tmp/foo:
    >>> #!/bin/sh
    >>> echo "Did it"
    >>>
    >>> /tmp/bar:
    >>> #!/tmp/foo
    >>> # nothing interesting
    >>
    >> Works fine for me using 1.3.75 and libc 5.0.9.
    >>

    Matthias> Not for me (1.3.98). Libc version should be uninteresting as
    Matthias> it's the exec itself that returns the error (verified with
    Matthias> strace).

    This works for me at 1.3.98 and 1.3.99 whether I am root or not.
    root# cat foo
    #! /bin/sh
    echo "Did it"
    root# cat bar
    #!/tmp/foo
    # nothing interesting
    root# ./bar
    Did it

    Matthias> NB, another and possibly related problem: "strace -f strace
    Matthias> /bin/sh", i.e. trying to watch what strace does, fails with

    Matthias> [pid 16357] ptrace(PTRACE_TRACEME, 0, 0x1, 0) = -1 EPERM
    Matthias> (Operation not permitted)

    I can duplicate this message, so it may not be related.
    --
    steve@miranova.com baur
    Unsolicited commercial e-mail will be proofread for $250/hour.
    Andrea Seastrand: For your vote on the Telecom bill, I will vote for anyone
    except you in November.


    \
     
     \ /
      Last update: 2005-03-22 13:37    [W:0.020 / U:0.808 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site