Module: OS::Linux::Sandbox::ClassMethods Private
- Extended by:
- T::Helpers
- Defined in:
- extend/os/linux/sandbox.rb
This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.
Instance Method Summary collapse
- #available? ⇒ Boolean private
- #failure_reason ⇒ String? private
- #full_write_isolation? ⇒ Boolean private
- #reset_state! ⇒ void private
- #state ⇒ Symbol private
-
#terminal_ioctl_request ⇒ Integer
private
ioctlrequest used to attach the sandboxed child to a controlling TTY.
Instance Method Details
#available? ⇒ Boolean
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
45 46 47 |
# File 'extend/os/linux/sandbox.rb', line 45 def available? ::Sandbox::Landlock.available? end |
#failure_reason ⇒ String?
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
65 66 67 68 69 |
# File 'extend/os/linux/sandbox.rb', line 65 def failure_reason return super if self != ::Sandbox ::Sandbox::Landlock.failure_reason end |
#full_write_isolation? ⇒ Boolean
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
50 51 52 |
# File 'extend/os/linux/sandbox.rb', line 50 def full_write_isolation? ::Sandbox::Landlock.full_write_isolation? end |
#reset_state! ⇒ void
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
This method returns an undefined value.
60 61 62 |
# File 'extend/os/linux/sandbox.rb', line 60 def reset_state! ::Sandbox::Landlock.reset_state! end |
#state ⇒ Symbol
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
55 56 57 |
# File 'extend/os/linux/sandbox.rb', line 55 def state ::Sandbox::Landlock.state end |
#terminal_ioctl_request ⇒ Integer
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
ioctl request used to attach the sandboxed child to a controlling TTY.
73 74 75 |
# File 'extend/os/linux/sandbox.rb', line 73 def terminal_ioctl_request TIOCSCTTY end |