Documentation
¶
Index ¶
- Constants
- func PamAuth(user string) *pam.Transaction
- func ProcInfo(pid int) (int, uint64, error)
- func SetEnv(spath []string, targetUser user.User, keep bool) error
- func TimestampClear(path string, f os.File) error
- func TimestampOpen(secs int64) (int, error)
- func TimestampPath() (os.File, string, error)
- func TimestampSet(path string, secs int64) error
- func TimestampSetAfterAuth(secs int64) error
- type Entry
Constants ¶
View Source
const (
TIMESTAMP_DIR string = "/run/doas"
)
Variables ¶
This section is empty.
Functions ¶
func PamAuth ¶
func PamAuth(user string) *pam.Transaction
func TimestampOpen ¶
func TimestampSet ¶
for the time being this is basically a "translation" of OpenDoas C code. Fine for now, but I would like it to be handled cleaner in proper Go way.
func TimestampSetAfterAuth ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.