Skip to content

Commit be324ce

Browse files
authored
Update cnf-best-practices-linux-capabilities.adoc
1 parent 10a0606 commit be324ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/cnf-best-practices-linux-capabilities.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ IPC_LOCK capability is required if any of these functions are used in an applica
6161

6262
Even though `mlock()` is not necessary on systems where page swap is disabled (for example on OpenShift), it may still be required as it is a function that is built into DPDK libraries, and DPDK based applications may indirectly call it by calling other functions.
6363

64+
See test case link:https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#access-control-ipc-lock-capability-check[access-control-ipc-lock-capability-check]
65+
6466
[id="cnf-best-practices-net_admin"]
6567
== NET_ADMIN
6668

@@ -103,6 +105,8 @@ This capability is very powerful and overloaded. It allows the application to pe
103105
[IMPORTANT]
104106
====
105107
Applications *MUST NOT* use the SYS_ADMIN Linux capability
108+
109+
See test case link:https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#access-control-sys-admin-capability-check[access-control-sys-admin-capability-check]
106110
====
107111

108112
[id="cnf-best-practices-sys_nice"]
@@ -116,3 +120,5 @@ In the case that a CNF is running on a node using the real-time kernel, SYS_NICE
116120
This capability is required when using Process Namespace Sharing. This is used when processes from one Container need to be exposed to another Container. For example, to send signals like SIGHUP from a process in a Container to another process in another Container. See link:https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/[] for more details.
117121
For more information on these capabilities refer to link:https://cloud.redhat.com/blog/linux-capabilities-in-openshift[].
118122

123+
See test case link:https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#access-control-sys-ptrace-capability[access-control-sys-ptrace-capability]
124+

0 commit comments

Comments
 (0)