Skip to content

Commit 50fd47a

Browse files
committed
runtime-linux: Drop file-descriptor docs (covered by the command-line API)
It's unclear how these apply to runtimes APIs that are not based on the command line / execve, and the functionality is covered by the more tightly scoped LISTEN_FDS wording in the command-line docs. Signed-off-by: W. Trevor King <[email protected]>
1 parent 4a25725 commit 50fd47a

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

command-line-interface.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Start a container from a bundle directory.
5656
* *Standard streams:* The runtime MUST attach its standard streams directly to the application process without inspection.
5757
* *Environment variables*
5858
* *`LISTEN_FDS`:* The number of file descriptors passed.
59-
For example, `LISTEN_FDS=2` would mean that the runtime MUST pass file descriptors 3 and 4 to the application process (in addition to the [standard streams][standard-streams]) to support [socket activation][systemd-listen-fds].
59+
For example, `LISTEN_FDS=2` would mean that the runtime MUST pass file descriptors 3 and 4 to the application process (in addition to the standard streams) to support [socket activation][systemd-listen-fds].
6060
* *Exit code:* The runtime MUST exit with the application process's exit code.
6161

6262
#### Example
@@ -105,6 +105,5 @@ $ echo $?
105105
[posix-encoding]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap06.html#tag_06_02
106106
[posix-lang]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_02
107107
[posix-locale-encoding]: http://www.unicode.org/reports/tr35/#Bundle_vs_Item_Lookup
108-
[standard-streams]: https://github.com/opencontainers/specs/blob/v0.1.1/runtime-linux.md#file-descriptors
109108
[systemd-listen-fds]: http://www.freedesktop.org/software/systemd/man/sd_listen_fds.html
110109
[UTF-8]: http://www.unicode.org/versions/Unicode8.0.0/ch03.pdf

runtime-linux.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
# Linux Runtime
22

3-
## File descriptors
4-
5-
By default, only the `stdin`, `stdout` and `stderr` file descriptors are kept open for the application by the runtime.
6-
The runtime MAY pass additional file descriptors to the application to support features such as [socket activation](http://0pointer.de/blog/projects/socket-activated-containers.html).
7-
Some of the file descriptors MAY be redirected to `/dev/null` even though they are open.
8-
93
## Dev symbolic links
104

115
After the container has `/proc` mounted, the following standard symlinks MUST be setup within `/dev/` for the io.

0 commit comments

Comments
 (0)