Skip to content

Commit 38e7654

Browse files
authored
Add support for setting allow.sysvipc (#248)
1 parent 3300bdd commit 38e7654

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88
### Added
9-
- set-attr: add jail attribute "raw_sockets" (#247)
9+
- set-attr: add jail attributes "raw_sockets", "sysvipc" (#247, #248)
1010
- import/export/prepare: support signing pots (#221)
1111

1212
### Changed

share/pot/common.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ _POT_RO_ATTRIBUTES="to-be-pruned"
1010
_POT_NETWORK_TYPES="inherit alias public-bridge private-bridge"
1111

1212
# not devfs handles separately
13-
_POT_JAIL_RW_ATTRIBUTES='enforce_statfs mount fdescfs linprocfs nullfs procfs tmpfs zfs raw_sockets children'
13+
_POT_JAIL_RW_ATTRIBUTES='enforce_statfs mount fdescfs linprocfs nullfs procfs tmpfs zfs raw_sockets sysvipc children'
1414

1515
# N: arg name jail command, T: type of data, D: deafult value
1616
# devfs is always mounted
@@ -38,6 +38,9 @@ _POT_DEFAULT_zfs_D='NO'
3838
_POT_DEFAULT_raw_sockets_N='allow.raw_sockets'
3939
_POT_DEFAULT_raw_sockets_T='bool'
4040
_POT_DEFAULT_raw_sockets_D='NO'
41+
_POT_DEFAULT_sysvipc_N='allow.sysvipc'
42+
_POT_DEFAULT_sysvipc_T='bool'
43+
_POT_DEFAULT_sysvipc_D='NO'
4144
_POT_DEFAULT_children_N='children.max'
4245
_POT_DEFAULT_children_T='uint'
4346
_POT_DEFAULT_children_D='0'

0 commit comments

Comments
 (0)