dbus: remove BwrapStatic method
This method does not do anything and is not called from anywhere. It also does not make any sense as a public interface since the argument builder is no longer stateless. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
88040504b2
commit
73146ea7fa
@ -59,17 +59,6 @@ func (p *Proxy) String() string {
|
|||||||
return "(unsealed dbus proxy)"
|
return "(unsealed dbus proxy)"
|
||||||
}
|
}
|
||||||
|
|
||||||
// BwrapStatic builds static bwrap args. This omits any fd-dependant args.
|
|
||||||
func (p *Proxy) BwrapStatic() []string {
|
|
||||||
p.lock.RLock()
|
|
||||||
defer p.lock.RUnlock()
|
|
||||||
|
|
||||||
if p.bwrap == nil {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
return p.bwrap.Args()
|
|
||||||
}
|
|
||||||
|
|
||||||
// Seal seals the Proxy instance.
|
// Seal seals the Proxy instance.
|
||||||
func (p *Proxy) Seal(session, system *Config) error {
|
func (p *Proxy) Seal(session, system *Config) error {
|
||||||
p.lock.Lock()
|
p.lock.Lock()
|
||||||
|
Loading…
Reference in New Issue
Block a user