Skip to content

Commit bcdfa8a

Browse files
committed
translation/Protocol: add packet MOUNT_TMP_TMPFS_EXEC
1 parent cfbc404 commit bcdfa8a

4 files changed

Lines changed: 7 additions & 1 deletion

File tree

debian/changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
cm4all-beng-proxy (21.16) unstable; urgency=low
22

3+
* translation: add packet MOUNT_TMP_TMPFS_EXEC
34
* systemd: start daemons with MALLOC_ARENA_MAX=4
45
* fix build failure after CURL 8.19 API change
56

doc/translation.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,10 @@ described in this section.
12201220
payload may specify additional ``tmpfs`` mount options such as
12211221
``size=64M``.
12221222

1223+
By default, code execution from this filesystem is disabled via
1224+
``MS_NOEXEC``. A follow-up ``MOUNT_TMP_TMPFS_EXEC`` packet disables
1225+
this behavior, i.e. allows executing code from this ``tmpfs``.
1226+
12231227
- ``MOUNT_TMPFS`` mounts a new (user-writable) ``tmpfs`` on the given
12241228
path. This is private to the namespace and is deleted when the
12251229
process exits.

python/beng_proxy/translation/protocol.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@
282282
TRANSLATE_PEEK = 276
283283
TRANSLATE_ALLOW_PTRACE = 277
284284
TRANSLATE_ACCESS_CONTROL_ALLOW_ALL = 278
285+
TRANSLATE_MOUNT_TMP_TMPFS_EXEC = 279
285286

286287
TRANSLATE_PROXY = TRANSLATE_HTTP # deprecated
287288
TRANSLATE_LHTTP_EXPAND_URI = TRANSLATE_EXPAND_LHTTP_URI # deprecated

0 commit comments

Comments
 (0)