Versions in this module Expand all Collapse all v0 v0.2.1 Apr 25, 2017 Changes in this version + const DT_BLK + const DT_CHR + const DT_DIR + const DT_FIFO + const DT_LNK + const DT_REG + const DT_SOCK + const DT_UNKNOWN + const DT_WHT + const ELF_AT_BASE + const ELF_AT_CLKTCK + const ELF_AT_EGID + const ELF_AT_ENTRY + const ELF_AT_EUID + const ELF_AT_EXECFD + const ELF_AT_FLAGS + const ELF_AT_GID + const ELF_AT_HWCAP + const ELF_AT_IGNORE + const ELF_AT_NOTELF + const ELF_AT_NULL + const ELF_AT_PAGESZ + const ELF_AT_PHDR + const ELF_AT_PHENT + const ELF_AT_PHNUM + const ELF_AT_PLATFORM + const ELF_AT_RANDOM + const ELF_AT_SYSINFO + const ELF_AT_SYSINFO_EHDR + const ELF_AT_UID + const UINT64_MAX + func Pack(buf co.Buf, i interface{}) error + func SetupElfAuxv(u models.Usercorn) ([]byte, error) + func StackInit(u models.Usercorn, args, env []string) error + func Unpack(k *LinuxKernel, arg interface{}, vals []interface{}) error + type Dirent struct + Ino uint64 + Len int + Name string + Off uint64 + Type int + type Dirent64 struct + Ino uint64 + Len int + Name string + Off uint64 + Type int + type ElfAuxv struct + Type uint64 + Val uint64 + type LinuxKernel struct + func NewKernel() *LinuxKernel + func (k *LinuxKernel) Fadvise64() + func (k *LinuxKernel) Fstat64(fd co.Fd, buf co.Obuf) uint64 + func (k *LinuxKernel) Futex(uaddr co.Buf, op, val int, timeout, uaddr2 co.Buf, val3 int) + func (k *LinuxKernel) Getdents(dirfd co.Fd, buf co.Obuf, count uint64) uint64 + func (k *LinuxKernel) Getdents64(dirfd co.Fd, buf co.Obuf, count uint64) uint64 + func (k *LinuxKernel) Geteuid32() int + func (k *LinuxKernel) Getgid32() int + func (k *LinuxKernel) Gettimeofday(tp co.Obuf, tz *native.Timespec) uint64 + func (k *LinuxKernel) Getuid32() int + func (k *LinuxKernel) Lstat64(path string, buf co.Obuf) uint64 + func (k *LinuxKernel) Select(args []co.Obuf, nfds int, readfds, writefds, errorfds *native.Fdset32, ...) uint64 + func (k *LinuxKernel) Sendfile(out, in co.Fd, off co.Buf, count uint64) uint64 + func (k *LinuxKernel) Setgid32(gid int32) int + func (k *LinuxKernel) Setuid32(uid int32) int + func (k *LinuxKernel) Stat64() int + func (k *LinuxKernel) Uname(buf co.Buf) + func (k *LinuxKernel) Utimensat()