History log of /unit/src/nxt_isolation.c (Results 1 – 11 of 11)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1927:ac8d11e34427 03-Aug-2021 Max Romanov

Fixed dead assignments.

Found by Clang Static Analyzer.


Revision tags: 1.24.0-1, 1.24.0, 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0
# 1744:5e6c2b8fb3fe 14-Dec-2020 Tiago Natel de Moura

Isolation: fixed unmounting when mnt namespace is in place.

The code had a wrong assumption that "mount namespaces" automatically
unmounts process mounts when exits but this happens only with
unpriv

Isolation: fixed unmounting when mnt namespace is in place.

The code had a wrong assumption that "mount namespaces" automatically
unmounts process mounts when exits but this happens only with
unprivileged mounts.

show more ...


Revision tags: 1.21.0-1, 1.21.0
# 1708:4463c1fc26fd 16-Nov-2020 Tiago Natel de Moura

Isolation: added option to disable "procfs" mount.

Now users can disable the default procfs mount point
in the rootfs.

{
"isolation": {
"automount": {
"procfs": false

Isolation: added option to disable "procfs" mount.

Now users can disable the default procfs mount point
in the rootfs.

{
"isolation": {
"automount": {
"procfs": false
}
}
}

show more ...


# 1704:6a003e0f3a6e 13-Nov-2020 Tiago Natel de Moura

Isolation: added option to disable tmpfs mount.

Now users can disable the default tmpfs mount point
in the rootfs.

{
"isolation": {
"automount": {
"tmpfs": false

Isolation: added option to disable tmpfs mount.

Now users can disable the default tmpfs mount point
in the rootfs.

{
"isolation": {
"automount": {
"tmpfs": false
}
}
}

show more ...


# 1673:883f2f79c2f6 29-Oct-2020 Tiago Natel de Moura

Isolation: mounting of procfs by default when using "rootfs".


# 1671:04de10f67b33 29-Oct-2020 Tiago Natel de Moura

Isolation: correctly unmount non-dependent paths first.

When mount points reside within other mount points, this
patch sorts them by path length and then unmounts then
in an order reverse to their m

Isolation: correctly unmount non-dependent paths first.

When mount points reside within other mount points, this
patch sorts them by path length and then unmounts then
in an order reverse to their mounting. This results in
independent paths being unmounted first.

This fixes an issue in buildbots where dependent paths failed
to unmount, leading to the build script removing system-wide
language libraries.

show more ...


Revision tags: 1.20.0-1, 1.20.0
# 1602:5f7638bf724e 18-Sep-2020 Artem Konev

Updated racially charged language in messages and comments.


# 1595:d1884e46cf71 16-Sep-2020 Tiago Natel de Moura

Isolation: remove redundant macro.


# 1585:e941d77852d1 25-Aug-2020 Tiago Natel de Moura

Isolation: added "automount" option.

Now it's possible to disable default bind mounts of
languages by setting:

{
"isolation": {
"automount": {
"language_deps": fal

Isolation: added "automount" option.

Now it's possible to disable default bind mounts of
languages by setting:

{
"isolation": {
"automount": {
"language_deps": false
}
}
}

In this case, the user is responsible to provide a "rootfs"
containing the language libraries and required files for
the application.

show more ...


# 1580:f1aefdf995d4 20-Aug-2020 Tiago Natel de Moura

Isolation: mount tmpfs by default.


# 1579:c80e692dc644 20-Aug-2020 Tiago Natel de Moura

Moved isolation related code to "nxt_isolation.c".