|
From: Alexei A. <ale...@gm...> - 2025-04-28 10:41:35
|
hi guys !
anyone could make provide a hint about this?
interestingly enough, not much comes up in Google by this, I thought this
would be something fairly common actually
does it even work on OmniOS ? thanks for any help !
root@test:~/sshguard-2.5.0# make
Making all in src
make[1]: Entering directory '/root/sshguard-2.5.0/src'
Making all in blocker
make[2]: Entering directory '/root/sshguard-2.5.0/src/blocker'
CC sandbox.o
../common/sandbox.c: In function 'init_log':
../common/sandbox.c:23:18: error: 'LOG_PERROR' undeclared (first use in
this function); did you mean 'LOG_ERR'?
23 | flags |= LOG_PERROR;
| ^~~~~~~~~~
| LOG_ERR
../common/sandbox.c:23:18: note: each undeclared identifier is reported
only once for each function it appears in
../common/sandbox.c: In function 'droproot':
../common/sandbox.c:43:9: warning: implicit declaration of function
'setresgid'; did you mean 'setregid'? [-Wimplicit-function-declaration]
43 | if (setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) == -1) {
| ^~~~~~~~~
| setregid
../common/sandbox.c:46:9: warning: implicit declaration of function
'setresuid'; did you mean 'setreuid'? [-Wimplicit-function-declaration]
46 | if (setresuid(pw->pw_uid, pw->pw_uid, pw->pw_uid) == -1) {
| ^~~~~~~~~
| setreuid
make[2]: *** [Makefile:408: sandbox.o] Error 1
make[2]: Leaving directory '/root/sshguard-2.5.0/src/blocker'
make[1]: *** [Makefile:430: all-recursive] Error 1
make[1]: Leaving directory '/root/sshguard-2.5.0/src'
make: *** [Makefile:481: all-recursive] Error 1
root@test:~/sshguard-2.5.0#
root@test:~/sshguard-2.5.0# cat /etc/*release
NAME="OmniOS"
PRETTY_NAME="OmniOS Community Edition v11 r151052u"
CPE_NAME="cpe:/o:omniosce:omnios:11:151052:21"
ID=omnios
VERSION=r151052u
VERSION_ID=r151052u
BUILD_ID=151052.21.2025.03.27
HOME_URL="https://omnios.org/"
SUPPORT_URL="https://omnios.org/"
BUG_REPORT_URL="https://github.com/omniosorg/omnios-build/issues/new"
OmniOS v11 r151052u
Copyright (c) 2012-2017 OmniTI Computer Consulting, Inc.
Copyright (c) 2017-2025 OmniOS Community Edition (OmniOSce) Association.
All rights reserved. Use is subject to licence terms.
root@test:~/sshguard-2.5.0#
root@test:~/sshguard-2.5.0#
root@test:~/sshguard-2.5.0#
root@test:~/sshguard-2.5.0# uname -a
SunOS test 5.11 omnios-r151052-5ce47a2ab6 i86pc i386 i86pc
--
Best regards,
Aleksey Anisimov
|