Re: OpenBSD and sophie

"Will Harris" <[email protected]>
Newsgroups gmane.comp.security.virus.vtools
Message-ID <000501c3f467$717be660$6464a8c0@none>
Replying to myself once again, i compiled sophie using --fno-stack-protector
to get rid of the propolice errors, and ditching the ctype macro in
sophie_init.c as follows:

sophie_init.c:457
<               if (!isdigit((int) *p))
---
>               if ( (*p < '0') || (*p > '9') )

to get rid of the _ctype_ error.  After that it compiles cleanly, but
running it gives it

# make
gcc -g -O2 -Wall -Isav_if -fno-stack-protector  -c sophie.c
gcc -g -O2 -Wall -Isav_if -fno-stack-protector  -c sophie_init.c
gcc -g -O2 -Wall -Isav_if -fno-stack-protector  -c sophie_scandir.c
gcc -g -O2 -Wall -Isav_if -fno-stack-protector  -c sophie_core.c
gcc -g -O2 -Wall -Isav_if -fno-stack-protector  -c sophie_notify.c
gcc -g -O2 -Wall -Isav_if -fno-stack-protector -Wl,-rpath,/emul/freebsd/usr/
lib/ -L/emul/freebsd/usr/lib/ -lsavi sophie.o sophie_init.o sophie_scandir.o
sophie_core.o sophie_notify.o -o sophie
# ./sophie
Bad system call (core dumped)

gdb ./sophie gives
Program received signal SIGSYS, Bad system call.
0xcfb7eb0 in _sigprocmask ()

So, that's the situation, any ideas would be appreciated.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.