mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-16 05:47:31 +00:00
tree-wide: remove problematic terminology
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
1c01dc2c5e
commit
4f6c7312ef
@ -1464,7 +1464,7 @@ int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function,
|
|||||||
* just fork()s away without exec'ing directly after, the socket fd will
|
* just fork()s away without exec'ing directly after, the socket fd will
|
||||||
* exist in the forked process from the other thread and any close() in
|
* exist in the forked process from the other thread and any close() in
|
||||||
* our own child process will not really cause the socket to close
|
* our own child process will not really cause the socket to close
|
||||||
* properly, potentially causing the parent to hang.
|
* properly, potentially causing the parent to get stuck.
|
||||||
*
|
*
|
||||||
* For this reason, while IPC is still active, we have to use shutdown()
|
* For this reason, while IPC is still active, we have to use shutdown()
|
||||||
* if the child exits prematurely in order to signal that the socket is
|
* if the child exits prematurely in order to signal that the socket is
|
||||||
|
@ -109,7 +109,7 @@ int main(int argc, char *argv[])
|
|||||||
/* reboot 10 times */
|
/* reboot 10 times */
|
||||||
for (i = 0; i < 10; i++) {
|
for (i = 0; i < 10; i++) {
|
||||||
/* Give the init system some time to setup it's signal handlers
|
/* Give the init system some time to setup it's signal handlers
|
||||||
* otherwise we will hang indefinitely.
|
* otherwise we will wait indefinitely.
|
||||||
*/
|
*/
|
||||||
sleep(5);
|
sleep(5);
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Give the init system some time to setup it's signal handlers
|
/* Give the init system some time to setup it's signal handlers
|
||||||
* otherwise we will hang indefinitely.
|
* otherwise we will wait indefinitely.
|
||||||
*/
|
*/
|
||||||
sleep(5);
|
sleep(5);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user