Class: Bwrap::Args::Features::NscdBinds Private
- Inherits:
-
Object
- Object
- Bwrap::Args::Features::NscdBinds
- Defined in:
- lib/bwrap/args/features.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Implementation for nscd feature set.
Instance Method Summary collapse
-
#custom_binds ⇒ Object
private
Custom binds needed by the feature.
Instance Method Details
#custom_binds ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Custom binds needed by the feature.
42 43 44 45 46 47 48 49 50 |
# File 'lib/bwrap/args/features.rb', line 42 def custom_binds mounts = [] # TODO: Probably some path checking is needed here. Or somewhere. # TODO: Since on many systems /var/run is symlinked to /run, that probably should be handled. mounts << "--ro-bind" << "/var/run/nscd" << "/var/run/nscd" mounts end |