mount info; no "noexec" option on my /etc/fstab too
$ mount
/dev/wd0a on / type ffs (local)
/dev/wd0d on /home type ffs (local, nodev, nosuid)
/dev/wd0e on /tmp type ffs (local, nodev, nosuid)
/dev/wd0g on /usr type ffs (local, nodev)
/dev/wd0f on /var type ffs (local, nodev, nosuid)
The code I'm trying to build using gas
$ cat hello.S
.data
msg:
.ascii "my OpenBSD is on GAS!\n"
len =3D . - msg
.text
.global _start
_start:
movl $len,%edx
movl $msg,%ecx
movl $1,%ebx
movl $4,%eax
int $0x80
movl $0,%ebx
movl $1,%eax
int $0x80
here's how i build it
$as -o hello.o hello.S
$ld -s -o hello hello.o
$hello
sh: hello: Operation not permitted
it doesn't want to run at all =/ anyways... any help, comments will be
very much appreciated
dee