warnings from backtrace

Gary E. Miller gem at rellim.com
Fri Jun 2 05:33:33 UTC 2017


Yo Hal!

On Thu, 01 Jun 2017 22:19:53 -0700
Hal Murray <hmurray at megapathdsl.net> wrote:

> What's different about my setup?

Beats me.

> > That means that catchTrap() was itself trapped.
> > Please run strace on it and send result.  Yet another syscall that
> > needs to be whitelisted.  Add that syscall to the whitelist and
> > you'll prolly work fine.   
> 
> 13335 22:05:33 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 13335 22:05:33 write(1, " 1 Jun 22:05:33 ntpd[13335]: dns"..., 68) =
> 68 13335 22:05:33 write(4, " 1 Jun 22:05:33 ntpd[13335]: dns"..., 68)
> = 68 13335 22:05:33 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) =
> 0 13335 22:05:33 mmap(NULL, 8392704, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f007e582000
> 13335 22:05:33 mprotect(0x7f007e582000, 4096, PROT_NONE) = 10
> 13335 22:05:33 --- SIGSYS {si_signo=SIGSYS, si_code=SYS_SECCOMP, 
> si_call_addr=0x7f007f4b0e97, si_syscall=__NR_mprotect, 
> si_arch=AUDIT_ARCH_X86_64} ---
> 13335 22:05:33 +++ killed by SIGSYS +++

Is mprotect the syscall you turned off?  

Are you sure that is the first SIGSYS?  The problem looks to me
like when I was getting double SIGSYS.

Can you send the ENTIRE strace?

> Looks like your signal handler didn't get installed.

I never created a signal handler, so no surprise it did not
get installed.

catchTrap() has been the signal handler since long before I looked
at it.  I just added a few lines inside catchTrap().  Mostly adding
more mysyslog() output.

Did you try my suggested test of removing recvfrom?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170601/981aa2e0/attachment.bin>


More information about the devel mailing list