Sha256: b83b2e61c81790f217cba05595dd42460865b86de15f9ab2344876222354f7af

Contents?: true

Size: 1.57 KB

Versions: 2

Compression:

Stored size: 1.57 KB

Contents

NULL = nil
module Ragweed; end
module Ragweed::Wraptux;end

module Ragweed::Wraptux::Ptrace
    TRACE_ME = 0
    PEEK_TEXT = 1
    PEEK_DATA = 2
    PEEK_USER = 3
    POKE_TEXT = 4
    POKE_DATA = 5
    POKE_USER = 6
    CONTINUE = 7
    KILL = 8
    STEP = 9
    GETREGS = 12
    SETREGS = 13
    ATTACH = 16
    DETACH = 17
    SYSCALL = 24
    SETOPTIONS = 0x4200
    GETEVENTMSG = 0x4201
    GETSIGINFO = 0x4202
    SETSIGINFO = 0x4203
end

module Ragweed::Wraptux::Ptrace::SetOptions
    TRACESYSGOOD = 0x00000001
    TRACEFORK = 0x00000002
    TRACEVFORK = 0x00000004
    TRACECLONE = 0x00000008
    TRACEEXEC = 0x00000010
    TRACEVFORKDONE = 0x00000020
    TRACEEXIT = 0x00000040
    MASK = 0x0000007f
end

module Ragweed::Wraptux::Ptrace::EventCodes
    FORK = 1
    VFORK = 2
    CLONE = 3
    EXEC = 4
    VFORK_DONE = 5
    EXIT = 6
end

module Ragweed::Wraptux::Signal
	SIGHUP = 1
	SIGINT = 2
	SIGQUIT = 3
	SIGILL = 4
	SIGTRAP = 5
	SIGABRT = 6
	SIGIOT = 6
	SIGBUS = 7
	SIGFPE = 8
	SIGKILL = 9
	SIGUSR1 = 10
	SIGSEGV = 11
	SIGUSR2 = 12
	SIGPIPE = 13
	SIGALRM = 14
	SIGTERM = 15
	SIGSTKFLT = 16
	SIGCHLD = 17
	SIGCONT = 18
	SIGSTOP = 19
	SIGTSTP = 20
	SIGTTIN = 21
	SIGTTOU = 22
	SIGURG = 23
	SIGXCPU = 24
	SIGXFSZ = 25
	SIGVTALRM = 26
	SIGPROF = 27
	SIGWINCH = 28
	SIGIO = 29
	SIGPOLL = SIGIO
	#SIGLOST = 29
	SIGPWR = 30
	SIGSYS = 31
	SIGUNUSED = 31
end

module Ragweed::Wraptux::Wait
    NOHANG = 1
    UNTRACED = 2
    EXITED = 4
    STOPPED = 8
    CONTINUED = 10
    NOWWAIT = 20
end

module Ragweed::Wraptux::PagePermissions
    PROT_READ  = 0x1
    PROT_WRITE = 0x2
    PROT_EXEC  = 0x4
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ragweed-0.2.0.pre3-java lib/ragweed/wraptux/constants.rb
ragweed-0.2.0.pre3 lib/ragweed/wraptux/constants.rb