History

Merge tag 'landlock-6.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux

Pull landlock fixes from Mickaël Salaün: "Fixes to TCP socket identification, documentation, and tests" * tag 'landlock-6.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux: selftests/landlock: Add binaries to .gitignore selftests/landlock: Test that MPTCP actions are not restricted selftests/landlock: Test TCP accesses with protocol=IPPROTO_TCP landlock: Fix non-TCP sockets restriction landlock: Minor typo and grammar fixes in IPC scoping documentation landlock: Fix grammar error selftests/landlock: Enable the new CONFIG_AF_UNIX_OOB

Linus Torvalds committed 1 year ago

Commit c0d35082 parents d62fdaf 78332fd8 files · +127 −22Browse files

Showing the changes to include/uapi/linux (1 of 8 files). Show all

Unified · Split

include/uapi/linux/landlock.h+6−2
@@ -268,7 +268,9 @@ struct landlock_net_port_attr { · 267 unmodified lines
268 * ~~~~~~~~~~~~~~~~268 * ~~~~~~~~~~~~~~~~
269 *269 *
270 * These flags enable to restrict a sandboxed process to a set of network270 * These flags enable to restrict a sandboxed process to a set of network
271 * actions. This is supported since the Landlock ABI version 4.271 * actions.
272 *
273 * This is supported since Landlock ABI version 4.
272 *274 *
273 * The following access rights apply to TCP port numbers:275 * The following access rights apply to TCP port numbers:
274 *276 *
@@ -291,11 +293,13 @@ struct landlock_net_port_attr { · 16 unmodified lines
291 * Setting a flag for a ruleset will isolate the Landlock domain to forbid293 * Setting a flag for a ruleset will isolate the Landlock domain to forbid
292 * connections to resources outside the domain.294 * connections to resources outside the domain.
293 *295 *
296 * This is supported since Landlock ABI version 6.
297 *
294 * Scopes:298 * Scopes:
295 *299 *
296 * - %LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET: Restrict a sandboxed process from300 * - %LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET: Restrict a sandboxed process from
297 * connecting to an abstract UNIX socket created by a process outside the301 * connecting to an abstract UNIX socket created by a process outside the
298 * related Landlock domain (e.g. a parent domain or a non-sandboxed process).302 * related Landlock domain (e.g., a parent domain or a non-sandboxed process).
299 * - %LANDLOCK_SCOPE_SIGNAL: Restrict a sandboxed process from sending a signal303 * - %LANDLOCK_SCOPE_SIGNAL: Restrict a sandboxed process from sending a signal
300 * to another process outside the domain.304 * to another process outside the domain.
301 */305 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t