Redirected stdin/out and security

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: qfel (as_in_nick_at_astercity.net)
Date: 02/29/04


Date: Sun, 29 Feb 2004 09:16:31 +0100

If I create process with redirected input and output, does it matter what security
descriptor is assigned to pipes it inherits as stdin/out?
Or the child process is given same access to those objects as the parent process?



Relevant Pages

  • Re: fork() race in SIGCHLD handler
    ... > then unblock. ... be solved by ordering "who runs first" using pipes, ... it had assigned the child process number to the global variable intended to ... blocking with sigprocmaskimmediately before the ...
    (comp.os.linux.development.system)
  • Re: fork() race in SIGCHLD handler
    ... > then unblock. ... be solved by ordering "who runs first" using pipes, ... it had assigned the child process number to the global variable intended to ... blocking with sigprocmaskimmediately before the ...
    (comp.unix.programmer)
  • Re: Daemon doubt.
    ... | I'm currently writing a daemon process running on Linux. ... | child process is no longer a session leader and thus won't be able to ... what SHOULD stderr be connected ... I replaced them with pipes. ...
    (comp.unix.programmer)
  • Re: Invoking external processes in threaded program
    ... some pipes. ... the child other than exec*() immediately. ... It waits on a unix socketpair() for commands from the multi- ... man child process through the unix socket and sendmsg as SCM_RIGHTS ...
    (comp.unix.programmer)
  • Re: Catch result of external program using exec (in linux)
    ... result (what is printed on the linux command line) of that program in ... bidirectional pipes, etcetera. ... Tcl has some problems with the dollar-sign. ... # A child process, whose process ID was $pid, ...
    (comp.lang.tcl)