eb85a6e94c
The split reflects that between variables which can and cannot be overridden by .molly files, and this greatly simplifies the processing of said files, getting rid of the need for lots of ugly temporary variable thrashing.
14 lines
402 B
Go
14 lines
402 B
Go
// +build js nacl plan9 windows
|
|
|
|
package main
|
|
|
|
type userInfo struct {
|
|
}
|
|
|
|
// Restrict access to the files specified in config in an OS-dependent way.
|
|
// This is intended to be called immediately prior to accepting client
|
|
// connections and may be used to establish a security "jail" for the molly
|
|
// brown executable.
|
|
func enableSecurityRestrictions(config SysConfig, ui userInfo) error {
|
|
return nil
|
|
}
|