Will Dowling writes: > I'm attempting to write some shellcode under Solaris, I'm running Solaris > Nevada Build 55b on an x86 laptop.
OK so far. > Now I'm assuming building and linking with nasm then finding the opcodes with > objdump should work but even a simple piece of code segfaults. I assume by "nasm" you're referring to the "netwide assembler" on sourceforge. What does that have to do with shell scripting? (Does "shellcode" mean something special here?) > I'm assuming it is much different to Linux due to the Kernel. Anyone can > point me in any directions for helpful resources? On Solaris, the documented system interfaces are provided by libc.so.1 and related libraries. We don't document the system call interface, and it's not stable. Are you trying to write your own system calls? -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
