Skip to content

Commit a9bdd59

Browse files
Merge pull request #858 from wking/tk/bump-posix-spec
config: Bump POSIX spec references to IEEE Std 1003.1-2008, 2016 Edition
2 parents c8fec52 + 3fb7d4b commit a9bdd59

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

config.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ For all platform-specific configuration values, the scope defined below in the [
142142
* **`width`** (uint, REQUIRED)
143143
* **`cwd`** (string, REQUIRED) is the working directory that will be set for the executable.
144144
This value MUST be an absolute path.
145-
* **`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001's `environ`][ieee-1003.1-2001-xbd-c8.1].
146-
* **`args`** (array of strings, REQUIRED) with similar semantics to [IEEE Std 1003.1-2001 `execvp`'s *argv*][ieee-1003.1-2001-xsh-exec].
145+
* **`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2008's `environ`][ieee-1003.1-2008-xbd-c8.1].
146+
* **`args`** (array of strings, REQUIRED) with similar semantics to [IEEE Std 1003.1-2008 `execvp`'s *argv*][ieee-1003.1-2008-xsh-exec].
147147
This specification extends the IEEE standard in that at least one entry is REQUIRED, and that entry is used with the same semantics as `execvp`'s *file*.
148148
* **`capabilities`** (object, OPTIONAL) is an object containing arrays that specifies the sets of capabilities for the process(es) inside the container.
149149
Valid values are platform-specific.
@@ -374,10 +374,10 @@ For Linux- and Solaris-based systems, the configuration structure supports `hook
374374
* **`hooks`** (object, OPTIONAL) MAY contain any of the following properties:
375375
* **`prestart`** (array of objects, OPTIONAL) is an array of [pre-start hooks](#prestart).
376376
Entries in the array contain the following properties:
377-
* **`path`** (string, REQUIRED) with similar semantics to [IEEE Std 1003.1-2001 `execv`'s *path*][ieee-1003.1-2001-xsh-exec].
377+
* **`path`** (string, REQUIRED) with similar semantics to [IEEE Std 1003.1-2008 `execv`'s *path*][ieee-1003.1-2008-functions-exec].
378378
This specification extends the IEEE standard in that **`path`** MUST be absolute.
379-
* **`args`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001 `execv`'s *argv*][ieee-1003.1-2001-xsh-exec].
380-
* **`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001's `environ`][ieee-1003.1-2001-xbd-c8.1].
379+
* **`args`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2008 `execv`'s *argv*][ieee-1003.1-2008-functions-exec].
380+
* **`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2008's `environ`][ieee-1003.1-2008-xbd-c8.1].
381381
* **`timeout`** (int, OPTIONAL) is the number of seconds before aborting the hook.
382382
If set, `timeout` MUST be greater than zero.
383383
* **`poststart`** (array of objects, OPTIONAL) is an array of [post-start hooks](#poststart).
@@ -852,8 +852,8 @@ Here is a full example `config.json` for reference.
852852
[procfs_2]: https://www.kernel.org/doc/Documentation/filesystems/proc.txt
853853
[semver-v2.0.0]: http://semver.org/spec/v2.0.0.html
854854
[go-environment]: https://golang.org/doc/install/source#environment
855-
[ieee-1003.1-2001-xbd-c8.1]: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html#tag_08_01
856-
[ieee-1003.1-2001-xsh-exec]: http://pubs.opengroup.org/onlinepubs/009695399/functions/exec.html
855+
[ieee-1003.1-2008-xbd-c8.1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_01
856+
[ieee-1003.1-2008-xsh-exec]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/exec.html
857857
[naming-a-volume]: https://aka.ms/nb3hqb
858858

859859
[capabilities.7]: http://man7.org/linux/man-pages/man7/capabilities.7.html

0 commit comments

Comments
 (0)