Standard streams - Wikipedia, the free encyclopedia
|
|
In Unix and Unix-like operating systems, as well as certain programming language interfaces, the standard streams are preconnected input and output channels between a computer program and its enviro...
en.wikipedia.org/wiki/Standard_streams
|
|
|
When a UNIX program wants to use a file, it must first open that file. When it does so, UNIX will associate a number with the file. This number, which is used by the program when reading from and writing to the file, is the file descriptor.
|
www.livefirelabs.com/unix_tip_trick_shell_script/june_2...
www.livefirelabs.com/unix_tip_trick_shell_script/june_2003/06092003.htm
|
|
|
|
From here we'll be able to understand some useful file descriptor shuffling games that are commonplace in UNIX programming, and then take a step forward to deal with using particular file descriptors, the pipes, to make processes ``talk'' with each other.
|
www.cim.mcgill.ca/~franco/OpSys-304-427/lecture-notes/n...
www.cim.mcgill.ca/~franco/OpSys-304-427/lecture-notes/node27.html
|
|
|
|
CVE-2004-1033 File descriptor leak allows read of restricted files. ... CVE-2000-0094 Access to restricted resource using modified file descriptor for stderr. ... PLOVER UNIX file descriptor leak...
|
cwe.mitre.org/data/definitions/403.html
|
|
|
(OpenBSD Issues Fix) Re: BSD UNIX Kernel File Descriptor Processing Flaw May Let Local Users Write to Root Owned Files to Gain Root Privileges on the System; The vendor has issued a patch.
|
www.securitytracker.com/alerts/2002/Apr/1004124.html
|
|
A vulnerability is a weakness in an application (frequently a broken or missing control) that enables an attack to succeed. Be sure you don't put [attacks] or [controls] in this category. ... Start with a one-sentence description of the vulnerability ... What is the problem that creates the vulnerability?
|
www.owasp.org/index.php/UNIX_file_descriptor_leak
www.owasp.org/index.php/UNIX_file_descriptor_leak
|
|
to get that, see an advanced Bourne shell programming book like UNIX Power Tools. The comments in the script and the explanation here will tell you what each file descriptor redirection does. ... Table: UNIX File Descriptor Numbers...
|
www.oreilly.com/openbook/mh/e-distpr.htm
|
|
Send in your Unix questions today! See additional Unix tips and tricks; ... Reading from a File Descriptor; First, you can assign a file descriptor to an input file with this syntax: $ exec 3< infile; where 3 is the file descriptor we have chosen to use and file is the name of the file.
|
www.itworld.com/nls_unix_filedescriptor060608
www.itworld.com/nls_unix_filedescriptor060608
|
|
Nov 2, 2005 ... UNIX File-Descriptor Parameters. Some operating systems require you to specify a limit on the number of file descriptors that a process can ...
|
publib.boulder.ibm.com/infocenter/ids9help/topic/com.ib...
publib.boulder.ibm.com/infocenter/ids9help/topic/com.ibm.perf.doc/perf74.htm
|
|