Re: C set-user-ID program wrapper for Perl script and security



Peter Michaux <petermichaux@xxxxxxxxx> writes:
On Aug 30, 3:03 pm, "Malcolm McLean" <regniz...@xxxxxxxxxxxxxx> wrote:
it is reasonable to hardcode paths in a Perl script,
much less sensible to do so in a C program.

Why is that?

Speaking as both a C programmer and a Perl programmer, I can't think
of any good reason.

--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
.



Relevant Pages

  • Re: variable declaration, was RE: moving to the next line
    ... > Several people on this list have discouraged the habit. ... As a Perl programmer, I do tend to declare at first usage, but I ... Without strict, I'd be bald as a cue-ball from tearing my hair out ...
    (perl.beginners)
  • Re: MARKER
    ... I don't understand the problem because I'm not a Perl programmer, yet I identified the "well known language" and got the correct behavior on the first shot without trying. ... The fact there are people who generate "a lot of crap out there" reinforces my statement. ... The people who write crap are not the thoughtful programmers who read the documentation and understand the language. ...
    (comp.lang.forth)
  • Re: Perl, Mail, Mime & Multipart....
    ... I may not be your idea of an ideal programmer, but I know I have some qualities that many other programmers miss. ... who could be a serious perl programmer without using and writing modules? ... Both solutions work and both have their advantages. ... on misunderstandig since you sound like someone who measures productivity by the number of keystrokes/hour. ...
    (comp.lang.perl.misc)
  • Re: Javascript Obfuscators
    ... mile of where I live and I live within 17 miles of a Cray super ... only Perl programmer was the Cray guy and he wasn't interested. ...
    (comp.lang.javascript)
  • Re: Javascript Obfuscators
    ... mile of where I live and I live within 17 miles of a Cray super ... only Perl programmer was the Cray guy and he wasn't interested. ...
    (comp.lang.javascript)